Difference between revisions of "Template:Bonus content list entry"

From Co-Optitude Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> Usage example: <pre> {{Bonus content list entry |EpisodeNum=15 |ID=15.1 |Title=Super Smash Bros Bonus Content |Duration=123 |Hosts=Felicia Day; Ryon Day...")
 
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
   |AirDate=2013-06-01
 
   |AirDate=2013-06-01
 
   |Link=https://youtube.com/watch?v=xxx
 
   |Link=https://youtube.com/watch?v=xxx
 +
  |VideoRemoved=true
 
   |Views=123
 
   |Views=123
 
   |Likes=123
 
   |Likes=123
Line 16: Line 17:
 
</noinclude>
 
</noinclude>
 
<includeonly>|-
 
<includeonly>|-
| style="vertical-align:top;text-align:right;"|{{{EpisodeNum|}}}
+
| style="vertical-align:top;text-align:right;" data-sort-value="{{{ID|}}}"|{{#if:{{{EpisodeNum|}}}|[[Episode {{{EpisodeNum|}}}|{{{EpisodeNum|}}}]]}}
| style="vertical-align:top;" data-sort-value="{{{ID|}}}"|[[Bonus content {{{ID|}}}|{{{EpisodeNum|}}}]]
+
| style="vertical-align:top;" data-sort-value="{{{ID|}}}"|[[Bonus content {{{ID|}}}|{{{Title|}}}]]
| style="vertical-align:top;"|{{Linked name list|Names={{{Hosts}}}}}
+
| style="vertical-align:top; white-space: nowrap;"|{{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}}
Line 24: Line 25:
 
| 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;"|{{#if:{{{VideoRemoved|}}}|<s>[{{{Link}}} YouTube]</s><br/>Private|[{{{Link}}} YouTube]}}</includeonly>

Latest revision as of 14:54, 25 April 2020

Usage example:

{{Bonus content list entry
  |EpisodeNum=15
  |ID=15.1
  |Title=Super Smash Bros Bonus Content
  |Duration=123
  |Hosts=Felicia Day; Ryon Day
  |AirDate=2013-06-01
  |Link=https://youtube.com/watch?v=xxx
  |VideoRemoved=true
  |Views=123
  |Likes=123
  |Comments=123}}