Template:EnglishArticle: Difference between revisions

From AbhiprayaVedi
No edit summary
mNo edit summary
Tag: 2017 source edit
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{{display_name|{{{title|No Title Provided}}}}}} }}
<!--
<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="article-header" style="margin-bottom:8px; line-height:1.25;">
<div class="intro-box">
'''{{{display_name|{{{title|No Title Provided}}}}}'''<br style="line-height:0.8; margin:0; padding:0;">
{{{intro|Placeholder: Add a brief 2-3 line introduction here.}}}
''By <span style="font-weight:bold; font-size:1.3em;">{{{author|Anonymous}}}</span>''
<span style="margin-left:0.5em; font-size:1.1em;">({{#if: {{{date|}}} | {{{date}}} | {{CURRENTDAY}}-{{CURRENTMONTH}}-{{CURRENTYEAR}} }})</span>
</div>
</div>


<div class="article-sidebar" style="float:right; width:320px; border:1px solid #ccc; padding:12px; margin:0 0 15px 15px; background:#f9f9f9;">
<div class="article-sidebar">
<!-- Thumbnail larger -->
{{#if: {{{thumbnail|}}} | [[File:{{{thumbnail}}}|thumb|220px|center|{{{thumbnail_caption|}}}]] }}
{{#if: {{{thumbnail|}}} |
[[File:{{{thumbnail}}}|thumb|220px|center|{{{thumbnail_caption|Author Photo}}} <br><small>Credit: {{{thumbnail_credit|}}}</small>]]
}}


<!-- Highlights stacked with separator -->
{{#if: {{{highlight1|}}} |  
{{#if: {{{highlight1|}}} |  
<div style="margin:10px 0; padding:8px; border-left:4px solid #555; background:#fff;">'''Key Point:''' {{{highlight1}}}</div>
<div class="highlight-box">🔑 {{{highlight1}}}</div>  
}}
}}


{{#if: {{{highlight2|}}} |  
{{#if: {{{highlight2|}}} |  
<hr style="margin:12px 0; border:0; border-top:1px solid #aaa;">
<hr>
<div style="padding:8px; background:#fff;">'''Additional Insight:''' {{{highlight2}}}</div>
<div class="highlight-box">💡 {{{highlight2}}}</div>  
}}
}}
</div>
<!-- Intro (no wrapper to avoid blocks) -->
<div style="margin:20px 0; padding:15px; background:#f0f8ff; border-left:5px solid #4682b4; font-size:1.15em; line-height:1.5;">
{{{intro|Placeholder: Add a brief 2-3 line introduction here.}}}
</div>
</div>


<!-- Main Content (direct output for clean paragraphs) -->
<div class="article-content">
{{{content|Placeholder= |Add the full article content here.}}}


 
{{#if: {{{image1|}}} |
{{#if: {{{author_bio|{{{translator|{{{source|}}}}}}}}} |
<div class="article-image1">
== About the Author / Source Attribution ==
[[File:{{{image1}}}|left|300px|{{{image1_caption|}}}]]
{{{author_bio|}}}
<div class="image-caption">
 
{{{image1_caption|}}}
{{#if: {{{translator|}}} |  
{{#if: {{{image1_credit|}}} | <br><small>Credit: {{{image1_credit}}}</small> }}
Translated by: {{{translator}}} <br>
</div>
Original: {{{source|}}} ({{{source_url|}}}) <br>
</div>
Permission: {{{permission_note|}}}
}}
}}
}}
{{{content}}}
</div>


{{#if: {{{category|}}} |
<!-- Edit with Form -->
<span style="background:#e0e0e0; padding:4px 10px; border-radius:12px; font-size:0.9em; margin:10px 0; display:inline-block;">
{{#formlink:form=EnglishArticleSubmission|target={{FULLPAGENAME}}|link text=✏️ Edit with Form|link type=button}}
{{{category}}}
-->
</span>
}}

Latest revision as of 15:07, 5 June 2026

-->