Difference between revisions of "Template:Episode summary"

From Co-Optitude Wiki
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Parameters
+
Usage example:
* EpisodeNum: Int
+
<pre>
* Game1
+
{{Episode summary
* Platform1
+
  |EpisodeNum=1
* Publisher1
+
  |Game1=Game Name
* Year1
+
  |Platform1=SNES
* Hosts
+
  |Publisher1=Capcom
* Director
+
  |Year1=1993
* DirectorOfCinema
+
  |Game2=Game Name
* ExecProducers
+
  |Platform2=SNES
* Editing
+
  |Publisher2=Capcom
* StatDate
+
  |Year2=1993
* AirDate
+
  |Game3=Game Name
* Duration
+
  |Platform3=SNES
* Views
+
  |Publisher3=Capcom
* Likes
+
  |Year3=1993
* Comments
+
  |Hosts=Felicia Day; Ryon Day
 +
  |Director=Sean Becker
 +
  |DirectorOfCinema=Someone Else
 +
  |ExecProducers=Felicia Day; Sheri Bryant
 +
  |Editing=Sean Becker
 +
  |Graphics=First Last
 +
  |Music=First Last
 +
  |ProductionAsst=First Last
 +
  |Gaffer=First Last
 +
  |ProductionDesigner=First Last
 +
  |Makeup=First Last
 +
  |LineProducer=First Last
 +
  |ProductionCoordinator=First Last
 +
  |StatDate=2020-01-12
 +
  |AirDate=2013-06-03
 +
  |Duration=14:25
 +
  |Views=382078
 +
  |Likes=8138
 +
  |Comments=1080}}
 +
</pre>
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{| class="wikitable" style="float:right;margin-left:10px;"
+
{| class="wikitable" style="float:right;margin-left:10px;max-width:316px;"
 
|-
 
|-
| colspan="2"|[[File:Episode {{{EpisodeNum}}} title card.jpg|frameless]]
+
| colspan="2"|[[File:{{#setmainimage:Episode {{{EpisodeNum}}} title card.jpg}}|frameless]]
 
|-
 
|-
! colspan="2" style="background-color:#ccccff;"|{{{Game1}}}
+
| colspan="2" style="text-align:center; background-color:white;"|
{{#if:{{{Platform1|}}}|<tr>
+
<small>{{#ifexpr:{{{EpisodeNum|}}} > 1| [[Episode {{#expr:{{{EpisodeNum|}}} - 1}}|Prev]] | Prev }}</small>
<th style="text-align:right;vertical-align:top;">Platform</th>
+
- <big>'''Episode {{{EpisodeNum}}}'''</big> -
<td style="vertical-align:top;">[[{{{Platform1}}}]]</td>
+
<small>{{#ifexpr:{{{EpisodeNum|}}} < 149| [[Episode {{#expr:{{{EpisodeNum|}}} + 1}}|Next]] | Next }}</small><br/>
</tr>}}
+
[[List of games|Game list]] - [[List of Co-Optitude episodes|Episode list]]
 +
|-
 +
! colspan="2" style="background-color:#caccff;"|{{{Game1}}}
 +
{{#if:{{{Platform1|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Platform</th>
 +
    <td style="vertical-align:top;">[[{{{Platform1}}}]]{{#ifeq:{{{Platform1|}}}|Unknown platform||[[Category:Episodes with {{{Platform1}}} games|Episode {{padleft:{{{EpisodeNum}}}|3|0}}]]}}</td>
 +
  </tr>
 +
}}
 
|-
 
|-
 
! style="text-align:right;vertical-align:top;"|Published
 
! style="text-align:right;vertical-align:top;"|Published
| style="vertical-align:top;"|{{{Publisher1}}} {{{Year1}}}
+
| style="vertical-align:top;"|{{{Publisher1}}}, {{{Year1}}}{{#if:{{{Game2|}}}|
{{#if:{{{Game2|}}}|<tr>
+
  <tr>
<th colspan="2" style="background-color:#ccccff;">{{{Game2}}}</th>
+
    <th colspan="2" style="background-color:#caccff;">{{{Game2}}}</th>
</tr>
+
  </tr>
{{#if:{{{Platform2|}}}|<tr>
+
  {{#if:{{{Platform2|}}}|
<th style="text-align:right;vertical-align:top;">Platform</th>
+
    <tr>
<td style="vertical-align:top;">[[{{{Platform2}}}]]</td>
+
      <th style="text-align:right;vertical-align:top;">Platform</th>
</tr>}}
+
      <td style="vertical-align:top;">[[{{{Platform2}}}]]{{#ifeq:{{{Platform2|}}}|Unknown platform||[[Category:Episodes with {{{Platform2}}} games|Episode {{padleft:{{{EpisodeNum}}}|3|0}}]]}}</td>
<tr>
+
    </tr>
<th style="text-align:right;vertical-align:top;">Published</th>
+
  }}
<td style="vertical-align:top;">{{{Publisher2}}} {{{Year2}}}</td>
+
  <tr>
</tr>
+
    <th style="text-align:right;vertical-align:top;">Published</th>
}}
+
    <td style="vertical-align:top;">{{{Publisher2}}}, {{{Year2}}}</td>
{{#if:{{{Game3|}}}|<tr>
+
  </tr>
<th colspan="2" style="background-color:#ccccff;">{{{Game3}}}</th>
+
}}{{#if:{{{Game3|}}}|
</tr>
+
  <tr>
{{#if:{{{Platform3|}}}|<tr>
+
    <th colspan="2" style="background-color:#caccff;">{{{Game3}}}</th>
<th style="text-align:right;vertical-align:top;">Platform</th>
+
  </tr>
<td style="vertical-align:top;">[[{{{Platform3}}}]]</td>
+
  {{#if:{{{Platform3|}}}|
</tr>}}
+
    <tr>
<tr>
+
      <th style="text-align:right;vertical-align:top;">Platform</th>
<th style="text-align:right;vertical-align:top;">Published</th>
+
      <td style="vertical-align:top;">[[{{{Platform3}}}]]{{#ifeq:{{{Platform3}}}|Unknown platform||[[Category:Episodes with {{{Platform3}}} games|Episode {{padleft:{{{EpisodeNum}}}|3|0}}]]}}</td>
<td style="vertical-align:top;">{{{Publisher3}}} {{{Year3}}}</td>
+
    </tr>
</tr>
+
  }}
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Published</th>
 +
    <td style="vertical-align:top;">{{{Publisher3}}}, {{{Year3}}}</td>
 +
  </tr>
 
}}
 
}}
 
|-
 
|-
! colspan="2" style="background-color:#cccccc;"|Credits
+
! colspan="2" style="background-color:#ccced2;"|Credits
 
|-
 
|-
 
! style="text-align:right;vertical-align:top;"|Hosts
 
! style="text-align:right;vertical-align:top;"|Hosts
| style="vertical-align:top;"|{{{Hosts}}}
+
| style="vertical-align:top;"|{{Linked name list|Names={{{Hosts}}}}}
{{#if:{{{Director|}}}|<tr>
+
{{#if:{{{Director|}}}|
<th style="text-align:right;vertical-align:top;">Director</th>
+
  <tr>
<td style="vertical-align:top;">{{{Director}}}</td>
+
    <th style="text-align:right;vertical-align:top;">Director</th>
</tr>}}
+
    <td style="vertical-align:top;">{{Linked name list|Names={{{Director}}} }}</td>
{{#if:{{{DirectorOfCinema|}}}|<tr>
+
  </tr>
<th style="text-align:right;vertical-align:top;">Director of cinematography</th>
+
}}{{#if:{{{DirectorOfCinema|}}}|
<td style="vertical-align:top;">{{{DirectorOfCinema}}}</td>
+
  <tr>
</tr>}}
+
    <th style="text-align:right;vertical-align:top;">Director of cinematography</th>
{{#if:{{{ExecProducers|}}}|<tr>
+
    <td style="vertical-align:top;">{{Linked name list|Names={{{DirectorOfCinema}}} }}</td>
<th style="text-align:right;vertical-align:top;">Executive producers</th>
+
  </tr>
<td style="vertical-align:top;">{{{ExecProducers}}}</td>
+
}}{{#if:{{{ExecProducers|}}}|
</tr>}}
+
  <tr>
{{#if:{{{Editing|}}}|<tr>
+
    <th style="text-align:right;vertical-align:top;">Executive producers</th>
<th style="text-align:right;vertical-align:top;">Editing</th>
+
    <td style="vertical-align:top;">{{Linked name list|Names={{{ExecProducers}}} }}</td>
<td style="vertical-align:top;">{{{Editing}}}</td>
+
  </tr>
</tr>}}
+
}}{{#if:{{{Editing|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Editing</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{Editing}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{Graphics|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Graphics</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{Graphics}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{Music|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Music</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{Music}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{ProductionAsst|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Production assistant</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{ProductionAsst}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{Gaffer|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Gaffer</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{Gaffer}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{ProductionDesigner|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Production designer</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{ProductionDesigner}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{Makeup|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Makeup</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{Makeup}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{LineProducer|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Line producer</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{LineProducer}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{ProductionCoordinator|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Production coordinator</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{ProductionCoordinator}}} }}</td>
 +
  </tr>
 +
}}
 
|-
 
|-
! colspan="2" style="background-color:#cccccc;"|Stats <small>(as of {{#dateformat:{{{StatDate}}}|mdy}})</small>
+
! colspan="2" style="background-color:#ccced2;"|Stats <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 84: Line 160:
 
! style="text-align:right;vertical-align:top;"|Duration
 
! style="text-align:right;vertical-align:top;"|Duration
 
| style="text-align:right;vertical-align:top;"|{{{Duration}}}
 
| style="text-align:right;vertical-align:top;"|{{{Duration}}}
{{#if:{{{Views|}}}|<tr>
+
{{#if:{{{Views|}}}|
<th style="text-align:right;vertical-align:top;">Views</th>
+
  <tr>
<td style="text-align:right;vertical-align:top;">{{formatnum:{{{Views}}} }}</td>
+
    <th style="text-align:right;vertical-align:top;">Views</th>
</tr>}}
+
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Views}}} }}</td>
{{#if:{{{Likes|}}}|<tr>
+
  </tr>
<th style="text-align:right;vertical-align:top;">Likes</th>
+
}}
<td style="text-align:right;vertical-align:top;">{{formatnum:{{{Likes}}} }}</td>
+
{{#if:{{{Likes|}}}|
</tr>}}
+
  <tr>
{{#if:{{{Comments|}}}|<tr>
+
    <th style="text-align:right;vertical-align:top;">Likes</th>
<th style="text-align:right;vertical-align:top;">Comments</th>
+
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Likes}}} }}</td>
<td style="text-align:right;vertical-align:top;">{{formatnum:{{{Comments}}} }}</td>
+
  </tr>
</tr>}}
+
}}
|}
+
{{#if:{{{Comments|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Comments</th>
 +
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Comments}}} }}</td>
 +
  </tr>
 +
}}
 +
|}[[Category:Co-Optitude episodes|Episode {{padleft:{{{EpisodeNum}}}|3|0}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 09:49, 26 April 2020

Usage example:

{{Episode summary
  |EpisodeNum=1
  |Game1=Game Name
  |Platform1=SNES
  |Publisher1=Capcom
  |Year1=1993
  |Game2=Game Name
  |Platform2=SNES
  |Publisher2=Capcom
  |Year2=1993
  |Game3=Game Name
  |Platform3=SNES
  |Publisher3=Capcom
  |Year3=1993
  |Hosts=Felicia Day; Ryon Day
  |Director=Sean Becker
  |DirectorOfCinema=Someone Else
  |ExecProducers=Felicia Day; Sheri Bryant
  |Editing=Sean Becker
  |Graphics=First Last
  |Music=First Last
  |ProductionAsst=First Last
  |Gaffer=First Last
  |ProductionDesigner=First Last
  |Makeup=First Last
  |LineProducer=First Last
  |ProductionCoordinator=First Last
  |StatDate=2020-01-12
  |AirDate=2013-06-03
  |Duration=14:25
  |Views=382078
  |Likes=8138
  |Comments=1080}}