Difference between revisions of "Template:Game list entry"
Jump to navigation
Jump to search
Rocketsoup (talk | contribs) |
Rocketsoup (talk | contribs) |
||
Line 18: | Line 18: | ||
| style="vertical-align:top;"|{{{Publisher|}}} | | style="vertical-align:top;"|{{{Publisher|}}} | ||
| style="text-align:right;vertical-align:top;"|{{{Year|}}} | | style="text-align:right;vertical-align:top;"|{{{Year|}}} | ||
− | | style="vertical-align:top;"|{{#vardefine:vals|{{{EpisodeNums|}}}}}{{#vardefine:i|0}}{{#while: | + | | style="vertical-align:top; white-space: nowrap;"|{{#vardefine:vals|{{{EpisodeNums|}}}}}{{#vardefine:i|0}}{{#while: |
|{{#vardefine:val|{{#explode:{{#var:vals}}|;|{{#var:i}} }}}}{{#var:val}} | |{{#vardefine:val|{{#explode:{{#var:vals}}|;|{{#var:i}} }}}}{{#var:val}} | ||
|<nowiki/>{{#vardefine:show|{{#explode:{{{Shows|}}}|;|{{#var:i}} }}}}{{#vardefine:paddedEpNum|{{#explode:{{{EpisodeNums}}}|;|{{#var:i}} }}}}{{#vardefine:epNum|{{#expr:{{#var:paddedEpNum}}*1}}}}{{#vardefine:linkPrefix|{{#ifeq:{{#var:show}}|The Flog|The Flog episode|Episode}}}}{{#ifexpr:{{#var:i}} > 0|<br/>}}[[{{#var:linkPrefix}} {{#var:epNum}}]]{{#vardefine:i|{{#expr:{{#var:i}}+1}} }}}} | |<nowiki/>{{#vardefine:show|{{#explode:{{{Shows|}}}|;|{{#var:i}} }}}}{{#vardefine:paddedEpNum|{{#explode:{{{EpisodeNums}}}|;|{{#var:i}} }}}}{{#vardefine:epNum|{{#expr:{{#var:paddedEpNum}}*1}}}}{{#vardefine:linkPrefix|{{#ifeq:{{#var:show}}|The Flog|The Flog episode|Episode}}}}{{#ifexpr:{{#var:i}} > 0|<br/>}}[[{{#var:linkPrefix}} {{#var:epNum}}]]{{#vardefine:i|{{#expr:{{#var:i}}+1}} }}}} |
Revision as of 05:39, 27 May 2020
Usage example:
{{Game list entry |Shows=Co-Optitude; Co-Optitude |EpisodeNums=012; 013 |Game=Secret of Mana |System=SNES |Publisher=Square |Year=1993 |AirDates=2013-08-26; 2013-09-02 |Links=https://youtube.com/watch?v=xxxx; https://youtube.com/watch?v=yyyy}}