Difference between revisions of "Template:Bonus content summary"

From Co-Optitude Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> Usage example: <pre> {{Bonus content summary |EpisodeNum=15 |ID=15.1 |PrevID=13.1 |NextID=16.1 |Title=Video Title |Hosts=Felicia Day; Ryon Day |Credi...")
 
 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<pre>
 
<pre>
 
{{Bonus content summary
 
{{Bonus content summary
   |EpisodeNum=15
+
   |EpisodeNum=XX
   |ID=15.1
+
   |ID=XX.1
   |PrevID=13.1
+
   |PrevID=XX.1
   |NextID=16.1
+
   |NextID=XX.1
   |Title=Video Title
+
   |Title=Lorem Ipsum Dolor Sit Amet
 
   |Hosts=Felicia Day; Ryon Day
 
   |Hosts=Felicia Day; Ryon Day
 
   |Credit0=Director: Sean Becker
 
   |Credit0=Director: Sean Becker
   |Credit1=Producers: Name; Name
+
   |Credit1=Executive producers: Felicia Day; Sheri Bryant
   |Credit2=Editing: Blah etc
+
   |Credit2=Editing: XXX
   |StatDate=2020-01-12
+
  |Credit3=Graphics: Steven Sprinkles
   |AirDate=2013-06-03
+
  |Credit4=Music: Jason Charles Miller
   |Duration=14:25
+
  |Credit5=Production assistant: Annie Liu
   |Views=382078
+
   |StatDate=9999-99-99
   |Likes=8138
+
   |AirDate=9999-99-99
   |Comments=1080|
+
   |Duration=99:99
   |Link=https://youtube.com/watch?v=sihfsidfh
+
   |Views=999999
 +
   |Likes=9999
 +
   |Comments=999
 +
   |Link=https://youtube.com/watch?v=XXX
 
   |VideoRemoved=true}}
 
   |VideoRemoved=true}}
 
</pre>
 
</pre>
[[Category:Summary templates]]
 
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 
{| class="wikitable" style="float:right;margin-left:10px;max-width:316px;"
 
{| class="wikitable" style="float:right;margin-left:10px;max-width:316px;"
 
|-
 
|-
| colspan="2"|[[File:Bonus content {{{ID}}} title card.jpg|frameless]]
+
| colspan="2"|[[File:{{#setmainimage:Bonus content {{{ID}}} title card.jpg}}|frameless]]
 
|-
 
|-
 
| colspan="2" style="text-align:center; background-color:white;"|
 
| colspan="2" style="text-align:center; background-color:white;"|
Line 41: Line 43:
 
   </tr>
 
   </tr>
 
}}
 
}}
|-
+
<tr>
! colspan="2" style="background-color:#ccced2;"|Credits
+
  <th colspan="2" style="background-color:#ccced2;">Credits</th>
 +
</tr>
 
{{#if:{{{Hosts|}}}|
 
{{#if:{{{Hosts|}}}|
 
   <tr>
 
   <tr>
Line 48: Line 51:
 
     <td style="vertical-align:top;">{{Linked name list|Names={{{Hosts}}}}}</td>
 
     <td style="vertical-align:top;">{{Linked name list|Names={{{Hosts}}}}}</td>
 
   </tr>
 
   </tr>
}}
+
}}{{#forargs: Credit
{{#forargs: Credit
 
 
   | key
 
   | key
 
   | value
 
   | value
Line 61: Line 63:
 
}}
 
}}
 
|-
 
|-
! colspan="2" style="background-color:#ccced2;"|Stats{{#if:{{{StatDate|}}}| <small>(as of {{#dateformat:{{{StatDate}}}|mdy}})</small>}}
+
! colspan="2" style="background-color:#ccced2;"|Stats {{#if:{{{StatDate|}}}| <small>(as of {{#dateformat:{{{StatDate}}}|mdy}})</small>}}
 
|-
 
|-
 
! style="text-align:right;vertical-align:top;"|First aired
 
! style="text-align:right;vertical-align:top;"|First aired
Line 73: Line 75:
 
     <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Views}}} }}</td>
 
     <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Views}}} }}</td>
 
   </tr>
 
   </tr>
}}
+
}}{{#if:{{{Likes|}}}|
{{#if:{{{Likes|}}}|
 
 
   <tr>
 
   <tr>
 
     <th style="text-align:right;vertical-align:top;">Likes</th>
 
     <th style="text-align:right;vertical-align:top;">Likes</th>
 
     <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Likes}}} }}</td>
 
     <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Likes}}} }}</td>
 
   </tr>
 
   </tr>
}}
+
}}{{#if:{{{Comments|}}}|
{{#if:{{{Comments|}}}|
 
 
   <tr>
 
   <tr>
 
     <th style="text-align:right;vertical-align:top;">Comments</th>
 
     <th style="text-align:right;vertical-align:top;">Comments</th>
Line 86: Line 86:
 
   </tr>
 
   </tr>
 
}}
 
}}
|}[[Category:Co-Optitude bonus content]]
+
|-
 +
! colspan="2" style="background-color:#ccced2;"|Links
 +
|-
 +
! style="text-align:right;vertical-align:top;"|Video
 +
| style="vertical-align:top;"|{{#if:{{{VideoRemoved|}}}|<s>[{{{Link|}}} YouTube]</s>|[{{{Link|}}} YouTube]}}
 +
|-
 +
! style="text-align:right;vertical-align:top;"|Availability
 +
| style="vertical-align:top;"|{{#if:{{{VideoRemoved|}}}|[[Private video]][[Category:Videos set to private on YouTube|Bonus content {{padleft:{{{ID}}}|5|0}}]]|Public video}}
 +
|}[[Category:Co-Optitude bonus content|Bonus content {{padleft:{{{ID}}}|5|0}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 09:57, 26 April 2020

Usage example:

{{Bonus content summary
  |EpisodeNum=XX
  |ID=XX.1
  |PrevID=XX.1
  |NextID=XX.1
  |Title=Lorem Ipsum Dolor Sit Amet
  |Hosts=Felicia Day; Ryon Day
  |Credit0=Director: Sean Becker
  |Credit1=Executive producers: Felicia Day; Sheri Bryant
  |Credit2=Editing: XXX
  |Credit3=Graphics: Steven Sprinkles
  |Credit4=Music: Jason Charles Miller
  |Credit5=Production assistant: Annie Liu
  |StatDate=9999-99-99
  |AirDate=9999-99-99
  |Duration=99:99
  |Views=999999
  |Likes=9999
  |Comments=999
  |Link=https://youtube.com/watch?v=XXX
  |VideoRemoved=true}}