In order to edit this wiki, you must register and verify your account.

Template:Infobox VG: Difference between revisions

From Cemu Wiki
Jump to:navigation Jump to:search
No edit summary
(sort unknow rating in category unknown)
(One intermediate revision by the same user not shown)
Line 24: Line 24:
|{{#if:{{{modes|}}}|{{!}} '''[[:Category:Game mode|Mode(s)]]'''{{!!}}{{#regex:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:$1 (Game mode)|$1]][[Category:$1 (Game mode)]]$2}}|/\((\d{1,2}{{!}}\*)\)/|([[:Category:$1 (Players supported)|$1]][[Category:$1 (Players supported)]])}}{{#ifeq:{{{modes|}}}|Single-player|[[Category:Single-player only (Game mode)]][[Category:1 (Players supported)]]|}}|{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer{{!}}Co-op{{!}}Online)/rsi}}||[[:Category:Game pages without modes of play]]}}}}
|{{#if:{{{modes|}}}|{{!}} '''[[:Category:Game mode|Mode(s)]]'''{{!!}}{{#regex:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:$1 (Game mode)|$1]][[Category:$1 (Game mode)]]$2}}|/\((\d{1,2}{{!}}\*)\)/|([[:Category:$1 (Players supported)|$1]][[Category:$1 (Players supported)]])}}{{#ifeq:{{{modes|}}}|Single-player|[[Category:Single-player only (Game mode)]][[Category:1 (Players supported)]]|}}|{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer{{!}}Co-op{{!}}Online)/rsi}}||[[:Category:Game pages without modes of play]]}}}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex:{{{input|}}}|/(Wii Remote{{!}}Nunchuk{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Wii MotionPlus{{!}}GamePad{{!}}Wii Speak{{!}}Microphone{{!}}Classic Controller Pro{{!}}(Pro{{!}}GameCube{{!}}Classic{{!}}Keyboard{{!}}Guitar{{!}}) Controller)/rsi|[[:Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]}}|[[Category:Game pages without possible inputs]]}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex:{{{input|}}}|/(Wii Remote{{!}}Nunchuk{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Wii MotionPlus{{!}}GamePad{{!}}Wii Speak{{!}}Microphone{{!}}Classic Controller Pro{{!}}(Pro{{!}}GameCube{{!}}Classic{{!}}Keyboard{{!}}Guitar{{!}}) Controller)/rsi|[[:Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]}}|[[Category:Game pages without possible inputs]]}}
|{{!}} '''[[:Category:Rating|Compatibility]]''' {{!!}}{{ratings|{{{rating|}}}}}[[Category:{{{rating}}} (Rating)]]
|{{!}} '''[[:Category:Rating|Compatibility]]''' {{!!}}{{ratings|{{{rating|}}}}}[[Category:{{#if: {{{rating}}} | {{{rating}}} | unknown}} (Rating)]]
|{{!}} '''[[GameIDs]]''' {{!!}} {{gameid|{{#dpl:
|{{!}} '''[[GameIDs]]''' {{!!}} {{gameid|{{#dpl:
|mode=inline
|mode=inline
Line 43: Line 43:
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|}}}}|}<!--Data Quality Categories-->
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|}}}}|}<!--Data Quality Categories-->
{{#if:{{{series|}}}|{{#if:{{#regex:{{{series|}}}|/(''[^,]*?''(, {{!}}$))*/rs|}}|[[Category:Game pages with misformatted series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/(((Wii Remote( \+ Nunchuk)?{{!}}Wii MotionPlus( \+ Nunchuk)?){{!}}Nunchuk{{!}}USB Keyboard{{!}}Skylander Portal{{!}}GamePad{{!}}Dance Pad{{!}}Keyboard{{!}}Wii Speak{{!}}Microphone{{!}}Classic Controller Pro{{!}}Wii Balance Board{{!}}(Pro{{!}}Classic{{!}}GameCube{{!}}Guitar{{!}}Keyboard) Controller)(, {{!}}$))*/rs}}|{{{input|}}}||[[Category:Pages with misformatted inputs]]|}}{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer{{!}}Co-op{{!}}Online)/rsi}}||[[Category:Pages with misformatted modes of play]]}}{{#if:{{#regex:{{{modes|}}}|/Multiplayer/rsi}}|{{#if:{{#regex:{{{modes|}}}|/Multiplayer\s?\((\d{1,2})\)/rsi}}||[[Category:Pages with misformatted modes of play]]}}|}}{{#ifeq:{{#regex:{{{type|}}}|/((Game{{!}}eShop{{!}}VC(, {{!}}$))*/rs}}|[[Category:$1 (Game type)]]|[[Category:Pages with misformatted game types]]|}}</includeonly><noinclude>{{documentation}}</noinclude>
{{#if:{{{series|}}}|{{#if:{{#regex:{{{series|}}}|/(''[^,]*?''(, {{!}}$))*/rs|}}|[[Category:Game pages with misformatted series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/(((Wii Remote( \+ Nunchuk)?{{!}}Wii MotionPlus( \+ Nunchuk)?){{!}}Nunchuk{{!}}USB Keyboard{{!}}Skylander Portal{{!}}GamePad{{!}}Dance Pad{{!}}Keyboard{{!}}Wii Speak{{!}}Microphone{{!}}Classic Controller Pro{{!}}Wii Balance Board{{!}}(Pro{{!}}Classic{{!}}GameCube{{!}}Guitar{{!}}Keyboard) Controller)(, {{!}}$))*/rs}}|{{{input|}}}||[[Category:Pages with misformatted inputs]]|}}{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer{{!}}Co-op{{!}}Online)/rsi}}||[[Category:Pages with misformatted modes of play]]}}{{#if:{{#regex:{{{modes|}}}|/Multiplayer/rsi}}|{{#if:{{#regex:{{{modes|}}}|/Multiplayer\s?\((\d{1,2})\)/rsi}}||[[Category:Pages with misformatted modes of play]]}}|}}{{#ifeq:{{#regex:{{{type|}}}|/((Game{{!}}eShop{{!}}VC(, {{!}}$))*/rs}}|[[Category:$1 (Game type)]]|[[Category:Pages with misformatted game types]]|}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>[[Category:List of games]][[Category:List of editing tutorials]]</includeonly>
<includeonly>[[Category:List of games]]</includeonly>
<noinclude>[[Category:List of editing tutorials]]</noinclude>

Revision as of 12:11, 6 August 2017

[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to display an infobox of a game.

Usage

{{Infobox VG |title = Mario Kart 8 |image = [[File:Mario Kart 8.png|295px]] |developer = Nintendo EAD |publisher = Nintendo |released = {{vgrelease|NA=May 30, 2014|EU=May 30, 2014|AUS= May 31, 2014|JP=May 29, 2014}} |genre = Racing |modes = Single-player, Multiplayer (4), Online |input = GamePad, Pro Controller, Wii Remote, Wii Remote + Nunchuk, Classic Controller |wikipedia = Mario_Kart_8 |rating = Perfect }}

Note
The above documentation is transcluded from Template:Infobox VG/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)