Difference between revisions of "Template:Bonus content summary"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
   |Views=382078
 
   |Views=382078
 
   |Likes=8138
 
   |Likes=8138
   |Comments=1080|
+
   |Comments=1080
 
   |Link=https://youtube.com/watch?v=sihfsidfh
 
   |Link=https://youtube.com/watch?v=sihfsidfh
 
   |VideoRemoved=true}}
 
   |VideoRemoved=true}}
Line 73: Line 73:
 
     <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>

Revision as of 07:53, 15 February 2020

Usage example:

{{Bonus content summary
  |EpisodeNum=15
  |ID=15.1
  |PrevID=13.1
  |NextID=16.1
  |Title=Video Title
  |Hosts=Felicia Day; Ryon Day
  |Credit0=Director: Sean Becker
  |Credit1=Producers: Name; Name
  |Credit2=Editing: Blah etc
  |StatDate=2020-01-12
  |AirDate=2013-06-03
  |Duration=14:25
  |Views=382078
  |Likes=8138
  |Comments=1080
  |Link=https://youtube.com/watch?v=sihfsidfh
  |VideoRemoved=true}}