{{{Content}}}
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
<div class="article-header"> | <div class="article-header"> | ||
<div class="article-meta"> | |||
<span class="meta-line"> | |||
{{#if:{{{Author|}}}|{{{Author}}}}} | |||
{{#if:{{{Author|}}}{{{Date|}}}|<span class="meta-sep">•</span>}} | |||
{{#if:{{{Date|}}}|{{{Date}}}}} | |||
</span> | |||
</div> | |||
</div> | </div> | ||
| Line 23: | Line 23: | ||
<div class="article-floatbox"> | <div class="article-floatbox"> | ||
{{#if:{{{Thumbnail|}}}| | |||
[[File:{{{Thumbnail}}}|thumb|right|160px|{{{Thumbnail_Caption|}}}]] | |||
}} | |||
{{#if:{{{Highlight1|}}}{{{Highlight2|}}}| | |||
<div class="article-highlights"> | |||
<h3>Highlights</h3> | |||
<ul> | |||
{{#if:{{{Highlight1|}}}|<li>{{{Highlight1}}}</li>}} | |||
{{#if:{{{Highlight2|}}}|<li>{{{Highlight2}}}</li>}} | |||
</ul> | |||
</div> | |||
}} | |||
</div> | </div> | ||
| Line 42: | Line 42: | ||
<div class="article-content"> | <div class="article-content"> | ||
{{#if:{{{Image1|}}}| | |||
[[File:{{{Image1}}}|thumb|left|300px|{{{Image1_Caption|}}}]] | |||
}} | |||
{{{Content}}} | |||
{{#if:{{{Image2|}}}| | |||
[[File:{{{Image2}}}|thumb|right|300px|{{{Image2_Caption|}}}]] | |||
}} | |||
</div> | </div> | ||
| Line 56: | Line 56: | ||
{{#if:{{{Translator|}}}{{{Source|}}}| | {{#if:{{{Translator|}}}{{{Source|}}}| | ||
<div class="article-source"> | <div class="article-source"> | ||
<h3>Source & Attribution</h3> | |||
{{#if:{{{Translator|}}}|<p><strong>Translator:</strong> {{{Translator}}}</p>}} | |||
{{#if:{{{Source|}}}|<p><strong>Original Source:</strong> {{{Source}}}</p>}} | |||
</div> | </div> | ||
}} | }} | ||
| Line 65: | Line 65: | ||
<hr class="author-divider"> | <hr class="author-divider"> | ||
<div class="article-author-bio"> | <div class="article-author-bio"> | ||
<h3>About the Author</h3> | |||
{{{Author_Bio}}} | |||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{Category|}}} | {{#if:{{{Category|}}} | ||
| [[Category:{{{Category}}}]] | |||
| [[Category:Uncategorized Articles]] | |||
}} | }} | ||
| Line 81: | Line 81: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Structured article layout template", | |||
"params": { | |||
"Display_Name": { | |||
"label": "Display Name", | |||
"description": "Title shown on the page", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Author": { "label": "Author", "type": "string" }, | |||
"Date": { "label": "Date", "type": "date" }, | |||
"Intro": { "label": "Introduction", "type": "string", "multiline": true }, | |||
"Thumbnail": { "label": "Thumbnail Image", "type": "wiki-file-name" }, | |||
"Thumbnail_Caption": { "label": "Thumbnail Caption", "type": "string" }, | |||
"Image1": { "label": "Main Image", "type": "wiki-file-name" }, | |||
"Image1_Caption": { "label": "Image Caption", "type": "string" }, | |||
"Highlight1": { "label": "Highlight 1", "type": "string" }, | |||
"Highlight2": { "label": "Highlight 2", "type": "string" }, | |||
"Content": { | |||
"label": "Article Content", | |||
"type": "string", | |||
"multiline": true, | |||
"required": true | |||
}, | |||
"Author_Bio": { "label": "About the Author", "type": "string", "multiline": true }, | |||
"Category": { "label": "Category", "type": "string" } | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
{{{Content}}}
<templatedata> { "description": "Structured article layout template", "params": { "Display_Name": { "label": "Display Name", "description": "Title shown on the page", "type": "string", "required": true }, "Author": { "label": "Author", "type": "string" }, "Date": { "label": "Date", "type": "date" }, "Intro": { "label": "Introduction", "type": "string", "multiline": true }, "Thumbnail": { "label": "Thumbnail Image", "type": "wiki-file-name" }, "Thumbnail_Caption": { "label": "Thumbnail Caption", "type": "string" }, "Image1": { "label": "Main Image", "type": "wiki-file-name" }, "Image1_Caption": { "label": "Image Caption", "type": "string" }, "Highlight1": { "label": "Highlight 1", "type": "string" }, "Highlight2": { "label": "Highlight 2", "type": "string" }, "Content": { "label": "Article Content", "type": "string", "multiline": true, "required": true }, "Author_Bio": { "label": "About the Author", "type": "string", "multiline": true }, "Category": { "label": "Category", "type": "string" } } } </templatedata>