Template:EnglishArticle: Difference between revisions

From AbhiprayaVedi
No edit summary
No edit summary
Line 1: Line 1:
{{#displaytitle: {{{display_name|{{{title|No Title Provided}}}}}} }} <!-- Sets displayed title; falls back to page title if empty -->
{{#displaytitle: {{{display_name|{{{title|No Title Provided}}}}}}}}<!-- Must be first line, no space before it -->


<div class="article-header">
<div class="article-header">
'''{{{title|No Title Provided}}}'''<br>
'''{{{display_name|{{{title|No Title Provided}}}}}'''<br>
''By {{{author|Anonymous}}}''<br>
''By <span style="font-weight:bold; font-size:1.3em;">{{{author|Anonymous}}}</span>''<br>
''Published: {{{date|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}}''  
''Published: <span style="font-size:1.2em;">{{ #if: {{{date|}}} | {{{date}}} | {{CURRENTDAY}}-{{CURRENTMONTH}}-{{CURRENTYEAR}} }}'' </span>''
</div>
</div>


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


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


<!-- Highlight 2 (sidebar) -->
{{#if: {{{highlight2|}}} |  
{{#if: {{{highlight2|}}} | <div class="highlight-box">'''Additional Insight:''' {{{highlight2}}}</div> }}
<hr style="margin:12px 0; border:0; border-top:1px solid #aaa;">
<div style="padding:8px; background:#fff;">'''Additional Insight:''' {{{highlight2}}}</div>
}}
</div>
</div>
<!-- Intro (no wrapper to avoid blocks) -->
<!-- Intro (no wrapper to avoid blocks) -->
{{{intro|Placeholder: Add a brief 2-3 line introduction here.}}}
{{{intro|Placeholder: Add a brief 2-3 line introduction here.}}}
Line 28: Line 33:
{{#if: {{{image2|}}} | [[File:{{{image2}}}|300px|{{{image2_caption|Image 2}}} (Credit: {{{image2_credit|}}})]] }}
{{#if: {{{image2|}}} | [[File:{{{image2}}}|300px|{{{image2_caption|Image 2}}} (Credit: {{{image2_credit|}}})]] }}


== About the Author ==
{{#if: {{{author_bio|{{{translator|{{{source|}}}}}}}}} |
{{#if: {{{author_bio|}}} | {{{author_bio}}} | Placeholder: Add author bio or link to author page (e.g., [[Author:{{{author|}}}]]). }}
== About the Author / Source Attribution ==
 
{{{author_bio|}}}
== Source Attribution (for Translations) ==
{{#if: {{{translator|}}} | Translated by: {{{translator}}} <br> Original Source: {{{source|}}} (URL: {{{source_url|}}}) <br> Permission: {{{permission_note|}}} }}


[[Category:{{{category|Uncategorized}}}]] [[Category:English Articles]] [[Category:Recent Publications]]
{{#if: {{{translator|}}} |
Translated by: {{{translator}}} <br>
Original: {{{source|}}} ({{{source_url|}}}) <br>
Permission: {{{permission_note|}}}
}}
}}

Revision as of 13:02, 4 February 2026

{{#displaytitle: No Title Provided}}

{Template:Display name
By Anonymous
Published: 12-06-2026

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

Placeholder: Add the full article content here.