Difference between revisions of "Template:Episode list entry"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
| style="vertical-align:top;text-align:right;"|{{{EpisodeNum|}}}
 
| style="vertical-align:top;text-align:right;"|{{{EpisodeNum|}}}
 
| style="vertical-align:top;"|[[Episode {{{EpisodeNum|}}}|{{#replace:{{{Games|}}}|;|<br/>}}]]{{#if:{{{Part}}}|, part {{{Part}}}}}
 
| style="vertical-align:top;"|[[Episode {{{EpisodeNum|}}}|{{#replace:{{{Games|}}}|;|<br/>}}]]{{#if:{{{Part}}}|, part {{{Part}}}}}
| style="vertical-align:top;"|{{Linked name list|Names={{{Hosts}}} }}
+
| style="vertical-align:top;"|{{Linked name list|Names={{{Hosts}}}}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Duration}}}"|{{#expr:floor({{{Duration}}}/60)}}:{{padleft:{{#expr:{{{Duration}}} mod 60}}|2|0}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Duration}}}"|{{#expr:floor({{{Duration}}}/60)}}:{{padleft:{{#expr:{{{Duration}}} mod 60}}|2|0}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{AirDate}}}"|{{#dateformat:{{{AirDate|}}}|mdy}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{AirDate}}}"|{{#dateformat:{{{AirDate|}}}|mdy}}

Revision as of 22:01, 16 January 2020

Usage example:

{{Episode list entry
  |EpisodeNum=1
  |Games=Name 1; Name 2
  |Part=1
  |Duration=123
  |Hosts=Felicia Day; Ryon Day
  |AirDate=2013-06-01
  |Link=https://youtube.com/watch?v=xxx
  |Views=123
  |Likes=123
  |Comments=123}}