mNo edit summary |
mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="NewsArticle.css" /> | |||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=News | {{#cargo_declare:_table=News | ||
|image=File | |image=File | ||
|image_alt=String | |image_alt=String | ||
Line 9: | Line 7: | ||
|targets=List (,) of Page | |targets=List (,) of Page | ||
|date=Datetime | |date=Datetime | ||
|author = Page | |author = Page | ||
|category=List (,) of String | |category= List (,) of String (hierarchy; allowed values= | ||
|game=List (,) of String | *Transfer Market | ||
*Drama | |||
*Business | |||
**Companies | |||
**Hires | |||
**Investments | |||
**Mergers and Acquisitions | |||
**Sponsorships | |||
*More | |||
) | |||
|game=List (,) of String (hierarchy; allowed values= | |||
*Age of Empires | |||
*Apex Legends | |||
*Brawl Stars | |||
*Call of Duty | |||
*Counter Strike | |||
*Dota 2 | |||
*FIFA | |||
*Fortnite | |||
*Hearthstone | |||
*League of Legends | |||
*Mobile Legends | |||
*NBA 2K | |||
*Overwatch | |||
*PUBG | |||
*PUBG Mobile | |||
*Rainbow Six | |||
*Rocket League | |||
*Smash | |||
*Starcraft II | |||
*Valorant | |||
*Warcraft III | |||
*World of Warcraft | |||
*Wild Rift | |||
) | |||
|content=Text}} | |content=Text}} | ||
</noinclude><includeonly>{{DISPLAYTITLE: {{{seo_title|}}} }}{{#if: {{{stub|}}} | {{Stub|type=News|comment={{{stub}}} }} }}{{#cargo_store:_table=News | </noinclude><includeonly>{{DISPLAYTITLE: {{{seo_title|}}} }}{{#if: {{{stub|}}} | {{Stub|type=News|comment={{{stub}}} }} }}{{#cargo_store:_table=News | ||
|image={{{image|}}} | |||
|image_alt={{{alt|}}} | |||
|tags={{{tags|}}} | |||
|targets={{{target|}}} | |targets={{{target|}}} | ||
| | |date={{{date|}}} | ||
|author={{{author|}}} | |||
|category={{{category|}}} | |||
|game={{{game|}}} | |||
|content={{{content|}}} | |||
}}{{#seo: | }}{{#seo: | ||
|title={{{seo_title|}}} | |title={{{seo_title|}}} | ||
Line 33: | Line 71: | ||
}} | }} | ||
{{NewsNav}} | {{NewsNav}} | ||
<div class="news__grid"> | |||
[[{{{author|}}}]] {{#time: d F Y H:i | {{{date|}}} }} | <div> | ||
Written by [[{{{author|}}}]] on {{#time: d F Y H:i | {{{date|}}} }} | |||
{{#if: {{{image|}}} | [[File:{{{image|}}}|800x600px|link=]] }} | {{#if: {{{image|}}} | <div class="resp-img">[[File:{{{image|}}}|800x600px|link=]]</div> }} | ||
{{#if: {{{image|}}} | {{FileDescription|{{{image|}}}}} }} | {{#if: {{{image|}}} | {{FileDescription|{{{image|}}}}} }} | ||
{{{content|}}} | {{{content|}}} | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
{{#if: {{{tags|}}} | '''Tags:''' {{#arraymap: {{{tags|}}}|,|x|<span class="plainlinks">[{{SERVER}}/ | {{#if: {{{tags|}}} | '''Tags:''' {{#arraymap: {{{tags|}}}|,|x|<span class="plainlinks">[{{SERVER}}/News/Search?tag={{urlencode: x}} x]</span>|\s }} }} | ||
{{#if: {{{sources|}}} | | {{#if: {{{sources|}}} | | ||
Line 54: | Line 95: | ||
{{#arraymap: {{{category|}}}|,|x|<li style="">[[News/x|x]]</li>|\s }} | {{#arraymap: {{{category|}}}|,|x|<li style="">[[News/x|x]]</li>|\s }} | ||
</ul> | </ul> | ||
</div> | |||
</div> | |||
<div> | |||
{{RelatedNews|tags={{{tags|}}} |categories={{{category|}}} }} | |||
</div> | |||
</div> | </div> | ||
[[Category:News]] | [[Category:News]] | ||
</includeonly> | </includeonly> |
Latest revision as of 17:41, 29 April 2024
This template defines the table "News". View table.