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 2: Line 2:
{{#template_params:title (label=Title)|developer (label=Developer)|publisher (label=Publisher)|artwork (label=Artwork)}}
{{#template_params:title (label=Title)|developer (label=Developer)|publisher (label=Publisher)|artwork (label=Artwork)}}
{{#cargo_declare:_table=games|title=String|developer=List (,) of Page|publisher=List (,) of Page|artwork=List (,) of File}}
{{#cargo_declare:_table=games|title=String|developer=List (,) of Page|publisher=List (,) of Page|artwork=List (,) of File}}
</noinclude><includeonly>{{#cargo_store:_table=games}}
</noinclude>
<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"/>
<data><label>Developer</label><default>{{#arraymap:{{{Developers|}}}|,|x|[[x]]|\s}}</default></data>
<data source="developer"><label>Developer</label></data>
<data source="publisher"><label>Publisher</label></data>
<data source="publisher"><label>Publisher</label></data>
</infobox>
</infobox>

Revision as of 04:25, 25 October 2025

This is the "Game" template.

It should be called in the following format:

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

Edit the page to see the template text.

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