Template:Game Data: Difference between revisions

Template page
m (album --> game)
m (link section)
Line 52: Line 52:
|style="width: 33%;" | {{{title}}}
|style="width: 33%;" | {{{title}}}
|style="width: 33%;" | {{{next}}}
|style="width: 33%;" | {{{next}}}
|- class="hiddenStructure{{{amazon|}}}"  
|- class="hiddenStructure{{{links|}}}"  
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Related Links'''
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Related Links'''
|- class="hiddenStructure{{{amazon|}}}"  
|- class="hiddenStructure{{{amazon|}}}"  
Line 58: Line 58:
|- class="hiddenStructure{{{official|}}}"  
|- class="hiddenStructure{{{official|}}}"  
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} [{{{official}}} Official Site]  
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} [{{{official}}} Official Site]  
|- class="hiddenStructure{{{msft|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} [{{{msft}}} Microsoft Store]
|- class="hiddenStructure{{{psn|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} [{{{psn}}} PlayStation Network Store]
|}
|}
</includeonly>
</includeonly>
Line 83: Line 87:
| prev=
| prev=
| next=
| next=
| links=
| amazon=
| amazon=
| official=
| official=
| msft=
| psn=
}}
}}
</pre>
</pre>
Line 107: Line 114:
* '''game''': Type of media for the game, e.g. "Board Game," "Video Game," et al.
* '''game''': Type of media for the game, e.g. "Board Game," "Video Game," et al.
* '''released''': In [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked.
* '''released''': In [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked.
===Link paramaters===
* '''links:''' "Y" for links. '''REQUIRED'''.
* '''amazon:''' The unique Amazon.com number.
* '''amazon:''' The unique Amazon.com number.
* '''official:''' URL of the official site, beginning with either http:// or https://.
* '''official:''' URL of the official site, beginning with either http:// or https://.
* '''msft:''' URL for Microsoft app link.
* '''psn:''' URL for PlayStation Network (PSN) app link.


[[Category:Infobox|Game]]
[[Category:Infobox|Game]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 23:16, 10 August 2019


Documentation

This template is used on Battlestar Wiki article pages that deal with games of all types (analog and digital). It provides lowercase parameters only.

Usage

{{Game Data
| image=
| alt= 
| title=
| series=
| installmentno=
| developer=
| publisher=
| director=
| writer=
| composer=
| platform=
| genre=
| game=
| released=
| prev=
| next=
| links=
| amazon=
| official=
| msft=
| psn=
}}

Required parameters

  • title: The title.
  • prev: Previous item in the series. Please wikify.
  • next: Next item in the series. Please wikify.

Optional parameters

  • image: Just the filename of the image, excluding "File:" or "Image:" prefixes.
  • alt: Alternate Text to show for the image.
  • series: Insert three letter code. Default is rdm.
    • tos, 1980, caprica, none, and mix.
  • installationno: Number in which this game falls in the chronology.
  • developer: Developer of the game. Can wikify.
  • publisher: Publisher of the game. Can wikify.
  • writer: Writer(s) of the game. Can wikify.
  • composer: Composer(s) for the music in the game. Can wikify.
  • platform: Platforms that the game was released for. Typically used for digital game versions.
  • genre: Type of game, e.g. "Strategy Game," "Turn-Based," etc. Can be multiple different types.
  • game: Type of media for the game, e.g. "Board Game," "Video Game," et al.
  • released: In ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked.

Link paramaters

  • links: "Y" for links. REQUIRED.
  • amazon: The unique Amazon.com number.
  • official: URL of the official site, beginning with either http:// or https://.
  • msft: URL for Microsoft app link.
  • psn: URL for PlayStation Network (PSN) app link.