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