Template:Infobox VG/sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
{{Alternating rows table section | {{Alternating rows table section | ||
|es=background:#f0f0f0; | |es=background:#f0f0f0; | ||
|{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}} | |{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}}<!-- | ||
Make sure to update Template:Vgrelease along with the developer and publisher regexes | |||
--> | |||
|{{#if:{{{developer|}}}|{{!}}'''[[:Category:Developers|Developer(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}}|| | |{{#if:{{{developer|}}}|{{!}}'''[[:Category:Developers|Developer(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}}|| | ||
<!--List-->{{#regex:{{{developer|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Developer)|$1]][[Category:$1 (Developer)]]$2}}| | <!--List-->{{#regex:{{{developer|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Developer)|$1]][[Category:$1 (Developer)]]$2}}| | ||
<!--Regional List-->{{#regex:{{{developer|}}}|/({{#regex:{{{developer|}}}|/.*?(?:NA{{!}} | <!--Regional List-->{{#regex:{{{developer|}}}|/({{#regex:{{{developer|}}}|/.*?(?:JP{{!}}NA{{!}}CA{{!}}EU{{!}}FR{{!}}DE{{!}}IT{{!}}NL{{!}}SC{{!}}SP{{!}}AUS{{!}}RU{{!}}KO{{!}}TW{{!}}SA).*?>.*?>\s*([^\[{{!}}<]*).*?>/rs|$1{{!}}}}#NOMATCH#)/rs|[[:Category:$1 (Developer)|$1]][[Category:$1 (Developer)]]}}}} | ||
}} | }} | ||
|{{#if:{{{publisher|}}}|{{!}}'''[[:Category:Publishers|Publisher(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{publisher|}}}|/>/rs|}}|| | |{{#if:{{{publisher|}}}|{{!}}'''[[:Category:Publishers|Publisher(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{publisher|}}}|/>/rs|}}|| | ||
<!--List-->{{#regex:{{{publisher|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Publisher)|$1]][[Category:$1 (Publisher)]]$2}}| | <!--List-->{{#regex:{{{publisher|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Publisher)|$1]][[Category:$1 (Publisher)]]$2}}| | ||
<!--Regional List-->{{#regex:{{{publisher|}}}|/({{#regex:{{{publisher|}}}|/.*?(?:NA{{!}} | <!--Regional List-->{{#regex:{{{publisher|}}}|/({{#regex:{{{publisher|}}}|/.*?(?:JP{{!}}NA{{!}}CA{{!}}EU{{!}}FR{{!}}DE{{!}}IT{{!}}NL{{!}}SC{{!}}SP{{!}}AUS{{!}}RU{{!}}KO{{!}}TW{{!}}SA).*?>.*?>\s*([^\[{{!}}<]*).*?>/rs|$1{{!}}}}#NOMATCH#)/rs|[[:Category:$1 (Publisher)|$1]][[Category:$1 (Publisher)]]}}}} | ||
}} | }} | ||
|{{#if:{{{series|}}}|{{!}} '''[[:Category:Series|Series]]''' {{!!}}{{#regex:{{#regex:{{{series|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Series)|$1]][[Category:$1 (Series)]]$2}}}} | |{{#if:{{{series|}}}|{{!}} '''[[:Category:Series|Series]]''' {{!!}}{{#regex:{{#regex:{{{series|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Series)|$1]][[Category:$1 (Series)]]$2}}}} | ||
Line 25: | Line 29: | ||
|{{#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{{!}}Game( )?Boy Advance{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii MotionPlus{{!}}DK Bongos{{!}}(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 Remote{{!}}Nunchu(c)?k{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Your Shape Camera{{!}}Nintendo DS{{!}}Game( )?Boy Advance{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii MotionPlus{{!}}DK Bongos{{!}}(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]]}} | ||
|{{!}} '''[[GameIDs]]''' {{!!}} {{#vardefine:tl_infobox_gameids|{{#dpl: | |{{!}} '''[[GameIDs]]''' {{!!}} {{#vardefine:tl_infobox_gameids|{{#dpl: | ||
|mode=userformat | |mode=userformat | ||
Line 33: | Line 35: | ||
|redirects=only | |redirects=only | ||
|titlematch=______ | |titlematch=______ | ||
|notcategory=Not GameID | <!--|notcategory=Not GameID | ||
|notcategory=Unofficial GameID | |notcategory=Unofficial GameID--> | ||
}}}}{{#while:|{{#var:tl_infobox_gameids}}|{{#vardefine:tl_infobox_currentid|{{#regex:{{#var:tl_infobox_gameids}}|/([^\s]*)\s*/}}}}{{#if:{{#var:tl_infobox_idhaslooped}}|, <nowiki/>|{{#vardefine:tl_infobox_idhaslooped|true}}}}{{#if:{{{{{#var:tl_infobox_currentid}}|}}}|[{{{{{#var:tl_infobox_currentid}}|}}} {{#var:tl_infobox_currentid}}]|[[{{#var:tl_infobox_currentid}}]][[Category:Pages with unverified GameIDs]]}}{{#vardefine:tl_infobox_gameids|{{#regex:{{#var:tl_infobox_gameids}}|/^([^\s]*)\s*/|}}}}}} | }}}}{{#while:|{{#var:tl_infobox_gameids}}|{{#vardefine:tl_infobox_currentid|{{#regex:{{#var:tl_infobox_gameids}}|/([^\s]*)\s*/}}}}{{#if:{{#var:tl_infobox_idhaslooped}}|, <nowiki/>|{{#vardefine:tl_infobox_idhaslooped|true}}}}{{#if:{{{{{#var:tl_infobox_currentid}}|}}}|[{{{{{#var:tl_infobox_currentid}}|}}} {{#var:tl_infobox_currentid}}]|[[{{#var:tl_infobox_currentid}}]][[Category:Pages with unverified GameIDs]]}}{{#vardefine:tl_infobox_gameids|{{#regex:{{#var:tl_infobox_gameids}}|/^([^\s]*)\s*/|}}}}}} | ||
|{{!}} '''See also...''' {{!!}} | |{{!}} '''See also...''' {{!!}} |
Revision as of 22:08, 24 November 2019
[edit] [ ] Template documentation
Welcome to Infobox VG's sandbox page
Infobox VG/sandbox | |
---|---|
Platform(s) | |
GameIDs | |
See also... |
Search Dolphin Forums |
Used By
The above documentation is transcluded from Template:Infobox VG/sandbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit) and testcases (create) pages. Subpages of this template. |