Difference between revisions of "Template:News/displayonly"

From PCGamingWiki, the wiki about fixing PC games
m (Andytizer moved page PCGamingWiki:News/row to PCGamingWiki:News/Table/row without leaving a redirect)
Line 6: Line 6:
 
-->{{#if:{{{Notes}}}|<span class="news_ref">&#91;{{Abbr|Notes|{{{Notes}}}}}&#93;</span>}}<!--
 
-->{{#if:{{{Notes}}}|<span class="news_ref">&#91;{{Abbr|Notes|{{{Notes}}}}}&#93;</span>}}<!--
 
-->{{#if:{{{Community}}}|<span class="news_ref">&#91;[{{{Community}}} Thread]&#93;</span>|}}<!--
 
-->{{#if:{{{Community}}}|<span class="news_ref">&#91;[{{{Community}}} Thread]&#93;</span>|}}<!--
--></li></includeonly>
+
--></li></includeonly><!--
 +
-->{{#cargo_declare:
 +
_table=News
 +
|Title=Wikitext string
 +
|Date=Datetime
 +
|Link1=URL
 +
|Link2=URL
 +
|Link3=URL
 +
|Notes=Wikitext string
 +
|Community=URL
 +
|Pinned=String
 +
}}</noinclude>
 +
<includeonly>{{#cargo_store:
 +
_table=News
 +
|Title={{{Title}}}
 +
|Date={{{Date}}}
 +
|Link1={{{Link1}}}
 +
|Link2={{{Link2}}}
 +
|Link3={{{Link3}}}
 +
|Notes={{{Notes}}}
 +
|Community={{{Community}}}
 +
|Pinned={{{Pinned}}}
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 19:12, 13 June 2020

This template defines the table "News". View table.

Documentation for the above template (sometimes hidden from view).