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 Data: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
initial creation
 
Joe Beaudoin Jr. (talk | contribs)
m break between "Installment" & "Number"
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
| colspan="3" | [[Image:{{{image}}}|200px|{{{alt|{{{title}}}}}}]]
| colspan="3" | [[Image:{{{image}}}|200px|{{{alt|{{{title}}}}}}]]
|- style="text-align: center;"
|- style="text-align: center;"
! class="infoboxheader " colspan="3" |'''"{{{title}}}"'''<br />An [[:Category:Merchandise|album]] of {{#switch: {{{series|}}}
! class="infoboxheader " colspan="3" |'''"{{{title}}}"'''<br />a [[:Category:Merchandise|game]] of {{#switch: {{{series|}}}
| tos = the ''[[Battlestar Galactica (TOS)|the Original series]]
| tos = the ''[[Battlestar Galactica (TOS)|the Original series]]
| 1980 = the ''[[Galactica 1980|Galactica 1980 series]]
| 1980 = the ''[[Galactica 1980|Galactica 1980 series]]
Line 13: Line 13:
}}''
}}''
|- class="hiddenStructure{{{installmentno|}}}"
|- class="hiddenStructure{{{installmentno|}}}"
| style="white-space:nowrap;" | '''Installment Number'''
| style="white-space:nowrap;" | '''Installment<br/>Number'''
| colspan="2" | {{{installmentno}}}
| colspan="2" | {{{installmentno}}}
|- class="hiddenStructure{{{developer|}}}" valign="top"
|- class="hiddenStructure{{{developer|}}}" valign="top"
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]
|- class="hiddenStructure{{{stream|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} [{{{psn}}} StreamPowered Store]
|}
|}
</includeonly>
</includeonly>
Line 83: Line 89:
| prev=
| prev=
| next=
| next=
| links=
| amazon=
| amazon=
|official=
| official=
| msft=
| psn=
| stream=
}}
}}
</pre>
</pre>
Line 107: Line 117:
* '''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.
* '''stream:''' URL for Stream link.


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

Latest revision as of 14:18, 11 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=
| stream=
}}

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.
  • stream: URL for Stream link.