Template:NewsArticle: Difference between revisions
No edit summary |
No edit summary |
||
(7 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 Name | | 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 40: | Line 61: | ||
<div class="news-footer"> | <div class="news-footer"> | ||
<small> | <small> | ||
Tags: {{{tags}}} | |||
Tags: {{{tags}}} | |||
Source: {{{source}}} | Source: {{{source}}} | ||
</small> | </small> | ||
Line 47: | Line 67: | ||
</div> | </div> | ||
[[Category:News]] | |||