Template:NewsArticle: Difference between revisions

From SoS Ledger
Created page with "{{subst:How to use}} <includeonly> == {{{title|Untitled News Article}}} == <div class="news-template"> <div class="news-header"> <span class="news-date">{{{date|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}}}}</span> <span class="news-author">{{#if:{{{author|}}}|By {{{author}}}}}</span> </div> <div class="news-body"> {{#if:{{{image|}}}|[[File:{{{image}}}|thumb|{{{image_caption|News Image}}}]]}} <p>{{{content|This is where the main news arti..."
 
No edit summary
Line 1: Line 1:
 
<noinclude>{| class="infobox" style="width: 100%; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0 0 1em 1em; padding: 0.2em;"
 
{| class="infobox" style="width: 100%; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0 0 1em 1em; padding: 0.2em;"
|+ <big>'''Template Usage'''</big>
|+ <big>'''Template Usage'''</big>
|-
|-
Line 8: Line 6:
| colspan="2" style="padding: 0.4em 0.6em;" |
| colspan="2" style="padding: 0.4em 0.6em;" |
<code><nowiki>
<code><nowiki>
<noinclude>{{{subst:Template Name}}}</noinclude>
{{subst:NewsArticle}}
</nowiki></code>
</nowiki></code>
|}
|}</noinclude>





Revision as of 20:53, 27 July 2025

Template Usage
To use this template effectively, please copy the code below and paste it where needed:

{{subst:NewsArticle}}