This is the template sandbox page for Template:Vgclegend (diff). See also the companion subpage for test cases. |
This template creates a table of video game platforms. You can specify which platforms appear in the table, and how many columns the table is sorted into.
Usage
editThe template takes three named parameters and up to a maximum of 50 unnamed parameters. The named parameters col
and tot
represent the number of columns in the table and the total number of platforms to display, respectively. The unnamed parameters determine which platforms get displayed. Genre-specific items can be added to the legend by specifying the genre
parameter (for instance, genre=RPG
or genre=Strategy
). Setting the notes
parameter to no
causes the extended notes to be omitted.
If you specify too many columns (or a reader's browser width is too small), problems with table alignment can occur. Also, more than six columns will cause the template to cease functioning properly.
If you wish to achieve an alphabetical listing, you must list the platform codes in alphabetical order. Also, it might be a good idea to list platforms in alphabetical order within the articles themselves, as well. This is to resolve issues where one platform is given preference over another, or where accurate release info is unavailable, and makes further sorting (i.e. within a spreadsheet) more consistent and predictable.
Example
editThis code:
{{vgclegend|genre=RPG|col=3|tot=20|DC|DS|GBA|GBC|GCN|MOBI|N64|NGE|NN|PS1|PS2|PS3|PSN|PSP|VC|Wii|WS|WSC|X360|XBOX}}
Results in this:
|
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
|
Supported platforms
editA full list of supported platforms is as follows. Platforms are mostly limited to those having categories of their own somewhere beneath the Category:Video games by platform super-category. If a game was released on too many platforms to list, use "Various" instead.
See also
edit- Template:GamePlatformKey (backlinks edit)
- Template:GamePlatformKey2 (backlinks edit)
- Template:vgclegend/sub (backlinks edit) - used internally by this template.