Difference between revisions of "Template:Game list entry"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
</noinclude>
 
</noinclude>
 
<includeonly>{{#vardefine:showCode|{{#ifeq:{{{Show}}}|The Flog|A|B}}}}{{#vardefine:epNum|{{{EpisodeNum}}}}}{{#vardefine:paddedEpNum|{{padleft:{{#var:epNum}}|3}}}}|-
 
<includeonly>{{#vardefine:showCode|{{#ifeq:{{{Show}}}|The Flog|A|B}}}}{{#vardefine:epNum|{{{EpisodeNum}}}}}{{#vardefine:paddedEpNum|{{padleft:{{#var:epNum}}|3}}}}|-
| style="text-align:right;vertical-align:top;" data-sort-value="{{#var:showCode}}{{#var:paddedEpNum}}"|{{{Show}}} {{{EpisodeNum}}}</td>
+
| style="text-align:right;vertical-align:top;" data-sort-value="{{#var:showCode}}{{#var:paddedEpNum}}"|[[Episode {{{EpisodeNum}}}|{{{Show}}} {{{EpisodeNum}}}]</td>
 
| style="vertical-align:top;" data-sort-value="{{#ifeq:{{#sub:{{{Game}}}|0|4}}|The |{{#sub:{{{Game}}}|4}}|{{{Game}}}}}"|{{{Game}}}
 
| style="vertical-align:top;" data-sort-value="{{#ifeq:{{#sub:{{{Game}}}|0|4}}|The |{{#sub:{{{Game}}}|4}}|{{{Game}}}}}"|{{{Game}}}
 
| style="vertical-align:top;"|{{{System|}}}
 
| style="vertical-align:top;"|{{{System|}}}
 
| 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;" data-sort-value="{{#dateformat:{{{AirDate}}}|yyyy-mm-dd}}"|{{#dateformat:{{{AirDate|}}}|mdy}}</includeonly>
+
| style="text-align:right;vertical-align:top;" data-sort-value="{{#dateformat:{{{AirDate}}}|yyyy-mm-dd}}"|{{#dateformat:{{{AirDate|}}}|mdy}}</includeonly>

Revision as of 17:41, 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}}