Difference between revisions of "Template:Infobox game"

From PCSX2 Wiki
Jump to navigation Jump to search
m (100 revisions)
(added PAL-M, defaulted status to nothing instead of playable (so non-numeric values will not look as playable))
Line 7: Line 7:
 
|- style="text-align:center;"
 
|- style="text-align:center;"
 
| colspan="2" style="padding:0.5em;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{imagewidth|250}}}px]]<br/>{{#ifeq:{{{caption}}}|||''{{{caption| }}}''}}}}
 
| colspan="2" style="padding:0.5em;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{imagewidth|250}}}px]]<br/>{{#ifeq:{{{caption}}}|||''{{{caption| }}}''}}}}
{{#ifeq:{{{NTSCU}}}|1|{{regionbox|name=NTSC-U|status={{{statusNTSCU|}}}|linuxstatus={{{linuxstatusNTSCU|}}}|macstatus={{{macstatusNTSCU|}}}|CRCs={{{CRCsNTSCU}}}|releasedate={{{releasedateNTSCU}}}|serials={{{serialsNTSCU}}}}}}}
+
{{#ifeq:{{{NTSCU}}}|1|{{regionbox|name=NTSC-U|status={{{statusNTSCU|}}}|linuxstatus={{{linuxstatusNTSCU|}}}|macstatus={{{macstatusNTSCU|}}}|CRCs={{{CRCsNTSCU}}}|releasedate={{{releasedateNTSCU}}}|serials={{{serialsNTSCU}}}}}}}{{#ifeq:{{{PAL}}}|1|{{regionbox|name=PAL|status={{{statusPAL|}}}|linuxstatus={{{linuxstatusPAL|}}}|macstatus={{{macstatusPAL|}}}|CRCs={{{CRCsPAL}}}|releasedate={{{releasedatePAL}}}|serials={{{serialsPAL}}}}}}}{{#ifeq:{{{PAL-M}}}|1|{{regionbox|name=PAL-M|status={{{statusPAL-M|}}}|linuxstatus={{{linuxstatusPAL-M|}}}|macstatus={{{macstatusPAL-M|}}}|CRCs={{{CRCsPAL-M}}}|releasedate={{{releasedatePAL-M}}}|serials={{{serialsPAL-M}}}}}}}{{#ifeq:{{{NTSCJ}}}|1|{{regionbox|name=NTSC-J|status={{{statusNTSCJ|}}}|linuxstatus={{{linuxstatusNTSCJ|}}}|macstatus={{{macstatusNTSCJ|}}}|CRCs={{{CRCsNTSCJ}}}|releasedate={{{releasedateNTSCJ}}}|serials={{{serialsNTSCJ}}}}}}}
{{#ifeq:{{{PAL}}}|1|{{regionbox|name=PAL|status={{{statusPAL|}}}|linuxstatus={{{linuxstatusPAL|}}}|macstatus={{{macstatusPAL|}}}|CRCs={{{CRCsPAL}}}|releasedate={{{releasedatePAL}}}|serials={{{serialsPAL}}}}}}}
 
{{#ifeq:{{{NTSCJ}}}|1|{{regionbox|name=NTSC-J|status={{{statusNTSCJ|}}}|linuxstatus={{{linuxstatusNTSCJ|}}}|macstatus={{{macstatusNTSCJ|}}}|CRCs={{{CRCsNTSCJ}}}|releasedate={{{releasedateNTSCJ}}}|serials={{{serialsNTSCJ}}}}}}}
 
 
|}
 
|}
 
{{#ifeq:{{{developer}}}|||{{#if:{{{developer|}}}|'''Developer(s): '''{{#if:{{#pos:{{{developer}}}|[}}|{{{developer}}}|[[{{{developer}}}]]}}<br />}}}}{{#ifeq:{{{genre}}}|||{{#if:{{{genre|}}}|'''Genre: '''{{{genre}}}<br />}}}}{{#ifeq:{{{wikipedia}}}|||{{#if:{{{wikipedia|}}}|'''Wikipedia: '''{{{wikipedia}}}<br />}}}}{{#ifeq:{{{reviewlinks}}}|||{{#if:{{{reviewlinks|}}}|'''Game review links: '''{{{reviewlinks}}}<br />}}}}{{#ifeq:{{{reviewscore}}}|||{{#if:{{{reviewscore|}}}|'''Game review score: '''{{{reviewscore}}}<br />}}}}{{#ifeq:{{{gameinfo}}}|||{{#if:{{{gameinfo|}}}|'''Game description: '''{{{gameinfo}}}<br /><br />}}}}
 
{{#ifeq:{{{developer}}}|||{{#if:{{{developer|}}}|'''Developer(s): '''{{#if:{{#pos:{{{developer}}}|[}}|{{{developer}}}|[[{{{developer}}}]]}}<br />}}}}{{#ifeq:{{{genre}}}|||{{#if:{{{genre|}}}|'''Genre: '''{{{genre}}}<br />}}}}{{#ifeq:{{{wikipedia}}}|||{{#if:{{{wikipedia|}}}|'''Wikipedia: '''{{{wikipedia}}}<br />}}}}{{#ifeq:{{{reviewlinks}}}|||{{#if:{{{reviewlinks|}}}|'''Game review links: '''{{{reviewlinks}}}<br />}}}}{{#ifeq:{{{reviewscore}}}|||{{#if:{{{reviewscore|}}}|'''Game review score: '''{{{reviewscore}}}<br />}}}}{{#ifeq:{{{gameinfo}}}|||{{#if:{{{gameinfo|}}}|'''Game description: '''{{{gameinfo}}}<br /><br />}}}}
Line 77: Line 75:
 
  |1=[[Category:Games that go ingame]]
 
  |1=[[Category:Games that go ingame]]
 
  |0=[[Category:Broken games]]
 
  |0=[[Category:Broken games]]
}}{{#switch:{{{statusPAL}}}
+
|default}}{{#switch:{{{statusPAL}}}
 
  |2=[[Category:Playable games]]
 
  |2=[[Category:Playable games]]
 
  |1=[[Category:Games that go ingame]]
 
  |1=[[Category:Games that go ingame]]
 
  |0=[[Category:Broken games]]
 
  |0=[[Category:Broken games]]
}}{{#switch:{{{statusNTSCJ}}}
+
|default}}{{#switch:{{{statusPAL-M}}}
 
  |2=[[Category:Playable games]]
 
  |2=[[Category:Playable games]]
 
  |1=[[Category:Games that go ingame]]
 
  |1=[[Category:Games that go ingame]]
 
  |0=[[Category:Broken games]]
 
  |0=[[Category:Broken games]]
}}{{#switch:{{{linuxstatusNTSCU}}}
+
|default}}{{#switch:{{{statusNTSCJ}}}
 
  |2=[[Category:Playable games]]
 
  |2=[[Category:Playable games]]
 
  |1=[[Category:Games that go ingame]]
 
  |1=[[Category:Games that go ingame]]
 
  |0=[[Category:Broken games]]
 
  |0=[[Category:Broken games]]
}}{{#switch:{{{linuxstatusPAL}}}
+
|default}}{{#switch:{{{linuxstatusNTSCU}}}
 
  |2=[[Category:Playable games]]
 
  |2=[[Category:Playable games]]
 
  |1=[[Category:Games that go ingame]]
 
  |1=[[Category:Games that go ingame]]
 
  |0=[[Category:Broken games]]
 
  |0=[[Category:Broken games]]
}}{{#switch:{{{linuxstatusNTSCJ}}}
+
|default}}{{#switch:{{{linuxstatusPAL}}}
 
  |2=[[Category:Playable games]]
 
  |2=[[Category:Playable games]]
 
  |1=[[Category:Games that go ingame]]
 
  |1=[[Category:Games that go ingame]]
 
  |0=[[Category:Broken games]]
 
  |0=[[Category:Broken games]]
}}{{#if:{{#pos:{{lc:{{{genre}}}}}|action}}|[[Category:Action]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|adventure}}|[[Category:Adventure]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|arcade}}|[[Category:Arcade]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|platform}}|[[Category:Action]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|compilation}}|[[Category:Compilation]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|fighting}}|[[Category:Fighting]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|minigames}}|[[Category:Minigames]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|mmo}}|[[Category:MMO]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|fps}}|[[Category:FPS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|First-Person}}|[[Category:FPS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|First}}|[[Category:FPS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|sport}}|[[Category:Sports]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|racing}}|[[Category:Racing]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|rpg}}|[[Category:RPG]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|role}}|[[Category:RPG]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|rts}}|[[Category:RTS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|real}}|[[Category:RTS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|horror}}|[[Category:Horror]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|casual}}|[[Category:Casual]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|remake}}|[[Category:Remake]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|turn}}|[[Category:Turn-based strategy]]}}{{#ifexpr:{{#len:{{#pos:{{lc:{{{genre}}}}}|shoot}}+{{#pos:{{lc:{{{genre}}}}}|up}}}}>1|[[Category:Shoot 'em up]]}}{{#if:{{#explode:{{#replace:{{#replace:{{{developer}}}|, Ltd.|}}|, Inc.|}}|,|0}}|[[Category:Games by {{#explode:{{#replace:{{#replace:{{#replace:{{#replace:{{{developer}}}|[|}}|]|}}|, Ltd.|}}|, Inc.|}}|,|0}}]]|}}{{#if:{{#explode:{{#replace:{{#replace:{{{developer}}}|, Ltd.|}}|, Inc.|}}|,|1}}|[[Category:Games by {{#explode:{{#replace:{{#replace:{{#replace:{{#replace:{{{developer}}}|[|}}|]|}}|, Ltd.|}}|, Inc.|}}|,|1}}]]|}}{{#if:{{#explode:{{#replace:{{#replace:{{{developer}}}|, Ltd.|}}|, Inc.|}}|,|2}}|[[Category:Games by {{#explode:{{#replace:{{#replace:{{#replace:{{#replace:{{{developer}}}|[|}}|]|}}|, Ltd.|}}|, Inc.|}}|,|2}}]]|}}</includeonly>
+
|default}}{{#switch:{{{linuxstatusPAL-M}}}
 +
|2=[[Category:Playable games]]
 +
|1=[[Category:Games that go ingame]]
 +
|0=[[Category:Broken games]]
 +
|default}}{{#switch:{{{linuxstatusNTSCJ}}}
 +
|2=[[Category:Playable games]]
 +
|1=[[Category:Games that go ingame]]
 +
|0=[[Category:Broken games]]
 +
|default}}{{#if:{{#pos:{{lc:{{{genre}}}}}|action}}|[[Category:Action]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|adventure}}|[[Category:Adventure]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|arcade}}|[[Category:Arcade]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|platform}}|[[Category:Action]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|compilation}}|[[Category:Compilation]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|fighting}}|[[Category:Fighting]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|minigames}}|[[Category:Minigames]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|mmo}}|[[Category:MMO]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|fps}}|[[Category:FPS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|First-Person}}|[[Category:FPS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|First}}|[[Category:FPS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|sport}}|[[Category:Sports]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|racing}}|[[Category:Racing]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|rpg}}|[[Category:RPG]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|role}}|[[Category:RPG]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|rts}}|[[Category:RTS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|real}}|[[Category:RTS]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|horror}}|[[Category:Horror]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|casual}}|[[Category:Casual]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|remake}}|[[Category:Remake]]}}{{#if:{{#pos:{{lc:{{{genre}}}}}|turn}}|[[Category:Turn-based strategy]]}}{{#ifexpr:{{#len:{{#pos:{{lc:{{{genre}}}}}|shoot}}+{{#pos:{{lc:{{{genre}}}}}|up}}}}>1|[[Category:Shoot 'em up]]}}{{#if:{{#explode:{{#replace:{{#replace:{{{developer}}}|, Ltd.|}}|, Inc.|}}|,|0}}|[[Category:Games by {{#explode:{{#replace:{{#replace:{{#replace:{{#replace:{{{developer}}}|[|}}|]|}}|, Ltd.|}}|, Inc.|}}|,|0}}]]|}}{{#if:{{#explode:{{#replace:{{#replace:{{{developer}}}|, Ltd.|}}|, Inc.|}}|,|1}}|[[Category:Games by {{#explode:{{#replace:{{#replace:{{#replace:{{#replace:{{{developer}}}|[|}}|]|}}|, Ltd.|}}|, Inc.|}}|,|1}}]]|}}{{#if:{{#explode:{{#replace:{{#replace:{{{developer}}}|, Ltd.|}}|, Inc.|}}|,|2}}|[[Category:Games by {{#explode:{{#replace:{{#replace:{{#replace:{{#replace:{{{developer}}}|[|}}|]|}}|, Ltd.|}}|, Inc.|}}|,|2}}]]|}}</includeonly>

Revision as of 14:52, 27 August 2011

Infobox game
Configuration used to play on Windows:
PCSX2 untested
Graphics by GSDX untested
Sound by SPU2-X untested

Comments: -
Configuration used to play on Linux:
PCSX2 untested
Graphics by ZZogl untested
Sound by SPU2-X untested

Comments: N / A
PC specs used to test the game:
CPU _
GPU _

Comments: -