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
No edit summary
Line 23: Line 23:
|{{#if:{{{genre|}}}|{{!}}'''[[:Category:Genres|Genre(s)]]'''{{!!}}{{#regex:{{#regex:{{{genre|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Genre)|$1]][[Category:$1 (Genre)]]$2}}|[[Category:Game pages without genre]]}}
|{{#if:{{{genre|}}}|{{!}}'''[[:Category:Genres|Genre(s)]]'''{{!!}}{{#regex:{{#regex:{{{genre|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Genre)|$1]][[Category:$1 (Genre)]]$2}}|[[Category:Game pages without genre]]}}
|{{#if:{{{mode|{{{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:{{{genre|}}}|/Utility/}}||[[Category:Game pages without modes of play]]}}}}
|{{#if:{{{mode|{{{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:{{{genre|}}}|/Utility/}}||[[Category:Game pages without modes of play]]}}}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex:{{{input|}}}|/(Wii Remote{{!}}Nunchu(c)?k{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Your Shape Camera{{!}}Nintendo DS{{!}}GamePad{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii MotionPlus{{!}}Pro Controller{{!}}(GameCube{{!}}Classic{{!}}Shinkansen{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller{{!}}Wii Speak{{!}}Microphone)/rsi|[[Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]$2}}|[[Category:Game pages without possible inputs]]}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex:{{{input|}}}|/(Wii U Remote{{!}}Nunchu(c)?k{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Your Shape Camera{{!}}Nintendo DS{{!}}GamePad{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii MotionPlus{{!}}Pro Controller{{!}}(GameCube{{!}}Classic{{!}}Shinkansen{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller{{!}}Wii Speak{{!}}Microphone)/rsi|[[Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]$2}}|[[Category:Game pages without possible inputs]]}}
|{{!}} '''[[Category:Rating|Compatibility]]''' {{!!}}{{ratings|{{#if:{{{rating|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}{{#regex:{{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}|/.*?-Smiley(\d)\.png.*/|[[Category:$1 stars (Rating)]]<br /><span style="display:inline-block;width:118px;text-align:center;font-size:8pt;font-weight:bold;color:#666;">{{#switch:{{#regex:{{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}|/.*?-Smiley(\d)\.png.*/|$1}}|=Unknown|0=Unknown|1=Unplayable|2=Starts|3=Runs|4=Playable|5=Perfect|$1}}</span>}}
|{{!}} '''[[Category:Rating|Compatibility]]''' {{!!}}{{ratings|{{#if:{{{rating|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}{{#regex:{{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}|/.*?-Smiley(\d)\.png.*/|[[Category:$1 stars (Rating)]]<br /><span style="display:inline-block;width:118px;text-align:center;font-size:8pt;font-weight:bold;color:#666;">{{#switch:{{#regex:{{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}|/.*?-Smiley(\d)\.png.*/|$1}}|=Unknown|0=Unknown|1=Unplayable|2=Starts|3=Runs|4=Playable|5=Perfect|$1}}</span>}}
|{{!}} '''[[GameIDs]]''' {{!!}} {{#dpl:
|{{!}} '''[[GameIDs]]''' {{!!}} {{#dpl:
Line 47: Line 47:
}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|New Play Control\! $1}}|{{PAGENAME}}||{{exist|{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|GameCube Version]]<br />}}}}
}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|New Play Control\! $1}}|{{PAGENAME}}||{{exist|{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|GameCube Version]]<br />}}}}
[[google:{{#regex:{{PAGENAME}}|/\s/|+}}|Search Google]]<br />
[[google:{{#regex:{{PAGENAME}}|/\s/|+}}|Search Google]]<br />
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|[[wikipedia:{{PAGENAME}}|Search Wikipedia]]}}}}|}<!--Data Quality Categories-->{{#if:{{{compatibility|}}}|[[Category:Pages with an un-needed compatibility param in InfoBox]]|}}{{#if:{{{series|}}}|{{#if:{{#regex:{{{series|}}}|/(''[^,]*?''(, {{!}}$))*/rs|}}|[[Category:Game pages with misformatted series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/(((Wii Remote( \+ Nunchuk)?{{!}}Wii MotionPlus( \+ Nunchuk)?){{!}}Nunchuk{{!}}Nintendo DS{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Your Shape Camera{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Game Boy Advance{{!}}Game Boy Advance{{!}}Dance Pad{{!}}DK Bongos{{!}}Wii Speak{{!}}Microphone{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii Balance Board{{!}}(Classic{{!}}GameCube{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Shinkansen{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller)(, {{!}}$))*/rs}}|{{{input|}}}||[[Category:Pages with misformatted inputs]]|}}{{#ifeq:{{#regex:{{{modes|}}}|/((Single-player{{!}}(Multiplayer{{!}}Co-op{{!}}Online) \((\d{1,2}{{!!}}\*)\))(, {{!}}$))*/rs}}|{{{modes|}}}||[[Category:Pages with misformatted modes of play]]|}}</includeonly><noinclude>
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|[[wikipedia:{{PAGENAME}}|Search Wikipedia]]}}}}|}<!--Data Quality Categories-->{{#if:{{{compatibility|}}}|[[Category:Pages with an un-needed compatibility param in InfoBox]]|}}{{#if:{{{series|}}}|{{#if:{{#regex:{{{series|}}}|/(''[^,]*?''(, {{!}}$))*/rs|}}|[[Category:Game pages with misformatted series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/(((Wii Remote( \+ Nunchuk)?{{!}}Wii MotionPlus( \+ Nunchuk)?){{!}}Nunchuk{{!}}Nintendo DS{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Your Shape Camera{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Game Boy Advance{{!}}Game Boy Advance{{!}}GamePad{{!}}Dance Pad{{!}}DK Bongos{{!}}Wii Speak{{!}}Microphone{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii Balance Board{{!}}(Pro{{!}}Classic{{!}}GameCube{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Shinkansen{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller)(, {{!}}$))*/rs}}|{{{input|}}}||[[Category:Pages with misformatted inputs]]|}}{{#ifeq:{{#regex:{{{modes|}}}|/((Single-player{{!}}(Multiplayer{{!}}Co-op{{!}}Online) \((\d{1,2}{{!!}}\*)\))(, {{!}}$))*/rs}}|{{{modes|}}}||[[Category:Pages with misformatted modes of play]]|}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 02:51, 4 October 2016

[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.)