Template:Game: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#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)|platform (label=Platform)}} | ||
{{#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|platform=List (,) of Page}} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#cargo_store:_table=games}}<infobox> | <includeonly>{{#cargo_store:_table=games}}<infobox> | ||
| Line 10: | Line 10: | ||
</data> | </data> | ||
<data source="publisher"><label>Publisher</label><format>{{#arraymap:{{{publisher}}}|,|x|[[x]]}}</format></data> | <data source="publisher"><label>Publisher</label><format>{{#arraymap:{{{publisher}}}|,|x|[[x]]}}</format></data> | ||
<data source=" | <data source="platform"><label>Platforms</label><format>{{#arraymap:{{{platform}}}|,|x|[[x]]}}</format> | ||
</data> | </data> | ||
</infobox>[[Category:Games]]</includeonly> | </infobox>[[Category:Games]]</includeonly> | ||
Revision as of 17:49, 26 October 2025
This is the "Game" template.
It should be called in the following format:
{{Game
|title=
|developer=
|publisher=
|artwork=
|platform=
}}
Edit the page to see the template text.
This template defines the table "games". View table.