Template:EnglishArticle: Difference between revisions
From AbhiprayaVedi
mNo edit summary Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
| (23 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | |||
<noinclude> | <noinclude> | ||
'''Template:EnglishArticle''' — Main template for English | '''Template:EnglishArticle''' — Main template for English articles. | ||
[[Category:Article Templates]] | [[Category:Article Templates]] | ||
</noinclude> | </noinclude> | ||
<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-header"><div class="article-byline"> | <div class="article-byline"> | ||
<span class="author-name">{{{author|Anonymous}}}</span> | |||
<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> | |||
{{#if: {{{ | |||
{{#if: {{{ | |||
</div> | </div> | ||
| Line 23: | Line 19: | ||
</div> | </div> | ||
<div class="article- | <div class="article-sidebar"> | ||
{{#if: {{{thumbnail|}}} | [[File:{{{thumbnail}}}|thumb|220px|center|{{{thumbnail_caption|}}}]] }} | |||
{{#if: {{{highlight1|}}} | | |||
{{#if: {{{ | <div class="highlight-box">🔑 {{{highlight1}}}</div> | ||
}} | }} | ||
{{#if: {{{highlight2|}}} | | |||
<hr> | |||
<div class="highlight-box">💡 {{{highlight2}}}</div> | |||
{{#if: {{{ | |||
< | |||
< | |||
}} | }} | ||
</div> | </div> | ||
<div class="article-content"> | |||
{{#if: {{{ | {{#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 | <!-- Edit with Form --> | ||
{{#formlink:form=EnglishArticleSubmission | {{#formlink:form=EnglishArticleSubmission|target={{FULLPAGENAME}}|link text=✏️ Edit with Form|link type=button}} | ||
|target={{FULLPAGENAME}} | --> | ||
|link text=✏️ Edit with Form | |||
|link type=button | |||
}} | |||
Latest revision as of 15:07, 5 June 2026
-->