Template:EnglishArticle: Difference between revisions
From AbhiprayaVedi
No edit summary |
mNo edit summary Tag: 2017 source edit |
||
| (59 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | <!-- | ||
<noinclude> | |||
'''Template:EnglishArticle''' — Main template for English articles. | |||
[[Category:Article Templates]] | |||
</noinclude> | |||
<templatestyles src="Template:EnglishArticle/styles.css" /> | |||
{{DISPLAYTITLE:{{{display_name|No Title Provided}}}}} | |||
<div class="article-header"> | |||
<div class="article-byline"> | |||
<span class="author-name">{{{author|Anonymous}}}</span> | |||
<span class="meta-separator">•</span> | |||
<span class="article-date">{{#if: {{{date|}}} | {{{date}}} | {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</span> | |||
{{#if: {{{category|}}} | <span class="meta-separator">•</span><span class="article-meta-category">{{{category}}}</span> }} | |||
</div> | |||
</div> | |||
<div class=" | <div class="intro-box"> | ||
{{{intro|Placeholder: Add a brief 2-3 line introduction here.}}} | |||
</div> | </div> | ||
<div class="article-sidebar" | <div class="article-sidebar"> | ||
{{#if: {{{thumbnail|}}} | [[File:{{{thumbnail}}}|thumb|220px|center|{{{thumbnail_caption|}}}]] }} | |||
{{#if: {{{thumbnail|}}} | | |||
[[File:{{{thumbnail}}}|thumb|220px|center|{{{thumbnail_caption| | |||
}} | |||
{{#if: {{{highlight1|}}} | | {{#if: {{{highlight1|}}} | | ||
<div | <div class="highlight-box">🔑 {{{highlight1}}}</div> | ||
}} | }} | ||
{{#if: {{{highlight2|}}} | | {{#if: {{{highlight2|}}} | | ||
<hr | <hr> | ||
<div | <div class="highlight-box">💡 {{{highlight2}}}</div> | ||
}} | }} | ||
</div> | </div> | ||
< | <div class="article-content"> | ||
{{#if: {{{image1|}}} | | |||
<div class="article-image1"> | |||
[[File:{{{image1}}}|left|300px|{{{image1_caption|}}}]] | |||
<div class="image-caption"> | |||
{{{image1_caption|}}} | |||
{{#if: {{{image1_credit|}}} | <br><small>Credit: {{{image1_credit}}}</small> }} | |||
</div> | |||
</div> | |||
}} | |||
{{{content}}} | |||
</div> | |||
{{# | <!-- Edit with Form --> | ||
{{#formlink:form=EnglishArticleSubmission|target={{FULLPAGENAME}}|link text=✏️ Edit with Form|link type=button}} | |||
--> | |||
Latest revision as of 15:07, 5 June 2026
-->