Difference between revisions of "Template:Episode list entry"

From Co-Optitude Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> Usage example: <pre> {{Episode list entry |EpisodeNum=1 |Games=Name 1; Name 2 |Part=1 |Duration=123 |Hosts=Felicia Day; Ryon Day |AirDate=2013-06-01...")
 
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>|-
|-
 
 
| 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:{{{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|}}}}}
|-
 
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Likes}}}"|{{formatnum:{{{Likes|}}}}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Likes}}}"|{{formatnum:{{{Likes|}}}}}
|-
 
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Comments}}}"|{{formatnum:{{{Comments|}}}}}
 
| style="vertical-align:top;text-align:right;" data-sort-value="{{{Comments}}}"|{{formatnum:{{{Comments|}}}}}
|-
 
 
| style="vertical-align:top;"|[{{{Link}}} YouTube]</includeonly>
 
| style="vertical-align:top;"|[{{{Link}}} YouTube]</includeonly>

Latest revision as of 22:06, 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}}