Template:Infobox VG/sandbox: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(test a new method of tracking id verification)
(another approach to id verification)
Line 27: Line 27:
|{{!}} '''[[:Category:Rating|Compatibility]]''' {{!!}}{{ratings/sandbox|{{PAGENAME}}}}{{#switch:{{#regex:{{ratings/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)(.*?)\.png.*/|$2}}| +blue = {{#regex:{{ratings/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)\+blue\.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/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)\+blue\.png.*/|$1}}|=Unknown|0=Unknown|1=Broken|2=Intro/Menu|3=Starts|4=Playable|5=Perfect|$1}} ([[#Configuration|configured]])</span>}}| = {{#regex:{{ratings/sandbox|{{PAGENAME}}}}|/.*?Stars(\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/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)\.png.*/|$1}}|=Unknown|0=Unknown|1=Broken|2=Intro/Menu|3=Starts|4=Playable|5=Perfect|$1}}</span>}}}}
|{{!}} '''[[:Category:Rating|Compatibility]]''' {{!!}}{{ratings/sandbox|{{PAGENAME}}}}{{#switch:{{#regex:{{ratings/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)(.*?)\.png.*/|$2}}| +blue = {{#regex:{{ratings/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)\+blue\.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/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)\+blue\.png.*/|$1}}|=Unknown|0=Unknown|1=Broken|2=Intro/Menu|3=Starts|4=Playable|5=Perfect|$1}} ([[#Configuration|configured]])</span>}}| = {{#regex:{{ratings/sandbox|{{PAGENAME}}}}|/.*?Stars(\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/sandbox|{{PAGENAME}}}}|/.*?Stars(\d)\.png.*/|$1}}|=Unknown|0=Unknown|1=Broken|2=Intro/Menu|3=Starts|4=Playable|5=Perfect|$1}}</span>}}}}
|{{!}} '''[[Stereoscopic 3D Compatibility Guide|Stereoscopic 3D]]''' {{!!}}{{3Dconditions|{{PAGENAME}}}}{{#regex:{{3Dconditions|{{PAGENAME}}}}|/.*?3DStars(\d)\.png.*/|[[Category:$1 stars (3D Condition Rating)]]<br /><span style="display:inline-block;width:118px;text-align:center;font-size:8pt;font-weight:bold;color:#666;">{{#switch:{{#regex:{{3Dconditions|{{PAGENAME}}}}|/.*?3DStars(\d)\.png.*/|$1}}|=Unknown|0=Unknown|1=Poor|2=Acceptable|3=Excellent|$1}}</span>}}
|{{!}} '''[[Stereoscopic 3D Compatibility Guide|Stereoscopic 3D]]''' {{!!}}{{3Dconditions|{{PAGENAME}}}}{{#regex:{{3Dconditions|{{PAGENAME}}}}|/.*?3DStars(\d)\.png.*/|[[Category:$1 stars (3D Condition Rating)]]<br /><span style="display:inline-block;width:118px;text-align:center;font-size:8pt;font-weight:bold;color:#666;">{{#switch:{{#regex:{{3Dconditions|{{PAGENAME}}}}|/.*?3DStars(\d)\.png.*/|$1}}|=Unknown|0=Unknown|1=Poor|2=Acceptable|3=Excellent|$1}}</span>}}
|{{!}} '''[[GameIDs]]''' {{!!}} {{#dpl:
|{{!}} '''[[GameIDs]]''' {{!!}} {{#vardefine:tl_infobox_gameids|{{#dpl:
|mode=inline
|mode=userformat
|inlinetext=<nowiki>, </nowiki>
|format=,%TITLE%, ,
|linksto={{FULLPAGENAME}}
|linksto={{FULLPAGENAME}}
|redirects=only
|redirects=only
|titlematch=______
|titlematch=______
|notcategory=Not GameID
|notcategory=Not GameID
}}
|notcategory=Unofficial GameID
|{{#if:{{{idverify|}}}|{{!}} '''ID Verifier''' {{!!}}{{#if:{{#regex:{{{idverify}}}|/\[\[User\:.+\{{!}}.+\]\] \(\[\[User talk\:.+\{{!}}talk\]\]\) .+ \(CES?T\)/}}|{{#vardefine:tl_infobox_iddate|{{#regex:{{{idverify}}}|/..User.+ \(..User talk.+\) (.+) .CES?T./|$1}}}}{{#vardefine:tl_infobox_ideditor|{{#regex:{{{idverify}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CES?T./|$1}}}}[[User:{{#var:tl_infobox_ideditor}}|{{#var:tl_infobox_ideditor}}]] ([[User talk:{{#var:tl_infobox_ideditor}}|talk]]){{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_infobox_iddate}}}}>31104000|[[Category:Pages with GameIDs checked over 1 year ago]]}}|[[Category:Pages with misformatted ID verification]]}}|[[Category:Pages with unverified GameIDs]]}}
}}}}{{#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...''' {{!!}}
{{#if:{{{altsys|}}}|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} ({{{altsys|}}})|{{#ifeq:{{{altsys|}}}|GC|GameCube|{{{altsys|}}}}} Version]]<br />}}
{{#if:{{{altsys|}}}|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} ({{{altsys|}}})|{{#ifeq:{{{altsys|}}}|GC|GameCube|{{{altsys|}}}}} Version]]<br />}}

Revision as of 11:08, 29 December 2017