Difference between revisions of "Template:Episode summary"

From Co-Optitude Wiki
Jump to navigation Jump to search
 
(33 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
* `AirDate`
+
  |Year2=1993
* `Duration`
+
  |Game3=Game Name
* `Views`
+
  |Platform3=SNES
* `Likes`
+
  |Publisher3=Capcom
* `Comments`
+
  |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}}
 +
</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"|{{{Game1}}}
+
| colspan="2" style="text-align:center; background-color:white;"|
 +
<small>{{#ifexpr:{{{EpisodeNum|}}} > 1| [[Episode {{#expr:{{{EpisodeNum|}}} - 1}}|Prev]] | Prev }}</small>
 +
- <big>'''Episode {{{EpisodeNum}}}'''</big> -
 +
<small>{{#ifexpr:{{{EpisodeNum|}}} < 149| [[Episode {{#expr:{{{EpisodeNum|}}} + 1}}|Next]] | Next }}</small><br/>
 +
[[List of games|Game list]] - [[List of Co-Optitude episodes|Episode list]]
 +
|-
 +
! colspan="2" style="background-color:#caccff;"|{{{Game1}}}
 
{{#if:{{{Platform1|}}}|
 
{{#if:{{{Platform1|}}}|
|-
+
  <tr>
! style="text-align:right;vertical-align:top;"|Platform
+
    <th style="text-align:right;vertical-align:top;">Platform</th>
| style="vertical-align:top;"|[[{{{Platform1}}}]]
+
    <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|}}}|
 +
  <tr>
 +
    <th colspan="2" style="background-color:#caccff;">{{{Game2}}}</th>
 +
  </tr>
 +
  {{#if:{{{Platform2|}}}|
 +
    <tr>
 +
      <th style="text-align:right;vertical-align:top;">Platform</th>
 +
      <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>
 +
}}{{#if:{{{Game3|}}}|
 +
  <tr>
 +
    <th colspan="2" style="background-color:#caccff;">{{{Game3}}}</th>
 +
  </tr>
 +
  {{#if:{{{Platform3|}}}|
 +
    <tr>
 +
      <th style="text-align:right;vertical-align:top;">Platform</th>
 +
      <td style="vertical-align:top;">[[{{{Platform3}}}]]{{#ifeq:{{{Platform3}}}|Unknown platform||[[Category:Episodes with {{{Platform3}}} games|Episode {{padleft:{{{EpisodeNum}}}|3|0}}]]}}</td>
 +
    </tr>
 +
  }}
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Published</th>
 +
    <td style="vertical-align:top;">{{{Publisher3}}}, {{{Year3}}}</td>
 +
  </tr>
 +
}}
 
|-
 
|-
! colspan="2"|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|}}}|
 
{{#if:{{{Director|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Director</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{Director}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{DirectorOfCinema|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Director of cinematography</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{DirectorOfCinema}}} }}</td>
 +
  </tr>
 +
}}{{#if:{{{ExecProducers|}}}|
 +
  <tr>
 +
    <th style="text-align:right;vertical-align:top;">Executive producers</th>
 +
    <td style="vertical-align:top;">{{Linked name list|Names={{{ExecProducers}}} }}</td>
 +
  </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>
 +
}}
 
|-
 
|-
! style="text-align:right;vertical-align:top;"|Director
+
! colspan="2" style="background-color:#ccced2;"|Stats <small>(as of {{#dateformat:{{{StatDate}}}|mdy}})</small>
| style="vertical-align:top;"|{{{Director}}}
 
|}}
 
{{#if:{{{DirectorOfCinema|}}}|
 
|-
 
! style="text-align:right;vertical-align:top;"|Director of cinematography
 
| style="vertical-align:top;"|{{{DirectorOfCinema}}}
 
|}}
 
{{#if:{{{ExecProducers|}}}|
 
|-
 
! style="text-align:right;vertical-align:top;"|Executive producers
 
| style="vertical-align:top;"|{{{ExecProducers}}}
 
|}}
 
{{#if:{{{Editing|}}}|
 
|-
 
! style="text-align:right;vertical-align:top;"|Editing
 
| style="vertical-align:top;"|{{{Editing}}}
 
|}}
 
|-
 
! colspan="2"|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 65: Line 161:
 
| style="text-align:right;vertical-align:top;"|{{{Duration}}}
 
| style="text-align:right;vertical-align:top;"|{{{Duration}}}
 
{{#if:{{{Views|}}}|
 
{{#if:{{{Views|}}}|
|-
+
  <tr>
! style="text-align:right;vertical-align:top;"|Views
+
    <th style="text-align:right;vertical-align:top;">Views</th>
| style="text-align:right;vertical-align:top;"|{{formatnum:{{{Views}}} }}
+
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Views}}} }}</td>
|}}
+
  </tr>
 +
}}
 
{{#if:{{{Likes|}}}|
 
{{#if:{{{Likes|}}}|
|-
+
  <tr>
! style="text-align:right;vertical-align:top;"|Likes
+
    <th style="text-align:right;vertical-align:top;">Likes</th>
| style="text-align:right;vertical-align:top;"|{{formatnum:{{{Likes}}} }}
+
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Likes}}} }}</td>
|}}
+
  </tr>
 +
}}
 
{{#if:{{{Comments|}}}|
 
{{#if:{{{Comments|}}}|
|-
+
  <tr>
! style="text-align:right;vertical-align:top;"|Comments
+
    <th style="text-align:right;vertical-align:top;">Comments</th>
| style="text-align:right;vertical-align:top;"|{{formatnum:{{{Comments}}} }}
+
    <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}}