Difference between revisions of "Template:Game list entry"
Jump to navigation
Jump to search
Rocketsoup (talk | contribs) |
Rocketsoup (talk | contribs) |
||
| Line 13: | Line 13: | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
| − | <includeonly>{{#vardefine:showCode|{{#ifeq:{{{Show}}}|The Flog|A|B}}}}{{#vardefine:paddedEpNum|{{#pad:{{ | + | <includeonly> |
| + | {{#vardefine:showCode|{{#ifeq:{{{Show}}}|The Flog|A|B}}}} | ||
| + | {{#vardefine:epNum|{{{EpisodeNum}}}}} | ||
| + | {{#vardefine:paddedEpNum|{{#pad:{{#var:epNum}}|3|0}} }} | ||
|- | |- | ||
| + | | showCode is {{#var:showCode}} | ||
| + | | ep num is {{#var:epNum}} | ||
| + | | padded ep num is {{#var:paddedEpNum}} | ||
| style="text-align:right;" data-sort-value="{{#var:showCode}}{{#var:paddedEpNum}}"|{{{Show}}} {{{EpisodeNum}}} | | style="text-align:right;" data-sort-value="{{#var:showCode}}{{#var:paddedEpNum}}"|{{{Show}}} {{{EpisodeNum}}} | ||
| data-sort-value="{{#ifeq:{{#sub:{{{Game}}}|0|4}}|The |{{#sub:{{{Game}}}|4}}|{{{Game}}}}}"|{{{Game}}} | | data-sort-value="{{#ifeq:{{#sub:{{{Game}}}|0|4}}|The |{{#sub:{{{Game}}}|4}}|{{{Game}}}}}"|{{{Game}}} | ||
Revision as of 16:28, 15 January 2020
Usage example:
{{Game list entry
|Show=Co-Optitude
|EpisodeNum=3
|Game=Sonic the Hedgehog 2
|System=Sega Genesis
|Publisher=Sega
|Year=1992
|AirDate=2013-06-10
|Link=https://youtube.com/watch?v=xxxx}}