Difference between revisions of "Template:Episode summary"

From Co-Optitude Wiki
Jump to navigation Jump to search
 
(36 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;"|
{{#if:{{{Platform1}}}|
+
<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]]
 
|-
 
|-
! Platform
+
! colspan="2" style="background-color:#caccff;"|{{{Game1}}}
| [[{{{Platform1}}}]]
+
{{#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>
 +
}}
 
|-
 
|-
! Published
+
! style="text-align:right;vertical-align:top;"|Published
| {{{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
 
|-
 
|-
! Hosts
+
! style="text-align:right;vertical-align:top;"|Hosts
| {{{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>
 +
}}
 
|-
 
|-
! Director
+
! colspan="2" style="background-color:#ccced2;"|Stats <small>(as of {{#dateformat:{{{StatDate}}}|mdy}})</small>
| {{{Director}}}
 
|}}
 
{{#if:{{{DirectorOfCinema}}}|
 
 
|-
 
|-
! Director of cinematography
+
! style="text-align:right;vertical-align:top;"|First aired
| {{{DirectorOfCinema}}}
+
| style="text-align:right;vertical-align:top;"|{{#dateformat:{{{AirDate}}}|mdy}}
|}}
 
{{#if:{{{ExecProducers}}}|
 
 
|-
 
|-
! Executive producers
+
! style="text-align:right;vertical-align:top;"|Duration
| {{{ExecProducers}}}
+
| style="text-align:right;vertical-align:top;"|{{{Duration}}}
|}}
+
{{#if:{{{Views|}}}|
{{#if:{{{Editing}}}|
+
  <tr>
|-
+
    <th style="text-align:right;vertical-align:top;">Views</th>
! Editing
+
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Views}}} }}</td>
| {{{Editing}}}
+
  </tr>
|}}
+
}}
|-
+
{{#if:{{{Likes|}}}|
! colspan="2"|Stats <small>(as of 2020-01-12)</small>
+
  <tr>
|-
+
    <th style="text-align:right;vertical-align:top;">Likes</th>
! First aired
+
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Likes}}} }}</td>
| {{#dateformat:{{{AirDate}}}|mdy}}
+
  </tr>
|-
+
}}
! Duration
+
{{#if:{{{Comments|}}}|
| style="text-align:right;"|{{{Duration}}}
+
  <tr>
{{#if:{{{Views}}}|
+
    <th style="text-align:right;vertical-align:top;">Comments</th>
|-
+
    <td style="text-align:right;vertical-align:top;">{{formatnum:{{{Comments}}} }}</td>
! Views
+
  </tr>
| style="text-align:right;"|{{formatnum:{{{Views}}} }}
+
}}
|}}
+
|}[[Category:Co-Optitude episodes|Episode {{padleft:{{{EpisodeNum}}}|3|0}}]]
{{#if:{{{Likes}}}|
 
|-
 
! Likes
 
| style="text-align:right;"|{{formatnum:{{{Likes}}} }}
 
|}}
 
{{#if:{{{Comments}}}|
 
|-
 
! Comments
 
| style="text-align:right;"|{{formatnum:{{{Comments}}} }}
 
|}}
 
|}
 
 
</includeonly>
 
</includeonly>

Latest revision as of 10: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}}