Difference between revisions of "Template:GamePicsPortal"
From DoomWiki.org
(Allow custom region layout) |
m (Allow classes parameter) |
||
Line 1: | Line 1: | ||
− | <table class="toccolours gamepictable {{#switch:{{{type}}}|ntscpal=fourcol|usintl=threecol}}" cellpadding="4"> | + | <table class="toccolours gamepictable {{#switch:{{{type}}}|ntscpal=fourcol|usintl=threecol}} {{{classes|}}}" cellpadding="4"> |
<!-- Header --> | <!-- Header --> | ||
<tr> | <tr> | ||
Line 41: | Line 41: | ||
** {{c|intl}}: International region-free release scheme. Use the GamePicsIntl template to create rows under this layout scheme. | ** {{c|intl}}: International region-free release scheme. Use the GamePicsIntl template to create rows under this layout scheme. | ||
** {{c|custom}}: Use a custom row layout for special circumstances. If specified, you must also provide {{c|customhdr}} and {{c|numcols}}. | ** {{c|custom}}: Use a custom row layout for special circumstances. If specified, you must also provide {{c|customhdr}} and {{c|numcols}}. | ||
+ | * {{c|classes}}: Specify additional CSS class(es) for the table. | ||
* {{c|customhdr}}: Specify custom header rows with type {{c|custom}}. | * {{c|customhdr}}: Specify custom header rows with type {{c|custom}}. | ||
* {{c|numcols}}: Specify the number of columns present in the custom header. If omitted, the default of 2 will be assumed. | * {{c|numcols}}: Specify the number of columns present in the custom header. If omitted, the default of 2 will be assumed. |
Revision as of 11:21, 17 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, Template:GamePicsUSI, or Template:GamePicsIntl 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.
- intl: International region-free release scheme. Use the GamePicsIntl template to create rows under this layout scheme.
- custom: Use a custom row layout for special circumstances. If specified, you must also provide customhdr and numcols.
- classes: Specify additional CSS class(es) for the table.
- customhdr: Specify custom header rows with type custom.
- numcols: Specify the number of columns present in the custom header. If omitted, the default of 2 will be assumed.
- 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.