Template:Episode: Difference between revisions

From MediaWiki
Jump to navigationJump to search
SanityOrMadness (talk | contribs)
This REALLY needs better, on-page, documentation - "series" codes aren't obvious, the non-optional parameter "ep" wasn't even in the list...
mNo edit summary
 
(58 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width: 20em;"
<includeonly>{| class="infobox" style="width: 315px;"
|- style="background-color:#e7d492;text-align:center;font-size:12px;"
|- style="background-color:#e7d492;text-align:center;font-size:12px;"
| colspan="2" |
| colspan="2" |
{| width="100%"
{| width="100%" style="background-color:transparent"
|- style="font-size:14px;"
|- style="font-size:14px;"
|class="tti_buttonlink"|{{#if:{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|-1|alt={{{prev|ǂ}}}}}|'''[[{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|-1|alt={{{prev|ǂ}}}}}|&laquo;]]'''}}
|class="tti_buttonlink"|{{#if:{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|-1|alt={{{prev|ǂ}}}}}|'''[[{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|-1|alt={{{prev|ǂ}}}}}|&laquo;]]'''}}
|{{#if: {{{series|{{{1|{{{ep|{{{2|}}}}}}}}}}}} | '''''{{Utility/tvseries|serieslink={{{series|{{{1|}}}}}}}}''&nbsp;ep&nbsp;[[{{FULLPAGENAME}}|{{{ep|{{{2|}}}}}}]]''' }}
|{{#if: {{{series|{{{1|{{{ep|{{{2|}}}}}}}}}}}} | '''''{{Utility/tvseries|serieslink={{{series|{{{1|}}}}}}}}''&nbsp;ep&nbsp;[[{{FULLPAGENAME}}|{{{ep|{{{2|}}}}}}]]''' }}
|{{#if: {{{seriess|}}} | '''''{{{seriess|}}}'''''}}
|{{#if: {{{seriess|}}} | '''''{{{seriess|}}}'''''}}{{#if:{{{otherseries|}}}|'''{{{otherseries|}}}'''}}
|class="tti_buttonlink"|{{#if:{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|1|alt={{{next|ǂ}}}}}|'''[[{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|1|alt={{{next|ǂ}}}}}|&raquo;]]'''}}
|class="tti_buttonlink"|{{#if:{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|1|alt={{{next|ǂ}}}}}|'''[[{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|1|alt={{{next|ǂ}}}}}|&raquo;]]'''}}
{{#if: {{{prev2|{{{next2|{{{series2|{{{ep2|}}}}}}}}}}}}|
{{#if: {{{prev2|{{{next2|{{{series2|{{{ep2|}}}}}}}}}}}}|
Line 12: Line 12:
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{prev2|}}} | '''[[{{{prev2|}}}|&laquo;]]'''}}
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{prev2|}}} | '''[[{{{prev2|}}}|&laquo;]]'''}}
{{!}}{{#if: {{{series2|{{{ep2|}}}}}} | '''''{{Utility/tvseries|serieslink={{{series2|}}}}}''&nbsp;ep&nbsp;[[{{FULLPAGENAME}}|{{{ep2|{{{ep|{{{2|}}}}}}}}}]]''' }}
{{!}}{{#if: {{{series2|{{{ep2|}}}}}} | '''''{{Utility/tvseries|serieslink={{{series2|}}}}}''&nbsp;ep&nbsp;[[{{FULLPAGENAME}}|{{{ep2|{{{ep|{{{2|}}}}}}}}}]]''' }}
{{!}}{{#if: {{{seriess2|}}} | '''''{{{seriess2|}}}''''' }}
{{!}}{{#if: {{{seriess2|}}} | '''''{{{seriess2|}}}''''' }}{{#if:{{{otherseries2|}}}|'''{{{otherseries2|}}}'''}}
}}
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{next2|}}} | '''[[{{{next2|}}}|&raquo;]]'''}}
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{next2|}}} | '''[[{{{next2|}}}|&raquo;]]'''}}
{{#if: {{{prev3|{{{next3|{{{series3|{{{ep3|}}}}}}}}}}}}|
{{!}}- class="tt1_secondarynav"
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{prev3|}}} | '''[[{{{prev3|}}}|&laquo;]]'''}}
{{!}}{{#if: {{{series3|{{{ep3|}}}}}} | '''{{{series3|}}}&nbsp;ep&nbsp;[[{{FULLPAGENAME}}|{{{ep3|}}}]]''' }}
{{!}}{{#if: {{{seriess3|}}} | '''''{{{seriess3|}}}''''' }}
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{next3|}}} | '''[[{{{next3|}}}|&raquo;]]'''}}
  }}
  }}
|}
|}
|-
|-
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
{{!}} colspan="2" style="font-size: 12px; background-color:#ffffff;" align="center" {{!}} [[Image:{{{image|}}}|300px]]{{#if: {{{caption|}}} |<br>{{{caption|}}}}}}}
{{!}} colspan="2" style="font-size: 12px; background-color:#ffffff;" align="center" {{!}} [[File:{{{image|}}}|300px]]{{#if: {{{caption|}}} |<br>{{{caption|}}}}}}}
|-
|-
|colspan="2" style="font-size: 14px; background-color:#e7d492; color:black;font-weight:bold;" align="center"  {{!}} {{{title|}}} {{#if: {{{japanese|}}}|<div style="font-size:x-small;font-weight:normal;">{{{japanese|}}} {{#if: {{{romaji|}}}|<br>(''{{{romaji|}}}'')}} {{#if:{{{translation|}}}|<br>"{{{translation|}}}"}}</div>}}  
|colspan="2" style="font-size: 14px; background-color:#e7d492; color:black;font-weight:bold;" align="center"  {{!}} {{{title|}}} {{#if: {{{japanese|}}}|<div style="font-size:x-small;font-weight:normal;"> <font size="2">{{ruby|{{{japanese|}}}|{{{furigana|}}}}}</font> {{#if: {{{romaji|}}}|<br>(''{{{romaji|}}}'')}} {{#if:{{{translation|}}}|<br>"{{{translation|}}}"}}</div>}}  
|-
|-
{{#if: {{{production code|}}} |
{{#if: {{{production code|}}} |
{{!}} '''Production&nbsp;code'''
{{!}} '''Production&nbsp;code'''
{{!}}{{!}} {{{production code|}}}}}
{{!}}{{!}} {{{production code|}}}}}
|-
{{#if: {{{season|}}} |
{{!}} '''Season'''
{{!}}{{!}} {{{season|}}}}}
|-
{{#if: {{{season ep|}}} |
{{!}} '''No.&nbsp;in&nbsp;season'''
{{!}}{{!}} {{{season ep|}}}}}
|-
|-
{{#if: {{{production company|}}} |
{{#if: {{{production company|}}} |
Line 38: Line 52:
{{!}} '''Release&nbsp;date'''
{{!}} '''Release&nbsp;date'''
{{!}}{{!}} {{{release date|}}}}}
{{!}}{{!}} {{{release date|}}}}}
|-
{{#if: {{{original presentation|}}} |
{{!}} '''Original presentation'''
{{!}}{{!}} {{{original presentation|}}}}}
|-
|-
{{#if: {{{writer|}}} |
{{#if: {{{writer|}}} |
Line 50: Line 68:
{{!}} '''Written&nbsp;by'''
{{!}} '''Written&nbsp;by'''
{{!}}{{!}} {{{written by|}}}}}
{{!}}{{!}} {{{written by|}}}}}
|-
{{#if: {{{story by|}}} |
{{!}} '''Story&nbsp;by'''
{{!}}{{!}} {{{story by|}}}}}
|-
{{#if: {{{script by|}}} |
{{!}} '''Script&nbsp;by'''
{{!}}{{!}} {{{script by|}}}}}
|-
{{#if: {{{teleplay by|}}} |
{{!}} '''Teleplay&nbsp;by'''
{{!}}{{!}} {{{teleplay by|}}}}}
|-
{{#if: {{{englishadaptation||}}} |
{{!}} '''English adaptation'''
{{!}}{{!}} {{{englishadaptation|}}}}}
|-
|-
{{#if: {{{director|}}} |
{{#if: {{{director|}}} |
Line 57: Line 91:
{{#if: {{{directors|}}} |
{{#if: {{{directors|}}} |
{{!}} '''Directors'''
{{!}} '''Directors'''
{{!}}{{!}} {{{Directors|}}}}}
{{!}}{{!}} {{{directors|}}}}}
|-
|-
{{#if: {{{directed by|}}} |
{{#if: {{{directed by|}}} |
Line 63: Line 97:
{{!}}{{!}} {{{directed by|}}}}}
{{!}}{{!}} {{{directed by|}}}}}
|-
|-
{{#if: {{{complied by|}}} |
{{#if: {{{compiled by|}}} |
{{!}} '''Complied&nbsp;by'''
{{!}} '''Compiled&nbsp;by'''
{{!}}{{!}} {{{complied by|}}}}}
{{!}}{{!}} {{{compiled by|}}}}}
|-
|-
{{#if: {{{animation studio|}}} |
{{#if: {{{animation studio|}}} |
{{!}} '''Animation&nbsp;studio'''
{{!}} '''Animation&nbsp;studio'''
{{!}}{{!}} {{{animation studio|}}}}}
{{!}}{{!}} {{{animation studio|}}}}}
|-
{{#if: {{{creative consultants|}}} |
{{!}} '''Creative&nbsp;consultants'''
{{!}}{{!}} {{{creative consultants|}}}}}
|-
{{#if: {{{associate producer|}}} |
{{!}} '''Associate&nbsp;producer'''
{{!}}{{!}} {{{associate producer|}}}}}
|-
{{#if: {{{writer producer|}}} |
{{!}} '''Writer&nbsp;&&nbsp;producer'''
{{!}}{{!}} {{{writer producer|}}}}}
|-
{{#if: {{{executive producer|}}} |
{{!}} '''Executive&nbsp;producer'''
{{!}}{{!}} {{{executive producer|}}}}}
|-
{{#if: {{{post production services|}}} |
{{!}} '''Post-production&nbsp;services'''
{{!}}{{!}} {{{post production services|}}}}}
|-
|-
{{#if: {{{continuity|}}} |
{{#if: {{{continuity|}}} |
{{!}} '''Continuity'''
{{!}} '''Continuity'''
{{!}}{{!}} {{{continuity|}}}}}
{{!}}{{!}} {{{continuity|}}}}}
|-
{{#if: {{{chronology|}}} |
{{!}} '''Chronology'''
{{!}}{{!}} {{{chronology|}}}}}
|-
{{#if: {{{packaged with|}}} |
{{!}} '''Packaged&nbsp;with'''
{{!}}{{!}} {{{packaged with|}}}}}
|-
{{#if: {{{credits|}}} |
{{!}} colspan="2" style="font-size: 14px; background-color:#e7d492; color:black;font-weight:bold;" align="center" {{!}} [[{{{credits|}}}|Credits]]}}
|-
{{#if: {{{video|}}} |
{{!}} colspan="2" style="font-size: 14px; background-color:#e7d492; color:black;font-weight:bold;" align="center" {{!}} {{#switch:{{{videosite|}}}|YouTube=[[File:Yt icon rgb.png]]&nbsp;|YouTube (Part 1)=[[File:Yt icon rgb.png]]&nbsp;|Netflix=[[File:Netflix Icon.png]]&nbsp;|Paramount+=[[File:Pplus Icon.png]]&nbsp;|}}[{{{video|}}} Watch this episode{{#if: {{{videosite|}}}|&nbsp;on {{{videosite|}}}|}}]{{#if: {{{video2|}}} |<br />{{#switch:{{{videosite2|}}}|YouTube=[[File:Yt icon rgb.png]]&nbsp;|YouTube (Part 2)=[[File:Yt icon rgb.png]]&nbsp;|Netflix=[[File:Netflix Icon.png]]&nbsp;|Paramount+=[[File:Pplus Icon.png]]&nbsp;|}}[{{{video2|}}} Watch this episode{{#if: {{{videosite2|}}}|&nbsp;on {{{videosite2|}}}|}}]}}{{#if: {{{video3|}}} |<br />{{#switch:{{{videosite3|}}}|YouTube=[[File:Yt icon rgb.png]]&nbsp;|YouTube (Part 3)=[[File:Yt icon rgb.png]]&nbsp;|Netflix=[[File:Netflix Icon.png]]&nbsp;|Paramount+=[[File:Pplus Icon.png]]&nbsp;|}}[{{{video3|}}} Watch this episode{{#if: {{{videosite3|}}}|&nbsp;on {{{videosite3|}}}|}}]}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{| style="background: transparent;"
{{doc}}
|<pre>{{episode|
[[Category:Episode templates|Episode]]
|series=
|ep=
|prev=
|next=
|series2=
|ep2=
|prev2=
|next2=
|title=
|japanese=
|image=
|caption=
|production code=
|production company=
|writer=
|writers=
|written by=
|director=
|directors=
|directed by=
|animation studio=
|airdate=
|continuity=
}}
</pre>
|}
 
For the credits, add them in the way the credits are in the issue, such as "|writer=" or "|written by=". If the credit style is not available, add it to the template or bring it up on the talk page.
 
[[Category:Episode templates]]
</noinclude>
</noinclude>

Latest revision as of 18:58, 15 January 2025

(Transcluded documentation: view)

For the credits, add them in the way the credits are in the episode, such as "|writer=" or "|written by=". If the credit style is not available, add it to the template or bring it up on the talk page.

Variables

{{episode|
|series=(series the episode is in (codes: g1, headmasters, masterforce, victory,
zone, g2, beast wars ii, beast wars neo, beast machines, rid, armada, energon,
cybertron, animated))
|ep=(the episode number)
|prev=(previous episode (may be handled automatically for some of the series))
|next=(next episode (may be handled automatically for some of the series))
|series2=(second series the episode is in, if applicable (codes: g1, headmasters,
masterforce, victory, zone, g2, beast wars ii, beast wars neo,
beast machines, rid, armada, energon, cybertron, animated))
|ep2=(the second series episode number, if applicable)
|prev2=(previous episode in the second series, if applicable)
|next2=(next episode in the second series, if applicable)
|title=(title of the episode)
|japanese=(title in Japanese for Japanese-origin episodes, if applicable)
|romaji=(romanization of Japanese title)
|translation=(translation of Japanese title)
|image=(some representative image)
|caption=(caption for the image)
|season=(the show season which the episode is part of)
|season ep=(the episode's number within the season)
|production code=(episode's production code, if known)
|production company=(wikilink to the company that produced the episode)
|writer=
|director=
|animation studio=(wikilink to the studio that animated the episode)
|airdate=(the date the episode aired)
|continuity=(wikilink to the continuity the episode takes place in)
|credits=(wikilink to the credits page for this episode/special/film, if available)
|video=(link to official upload of episode on external streaming site)
|videosite=(name of site the aforementioned upload is hosted on)
|video2=(link to second official upload of episode on external streaming site)
|videosite2=(name of site the aforementioned upload is hosted on)
}}

Everything

{{episode
|series=
|ep=
|prev=
|next=
|series2=
|ep2=
|prev2=
|next2=
|series3=
|ep3=
|prev3=
|next3=
|offsetep=
|otherseries=
|seriess=
|seriess2= 
|seriess3=
|title=
|japanese=
|furigana=
|romaji=
|translation=
|image=
|caption=
|season=	[Season]
|season ep=	[No. in season]
|production code=	[Production code]
|production company=	[Production company]
|airdate=	[Airdate]
|release date=	[Release date]
|original presentation=	[Original presentation]
|writer=	[Writer]
|writers=	[Writers]
|written by=	[Written by]
|story by=	[Story by]
|script by=	[Script by]
|director=	[Director]
|directors=	[Directors]
|directed by=	[Directed by]
|compiled by=	[Compiled by]
|animation studio=	[Animation studio]
|creative consultants=	[Creative consultants]
|associate producer=	[Associate producer]
|writer producer=	[Writer & producer]
|executive producer=	[Executive producer]
|post production services=	[Post-production services]
|continuity=	[Continuity]
|packaged with=	[Packaged with]
|credits=	[Credits]
|video=	[Watch this video on (videosite)]
|video2=	[Watch this video on (videosite2)]
}}