Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Game: Difference between revisions

Template page
No edit summary
No edit summary
Line 3: Line 3:
{{#cargo_declare:_table=games|title=String|developer=List (,) of Page|publisher=List (,) of Page|artwork=List (,) of File|system=List (,) of Page}}
{{#cargo_declare:_table=games|title=String|developer=List (,) of Page|publisher=List (,) of Page|artwork=List (,) of File|system=List (,) of Page}}
</noinclude>
</noinclude>
<includeonly>{{#cargo_store:_table=games}}
<includeonly>{{#cargo_store:_table=games}}<infobox>
 
<infobox>
<title source="title"><default>{{PAGENAME}}</default></title>
<title source="title"><default>{{PAGENAME}}</default></title>
<image source="artwork"/>
<image source="artwork"/>
Line 14: Line 12:
<data source="system"><label>Systems</label><format>{{#arraymap:{{{system}}}|,|x|[[x]]}}</format>
<data source="system"><label>Systems</label><format>{{#arraymap:{{{system}}}|,|x|[[x]]}}</format>
</data>
</data>
</infobox>
</infobox>[[Category:Games]]</includeonly>
[[Category:Games]]
</includeonly>

Revision as of 22:09, 25 October 2025

This is the "Game" template.

It should be called in the following format:

{{Game
|title=
|developer=
|publisher=
|artwork=
|system=
}}

Edit the page to see the template text.

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