Difference between revisions of "Template:GamePicsPortal"

From DoomWiki.org

m (OK I need four rows :P)
(Allow NavbarTools in header)
Line 2: Line 2:
 
<!-- Header -->
 
<!-- Header -->
 
<tr>
 
<tr>
<th colspan="{{#switch:{{{type}}}|ntscpal=4|usintl=3|2}}">Part of the image series for [[{{{game}}}|{{{gamedesc|{{{game}}}}}}]]</th>
+
<th colspan="{{#switch:{{{type}}}|ntscpal=4|usintl=3|2}}">Part of the image series for [[{{{game}}}|{{{gamedesc|{{{game}}}}}}]]{{#if:{{{subtemplate|}}}|{{NavbarTools|title={{{subtemplate}}}}}|}}</th>
 
</tr>
 
</tr>
 
<!-- Column headers -->
 
<!-- Column headers -->
Line 32: Line 32:
 
* {{c|game}}: Name of the primary mainspace article for this game.
 
* {{c|game}}: Name of the primary mainspace article for this game.
 
* {{c|gamedesc}}: Optional. If provided, this is used as link text for the link to the {{c|game}} article.
 
* {{c|gamedesc}}: Optional. If provided, this is used as link text for the link to the {{c|game}} article.
 +
* {{c|subtemplate}}: Optional but strongly suggested. Name of concrete instance of this template, for instantiation of [[Template:NavbarTools]].
 
* {{c|type}}: Selector for the regional division layout of the table. This may currently be one of the following values:
 
* {{c|type}}: Selector for the regional division layout of the table. This may currently be one of the following values:
 
** {{c|ntscpal}}: Classic 1990s release scheme typical for console games: NTSC, PAL, Japan. Use the GamePicsNPJ template to create rows under this layout scheme.
 
** {{c|ntscpal}}: Classic 1990s release scheme typical for console games: NTSC, PAL, Japan. Use the GamePicsNPJ template to create rows under this layout scheme.

Revision as of 18:02, 13 January 2015

Part of the image series for [[{{{game}}}|{{{game}}}]]
Releases

Usage

Create a portal linking between various physical photographs or scans of a commercial game release or official source port.

Use along with Template:GamePicsNPJ or Template:GamePicsUSI to create (currently) up to four rows of pictures with the appropriate regional division selected by the type parameter detailed below.

Arguments:

  • game: Name of the primary mainspace article for this game.
  • gamedesc: Optional. If provided, this is used as link text for the link to the game article.
  • subtemplate: Optional but strongly suggested. Name of concrete instance of this template, for instantiation of Template:NavbarTools.
  • type: Selector for the regional division layout of the table. This may currently be one of the following values:
    • ntscpal: Classic 1990s release scheme typical for console games: NTSC, PAL, Japan. Use the GamePicsNPJ template to create rows under this layout scheme.
    • usintl: US/International two-region release scheme. Use the GamePicsUSI template to create rows under this layout scheme.
  • row1: Optional, first row of the table. This should be a transclusion of an appropriate row template, with its arguments fully specified.
  • row2: Optional, second row of the table.
  • row3: Optional, third row of the table.
  • row4: Optional, fourth row of the table.