Template:EnglishArticle: Difference between revisions

From AbhiprayaVedi
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{{display_name|{{{title|No Title Provided}}}}}}}}
{{DISPLAYTITLE:{{{display_name|{{{title|No Title Provided}}}}}}}}
<div class="article-header" style="margin-bottom:6px; line-height:1.2; padding:0;">
 
'''{{{display_name|{{{title|No Title Provided}}}}}'''<br style="margin:0; padding:0; line-height:0.5;">
<div class="article-header">
<div class="article-title">
'''{{{display_name|{{{title|No Title Provided}}}}}'''
</div>
 
<div class="article-byline">
''By <span style="font-weight:bold; font-size:1.3em;">{{{author|Anonymous}}}</span>''  
''By <span style="font-weight:bold; font-size:1.3em;">{{{author|Anonymous}}}</span>''  
<span style="margin-left:8px; font-size:1.1em;">({{#if: {{{date|}}} | {{{date}}} | {{CURRENTDAY}}-{{CURRENTMONTH}}-{{CURRENTYEAR}} }})</span>
<span style="margin-left:10px;">({{#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>
<!-- Thumbnail larger -->
 
<!-- Sidebar -->
<div class="article-sidebar">
{{#if: {{{thumbnail|}}} |
{{#if: {{{thumbnail|}}} |
[[File:{{{thumbnail}}}|thumb|220px|center|{{{thumbnail_caption|Author Photo}}} <br><small>Credit: {{{thumbnail_credit|}}}</small>]]
[[File:{{{thumbnail}}}|thumb|220px|center|{{{thumbnail_caption|Author Photo}}} <br><small>Credit: {{{thumbnail_credit|}}}</small>]]
}}
}}


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


{{#if: {{{highlight2|}}} |  
{{#if: {{{highlight2|}}} |
<hr style="margin:12px 0; border:0; border-top:1px solid #aaa;">
<hr style="margin:12px 0;">
<div style="padding:8px; background:#fff;">'''Additional Insight:''' {{{highlight2}}}</div>
<div class="highlight-box">'''Additional Insight:''' {{{highlight2}}}</div>
}}
}}
</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 -->
<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>


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


<!-- Category (visible) -->
{{#if: {{{category|}}} |
<div class="article-category">
'''Category:''' {{{category}}}
</div>
}}


{{#if: {{{author_bio|{{{translator|{{{source|}}}}}}}}} |
{{#if: {{{author_bio|{{{translator|{{{source|}}}}}}}}} |

Revision as of 18:19, 25 May 2026


{Template:Display name

Placeholder: Add a brief 2-3 line introduction here.