Difference between revisions of "Template:Game list entry"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>
<includeonly>{{#vardefine:showCode|{{#ifeq:{{{Show|}}}|The Flog|A|B}}}}<nowiki/><tr>
+
<includeonly>{{#vardefine:showCode|{{#ifeq:{{{Show|}}}|The Flog|A|B}}}}|-
  <td style="text-align:right;" data-sort-value="{{#var:showCode}}{{#pad:{{{EpisodeNum|}}}|3|0}}">{{{Show|}}} {{{EpisodeNum|}}}</td>
+
| style="text-align:right;" data-sort-value="{{#var:showCode}}{{#pad:{{{EpisodeNum|}}}|3|0}}"|{{{Show|}}} {{{EpisodeNum|}}}
  <td data-sort-value="{{#ifeq:{{#sub:{{{Game|}}}|0|4}}|The |{{#sub:{{{Game|}}}|4}}|{{{Game|}}}}}">{{{Game|}}}</td>
+
| data-sort-value="{{#ifeq:{{#sub:{{{Game|}}}|0|4}}|The |{{#sub:{{{Game|}}}|4}}|{{{Game|}}}}}"|{{{Game|}}}
  <td>{{{System|}}}</td>
+
| {{{System|}}}
  <td>{{{Publisher|}}}</td>
+
| {{{Publisher|}}}
  <td style="text-align:right;">{{{Year|}}}</td>
+
| style="text-align:right;"|{{{Year|}}}
  <td data-sort-value="{{#dateformat:{{{AirDate}}}|yyyy-mm-dd}}">{{#dateformat:{{{AirDate|}}}|mdy}}</td>
+
| data-sort-value="{{#dateformat:{{{AirDate}}}|yyyy-mm-dd}}"|{{#dateformat:{{{AirDate|}}}|mdy}}
</tr></includeonly>
+
</includeonly>

Revision as of 16:14, 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}}