Template:EnglishArticle: Difference between revisions
From AbhiprayaVedi
Created page with "{{#displaytitle: {{{display_name|{{{title|}}}}} }} <!-- Sets displayed title; falls back to page title if empty --> <div class="article-header"> '''{{{title|No Title Provided}}}'''<br> ''By {{{author|Anonymous}}}''<br> ''Published: {{{date|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}'' </div> <div class="article-sidebar" style="float:right; width:300px; border:1px solid #ccc; padding:10px; margin:10px;"> <!-- Thumbnail (author photo) --> {{#if: {{{thumbnail|}}} |..." |
mNo edit summary Tag: 2017 source edit |
||
| (67 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-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> | ||
<div class=" | <div class="intro-box"> | ||
{{{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|}}} | | |||
{{#if: {{{ | <hr> | ||
<div class="highlight-box">💡 {{{highlight2}}}</div> | |||
}} | |||
</div> | |||
= | <div class="article-content"> | ||
{{#if: {{{image1|}}} | | |||
{{#if: {{{ | <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
-->