Template:NewsArticle: Difference between revisions
From SoS Ledger
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| colspan="2" style="padding: 0.4em 0.6em;" | | | colspan="2" style="padding: 0.4em 0.6em;" | | ||
<code><nowiki> | <code><nowiki> | ||
{{subst:NewsArticle | {{subst:NewsArticle | ||
| title = News Title | | title = News Title | ||
| date = July 27, 2025 | | date = July 27, 2025 | ||
| author = Author's | | author = Author's Name | ||
| image = | | image = Relevant_Image.jpg | ||
| image_caption = Image | | image_caption = Image captions | ||
| content = | | content = Contents of news article | ||
| categories = News | | categories = News | ||
| tags = | | tags = enter, tags, here | ||
| source = Source | | source = Source, if any | ||
}} | }} | ||
</nowiki></code> | |||
|} | |||
== News Title == | |||
<div class="news-template"> | |||
<div class="news-header"> | |||
<span class="news-date">July 27, 2025</span> | |||
<span class="news-author">By Author's Name</span> | |||
</div> | |||
<div class="news-body"> | |||
[[File:Relevant_Picture.jpg|thumb|Image Captions]]{{!-- The image and caption will appear blank if no image is provided --}} | |||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |||
</p> | |||
</div> | |||
<div class="news-footer"> | |||
<small> | |||
Tags: sos, state 123, event, battle | |||
Source: Source (if any) | |||
</small> | |||
</div> | |||
</div> | |||
[[Category:News]] | |||
</noinclude> | </noinclude> | ||
Line 28: | Line 50: | ||
<div class="news-header"> | <div class="news-header"> | ||
<span class="news-date">{{{date|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}}}}</span> | <span class="news-date">{{{date|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}}}}</span> | ||
<span class="news-author"> | <span class="news-author">By {{{author}}}</span> | ||
</div> | </div> | ||
<div class="news-body"> | <div class="news-body"> | ||
[[File:{{{image}}}|thumb|{{{image_caption|News Image}}}]]{{!-- The image and caption will appear blank if no image is provided --}} | |||
<p>{{{content|This is where the main news article content goes. Replace this with your actual news text.}}} | <p>{{{content|This is where the main news article content goes. Replace this with your actual news text.}}} | ||
</p> | </p> | ||
Line 39: | Line 61: | ||
<div class="news-footer"> | <div class="news-footer"> | ||
<small> | <small> | ||
Tags: {{{tags}}} | |||
Source: {{{source}}} | |||
</small> | </small> | ||
</div> | </div> | ||
</div> | </div> | ||
[[Category:News]] |
Latest revision as of 21:12, 27 July 2025
To use this template effectively, please copy the code below and paste it where needed: | |
---|---|
|
News Title
[edit source]July 27, 2025
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.