Jump to content

User:Masem/Video game table ext/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This is an extension of {{Video game table}} for listing out games in a video game series, but with a bit of added flexibility.

Full template syntax

[edit]
{{Video game table ext
| region1    = <title> or empty
| region2    = <title> or empty
| region3    = <title> or empty
| region4    = <title> or empty
| ratings    = <title> or empty
| body       = <items>

{{Video game table ext/item
| title      = <value>
| region1    = <value> or empty
| region2    = <value> or empty
| region3    = <value> or empty
| region4    = <value> or empty
| ratings    = <value> or empty
| notes      = <value> or empty
}}

}}

In the main {{Video game table ext}} template, {{{region1}}} {{{region2}}} {{{region3}}} and {{{region4}}} refer up to 4 regions. A region column is include if defined, otherwise this is not included by default. The value given will appear in the header of the column. There are no default names to allow for flexibility. {{{ratings}}} allows for an additional column to appear for summarizing the games' ratings as from Metacritic or similar. This needs to be defined to appear, and the value given will appear in the header.

The {{{body}}} parameter should then include sequential calls to the {{Video game table ext/item}} for each game. {{{title}}} is the video game title. {{{region1}}} {{{region2}}} {{{region3}}} and {{{region4}}} refer to the same regions as defined in the main call. All regions used in the main call of this template must be called for each item, even if the game did not release in that region, but use of a template like {{na}} would be appropriate for these. Similarly {{{ratings}}} allows for the games ratings to be added and must be used if it was called from the main template. {{{notes}}} allows for additional notes to be made but is not required.

Example usage

[edit]
{{Video game table ext
| region1 = North Amercia
| region2 = PAL
| region3 = Worldwide
| ratings = Ratings
| body = 
{{Video game table ext/item
| title = [[Far Cry (video game)|Far Cry]]
| region1 = March 23, 2004
| region2 = March 26, 2004
| region3 = {{n/a}}
| ratings = PC: 89
| notes = Takes place in a tropical island setting.<br/>Later released in 2014 for the PlayStation 4 and Xbox One
}}
{{Video game table ext/item
| title = [[Far Cry 2]]
| region1 = October 21, 2008
| region2 = October 24, 2008
| region3 = {{n/a}}
| ratings = PC: 85<br/>PS3: 85<br/>X360: 85
| notes = Takes place in a fictional African country
}}
{{Video game table ext/item
| title = [[Far Cry 3]]
| region1 = December 4, 2012
| region2 = November 30, 2012
| region3 = {{n/a}}
| ratings = PC: 88<br/>PS3: 90<br/>X360: 91
| notes = Takes place in a tropical archepeligo
}}
{{Video game table ext/item
| title = [[Far Cry 4]]
| region1 = {{n/a}}
| region2 = {{n/a}}
| region3 = November 18, 2014
| ratings = PC: 80<br/>PS4: 85<br/>XONE: 82
| notes = Takes place in a fictional mountainous Asian country
}}
{{Video game table ext/item
| title = [[Far Cry 5]]
| region1 = {{n/a}}
| region2 = {{n/a}}
| region3 = March 27, 2018
| ratings = PC: 78<br/>PS3: 81<br/>X360: 82
| notes = Takes place in a fictional county in Montana
}}
}}
Title Original release date Ratings
North Amercia PAL Worldwide
Far Cry March 23, 2004 March 26, 2004 PC: 89
Notes:

Takes place in a tropical island setting.
Later released in 2014 for the PlayStation 4 and Xbox One

Far Cry 2 October 21, 2008 October 24, 2008 PC: 85
PS3: 85
X360: 85
Notes:

Takes place in a fictional African country

Far Cry 3 December 4, 2012 November 30, 2012 PC: 88
PS3: 90
X360: 91
Notes:

Takes place in a tropical archepeligo

Far Cry 4 November 18, 2014 PC: 80
PS4: 85
XONE: 82
Notes:

Takes place in a fictional mountainous Asian country

Far Cry 5 March 27, 2018 PC: 78
PS3: 81
X360: 82
Notes:

Takes place in a fictional county in Montana