Template:Vginfobox/doc: Difference between revisions

Template page
(Changed i.e. to e.g.)
(→‎Example: Make the example a little simpler)
 
(20 intermediate revisions by the same user not shown)
Line 4: Line 4:


== Parameters ==
== Parameters ==
The following are the only valid parameters accepted by this template. Required entries are in bold.
The following are the only valid parameters accepted by this template ('''required entries are in bold'''):
Some parameters are tags also need some rules, listed below:
* '''''|image =''''' must have the box cover art at the standard size of 300px. Syntax to be used is <code><nowiki>[[File:{{#setmainimage:filename.ext‎}}|300px]]</nowiki></code>. Cover preference order would be: US NTSC, UK PAL, Other PAL, JP, Other.
<!-- * '''''|image =''''' must have the box cover art at the standard size of 300px. Syntax to be used is <code><nowiki>[[File:filename.ext‎|300px]]</nowiki></code>. Cover preference order would be: US NTSC, UK PAL, Other PAL, JP, Other. -->
* '''''|developer =''''' must include only the developer of PS3 version (for example, the PlayStation Vita version of [[God of War: Collection]] was developed by Sanzaru Games, but the PlayStation 3 version was developed by Bluepoint Games, so in this case only Bluepoint Games should be included). If developers differ amongst different regions, the [[Template:vgregion|vgregion template]] may be used to accurately cover the same.
* '''''|developer =''''' must include only the developer of PS3 version (for example, the PlayStation Vita version of [[God of War Collection]] was developed by Sanzaru Games, but the PlayStation 3 version was developed by Bluepoint Games, so in this case only Bluepoint Games should be included). If developers differ amongst different regions, the [[Template:vgregion|vgregion template]] may be used to accurately cover the same.
* '''''|publisher =''''' and '''''|date =''''' must use the [[Template:vgregion|vgregion template]] (for example, the publisher tag in [[Demon's Souls]] uses <code><nowiki>{{vgregion|JP=Sony Computer Entertainment|NA=Atlus USA|AU/EU|Bandai Namco Games}}</nowiki></code> and date tag in [[Catherine]] uses <code><nowiki>{{vgregion|JP=February 17, 2011|NA=July 26, 2011|EU=February 10, 2012|AU=February 23, 2012}}</nowiki></code>). For the date parameter, the regions should be in chronological order. Both parameters should only include publishers and release dates relating to the PS3 version.
* '''''|publisher =''''' and '''''|date =''''' must use the [[Template:vgregion|vgregion template]] (for example the publisher tag in [[Demon's Souls]] uses <code><nowiki>{{vgregion|JP=Sony Computer Entertainment|NA=Atlus USA|AU/EU|Namco Bandai Games}}</nowiki></code> and date tag in [[Catherine]] uses <code><nowiki>{{vgregion|JP=February 17, 2011|NA=July 26, 2011|EU=February 10, 2012|AU=February 23, 2012}}</nowiki></code>). For the date parameter, the regions should be in chronological order and must include only the publishers and release dates relating to the PS3 version.
* ''|series ='' should be included for games that are part of a series with more than one title on PlayStation 3. If a game does not have any other titles from the series on PlayStation 3, do not include this parameter. For example, [[Red Dead Redemption]] is part of the "Red Dead" series but no other game from the series is on PlayStation 3. Hence, this parameter shall not be included in its game page.
* ''|series ='' should be included for games that are part of a series with more than one title on PlayStation 3. If a game does not have any other titles from the series on PlayStation 3, do not include this parameter. For example, [[Red Dead Redemption]] is part of the "Red Dead" series but no other game from the series is on PlayStation 3. Hence, this parameter shall not be included in its game page.
* '''''|release =''''' should be used to highlight the exclusivity of a game. Ignore PS Now when deciding the release status in this parameter. Do note, the options for this parameter are '''CASE SENSITIVE'''. Only choose '''ONE''' of the following options:
* '''''|release =''''' should be used to highlight the exclusivity of a game. Ignore PS Now when deciding the release status in this parameter. Do note, the options for this parameter are '''CASE SENSITIVE'''. Only choose '''ONE''' of the following options:
Line 16: Line 15:
** ''Multi-platform'' - Available on Playstation 3 and various other platforms including PC
** ''Multi-platform'' - Available on Playstation 3 and various other platforms including PC
* '''''|genre =''''' can be taken directly from Wikipedia but genres combining 2 or more distinct genres need to be split to prevent excessive genres from being created (e.g. "Action-adventure" should be split into "Action" and "Adventure"). Also, only list the "genre", not "genre game" (e.g. "Action" instead of "Action game"). Should be plain text, and not contain wiki/html markup. Use spelling and capitalization from [[:Category:Genres|Genres]].
* '''''|genre =''''' can be taken directly from Wikipedia but genres combining 2 or more distinct genres need to be split to prevent excessive genres from being created (e.g. "Action-adventure" should be split into "Action" and "Adventure"). Also, only list the "genre", not "genre game" (e.g. "Action" instead of "Action game"). Should be plain text, and not contain wiki/html markup. Use spelling and capitalization from [[:Category:Genres|Genres]].
* '''''|modes =''''' should be used for the different game modes available in a game. The inputs accepted by this parameter are - Single-player, Multiplayer, Co-op, Online (inputs are case sensitive).
* '''''|modes =''''' should be used to capture the different game modes available in a game. Do note, the options for this parameter are '''CASE SENSITIVE'''. You may choose one or more of the following options:
** ''Single-player'' - Allows a single player to play story-mode, arcade mode, etc. offline
** ''Co-op'' - Allows 2 or more players to play offline on a single console either through split-screen or a shared screen
** ''Multiplayer'' - Allows 2 or more players across different consoles to play using LAN or Online
* '''''|gameid =''''' must use the [[Template:gameid|gameid template]] (for example, [[Demon's Souls]] uses <code><nowiki>{{gameid|id=BLES00932, BLUS30443, NPEB01202, NPUB30910|ird=Yes}}</nowiki></code>).
* '''''|gameid =''''' must use the [[Template:gameid|gameid template]] (for example, [[Demon's Souls]] uses <code><nowiki>{{gameid|id=BLES00932, BLUS30443, NPEB01202, NPUB30910|ird=Yes}}</nowiki></code>).
* ''|wikipedia ='' should be used only when the automatic link does not work - see [[Catherine]]
* ''|wikipedia ='' by default, the infobox will automatically generate links to Wikipedia based on the page name. However, where the automatic link does not work, this parameter should be used as below:
* ''|title ='' should be used only in exceptional cases where title of the game differs significantly from the page title such that the links to the compatibility list and github in the "see also..." category break - see [[Find a game]]
** ''URL'' - where the game name and Wikipedia page name are different, the correct URL for the Wikipedia page should be entered (for example, the wikipedia parameter in [[Catherine]] uses <code><nowiki>https://en.wikipedia.org/wiki/Catherine_(video_game)</nowiki></code>)
** ''NA'' - in the rare case where no wikipedia page exists for this game (see [[Find a game that does this]])
: <u>Warning</u> - this parameter should '''ONLY''' be used when the automatic link does not work or a wikipedia page for the game does not exist.
* ''|vndb ='' should be used when the game has a dedicated game page on [https://vndb.org/ VNDB]. The full URL for the page should be entered in this parameter (for example, the vndb parameter in [[Ar nosurge: Ode to an Unborn Star]] uses <code><nowiki>https://vndb.org/v15062</nowiki></code>).
* ''|title ='' should be used only in exceptional cases where the capitalisation of the title of the game differs from the page title (see [[FlOw|flOw]]). The title mentioned in this parameter will also be used for the links to the compatibility list and github issue tracker.


== Example ==
== Example ==
'''[[Demon's Souls]]''' uses the following syntax:
'''[[Demon's Souls]]''' uses the following syntax:
<pre>{{vginfobox
<pre>{{vginfobox
|developer = FromSoftware
|image              = [[File:{{#setmainimage:DeS PS3.jpg}}|300px]]
|publisher = {{vgregion|JP=Sony Computer Entertainment|NA=Atlus USA|AU/EU|Namco Bandai Games}}
|developer           = FromSoftware
|series   = Souls
|publisher           = {{vgregion|JP=Sony Computer Entertainment|NA=Atlus USA|AU/EU|Bandai Namco Games}}
|date     = {{vgregion|JP=February 5, 2009|NA=October 6, 2009|AU=June 23, 2010}}{{vgregion|EU=June 25, 2010}}
|series             = Souls
|release   = PlayStation 3 exclusive
|date               = {{vgregion|JP=February 5, 2009|NA=October 6, 2009|AU=June 23, 2010}}{{vgregion|EU=June 25, 2010}}
|genre     = Action, Role-playing
|release             = PlayStation 3 exclusive
|modes     = Single-player, Multiplayer
|genre               = Action, Role-playing
|gameid   = {{gameid|id=BLES00932, BLUS30443, NPEB01202, NPUB30910|ird=Yes}}
|modes               = Single-player, Multiplayer
|gameid             = {{gameid|id=BLES00932, BLUS30443, BCJS30022, NPEB01202, NPUB30910, NPJA00102|oid=BCAS20071|ird=Yes}}
|internal resolution = 1280x720
}}</pre>
}}</pre>


Line 48: Line 56:


== Attribution and re-use ==
== Attribution and re-use ==
The following templates have been adapted from [https://wiki.dolphin-emu.org/index.php?title=Main_Page Dolphin Emulator Wiki] released under the [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 License]:
This template (along with its [[Template:Vginfobox/doc|documentation template]]) has been adapted from [https://wiki.dolphin-emu.org/index.php?title=Template:Infobox_VG Dolphin Emulator Wiki] released under the [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 License].
* [[Template:!!|!! template]]
* [[Template:1x|1x template]]
* [[Template:Alternating rows table section|alternating rows table section template]]
* [[Template:Issue|issue template]]
* [[Template:Nowrap|nowrap template]]
* [[Template:Pr|pull request template]]
* [[Template:Vginfobox|vginfobox template]] along with its [[Template:Vginfobox/doc|documentation template]]
* [[Template:Vgregion|vgregion template]] along with its [[Template:Vgregion/doc|documentation template]]
* [[Template:Void|void template]]
[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 07:54, 28 July 2023

This template is used on all game pages. When creating a new page, the infobox should be fleshed out with as much information as possible. Most of the general information can be taken directly from wikipedia with minimal fuss, except for images, Wikipedia's cover images are too small to use here. Certain parameters in this template should be used with other templates to display the information effectively (as explained below). For additional guidance, read the documentation present in the respective templates linked.

The template will link or auto-generate categories based on the inputs provided, as well as various maintenance and error tracking categories for incorrect formatting.

Parameters

The following are the only valid parameters accepted by this template (required entries are in bold):

  • |image = must have the box cover art at the standard size of 300px. Syntax to be used is [[File:{{#setmainimage:filename.ext‎}}|300px]]. Cover preference order would be: US NTSC, UK PAL, Other PAL, JP, Other.
  • |developer = must include only the developer of PS3 version (for example, the PlayStation Vita version of God of War: Collection was developed by Sanzaru Games, but the PlayStation 3 version was developed by Bluepoint Games, so in this case only Bluepoint Games should be included). If developers differ amongst different regions, the vgregion template may be used to accurately cover the same.
  • |publisher = and |date = must use the vgregion template (for example, the publisher tag in Demon's Souls uses {{vgregion|JP=Sony Computer Entertainment|NA=Atlus USA|AU/EU|Bandai Namco Games}} and date tag in Catherine uses {{vgregion|JP=February 17, 2011|NA=July 26, 2011|EU=February 10, 2012|AU=February 23, 2012}}). For the date parameter, the regions should be in chronological order. Both parameters should only include publishers and release dates relating to the PS3 version.
  • |series = should be included for games that are part of a series with more than one title on PlayStation 3. If a game does not have any other titles from the series on PlayStation 3, do not include this parameter. For example, Red Dead Redemption is part of the "Red Dead" series but no other game from the series is on PlayStation 3. Hence, this parameter shall not be included in its game page.
  • |release = should be used to highlight the exclusivity of a game. Ignore PS Now when deciding the release status in this parameter. Do note, the options for this parameter are CASE SENSITIVE. Only choose ONE of the following options:
    • PlayStation 3 exclusive - Available ONLY on PlayStation 3
    • PlayStation exclusive - Available on PlayStation 3 and other PlayStation consoles
    • Console exclusive - Available on Playstation 3 and other consoles (such as XBox or Wii) but NOT available on PC
    • Multi-platform - Available on Playstation 3 and various other platforms including PC
  • |genre = can be taken directly from Wikipedia but genres combining 2 or more distinct genres need to be split to prevent excessive genres from being created (e.g. "Action-adventure" should be split into "Action" and "Adventure"). Also, only list the "genre", not "genre game" (e.g. "Action" instead of "Action game"). Should be plain text, and not contain wiki/html markup. Use spelling and capitalization from Genres.
  • |modes = should be used to capture the different game modes available in a game. Do note, the options for this parameter are CASE SENSITIVE. You may choose one or more of the following options:
    • Single-player - Allows a single player to play story-mode, arcade mode, etc. offline
    • Co-op - Allows 2 or more players to play offline on a single console either through split-screen or a shared screen
    • Multiplayer - Allows 2 or more players across different consoles to play using LAN or Online
  • |gameid = must use the gameid template (for example, Demon's Souls uses {{gameid|id=BLES00932, BLUS30443, NPEB01202, NPUB30910|ird=Yes}}).
  • |wikipedia = by default, the infobox will automatically generate links to Wikipedia based on the page name. However, where the automatic link does not work, this parameter should be used as below:
    • URL - where the game name and Wikipedia page name are different, the correct URL for the Wikipedia page should be entered (for example, the wikipedia parameter in Catherine uses https://en.wikipedia.org/wiki/Catherine_(video_game))
    • NA - in the rare case where no wikipedia page exists for this game (see Find a game that does this)
Warning - this parameter should ONLY be used when the automatic link does not work or a wikipedia page for the game does not exist.
  • |vndb = should be used when the game has a dedicated game page on VNDB. The full URL for the page should be entered in this parameter (for example, the vndb parameter in Ar nosurge: Ode to an Unborn Star uses https://vndb.org/v15062).
  • |title = should be used only in exceptional cases where the capitalisation of the title of the game differs from the page title (see flOw). The title mentioned in this parameter will also be used for the links to the compatibility list and github issue tracker.

Example

Demon's Souls uses the following syntax:

{{vginfobox
|image               = [[File:{{#setmainimage:DeS PS3.jpg}}|300px]]
|developer           = FromSoftware
|publisher           = {{vgregion|JP=Sony Computer Entertainment|NA=Atlus USA|AU/EU|Bandai Namco Games}}
|series              = Souls
|date                = {{vgregion|JP=February 5, 2009|NA=October 6, 2009|AU=June 23, 2010}}{{vgregion|EU=June 25, 2010}}
|release             = PlayStation 3 exclusive
|genre               = Action, Role-playing
|modes               = Single-player, Multiplayer
|gameid              = {{gameid|id=BLES00932, BLUS30443, BCJS30022, NPEB01202, NPUB30910, NPJA00102|oid=BCAS20071|ird=Yes}}
|internal resolution = 1280x720
}}

Linking to infobox categories

All parameters have their own categories where inputs provided in for each game create relevant sub-categories to index the games. Generally, these inputs will automatically link the game to the respective sub-category. However, for certain parameters (e.g |developer), when providing a new input (e.g. new developer) which is not already present in the category, the resulting sub-category created will have to be manually linked to the parent category.

Please check the infobox categories to see if the input (developer, publisher, series or genre) already exists in a similar name. Do not create unnecessary duplicate sub-categories.

The parameters that need inputs to be manually linked at the time of creation are given below. To link the sub-category to the parent infobox category, simply paste the infobox category link as provided below in the new sub-category created.

  • |developer - [[Category:Developers]]
  • |publisher - [[Category:Publishers]]
  • |series - [[Category:Series]]
  • |genre - [[Category:Genres]]

For example, see sub-category made for adventure genre.

Attribution and re-use

This template (along with its documentation template) has been adapted from Dolphin Emulator Wiki released under the Creative Commons Attribution-ShareAlike 3.0 License.