Difference between revisions of "Template:Episode list entry"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
| 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:{{{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}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Views}}}"|{{formatnum:{{{Views|}}}}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Views}}}"|{{formatnum:{{{Views|}}}}}

Revision as of 21:59, 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}}