Template:Episode: Difference between revisions
From MediaWiki
Jump to navigationJump to search
Pretty much all of our templates are going to need better documentation when we get the chance, I agree. Here's my own notes for now. |
Cyberlink420 (talk | contribs) mNo edit summary |
||
| (57 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="width: | <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|ǂ}}}}}|«]]'''}} | |class="tti_buttonlink"|{{#if:{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|-1|alt={{{prev|ǂ}}}}}|'''[[{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|-1|alt={{{prev|ǂ}}}}}|«]]'''}} | ||
|{{#if: {{{series|{{{1|{{{ep|{{{2|}}}}}}}}}}}} | '''''{{Utility/tvseries|serieslink={{{series|{{{1|}}}}}}}}'' ep [[{{FULLPAGENAME}}|{{{ep|{{{2|}}}}}}]]''' }} | |{{#if: {{{series|{{{1|{{{ep|{{{2|}}}}}}}}}}}} | '''''{{Utility/tvseries|serieslink={{{series|{{{1|}}}}}}}}'' ep [[{{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|ǂ}}}}}|»]]'''}} | |class="tti_buttonlink"|{{#if:{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|1|alt={{{next|ǂ}}}}}|'''[[{{offsetep|{{{series|{{{1|}}}}}}|{{{ep|{{{2|}}}}}}|1|alt={{{next|ǂ}}}}}|»]]'''}} | ||
{{#if: {{{prev2|{{{next2|{{{series2|{{{ep2|}}}}}}}}}}}}| | {{#if: {{{prev2|{{{next2|{{{series2|{{{ep2|}}}}}}}}}}}}| | ||
| Line 12: | Line 12: | ||
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{prev2|}}} | '''[[{{{prev2|}}}|«]]'''}} | {{!}}class="tti_buttonlink"{{!}}{{#if:{{{prev2|}}} | '''[[{{{prev2|}}}|«]]'''}} | ||
{{!}}{{#if: {{{series2|{{{ep2|}}}}}} | '''''{{Utility/tvseries|serieslink={{{series2|}}}}}'' ep [[{{FULLPAGENAME}}|{{{ep2|{{{ep|{{{2|}}}}}}}}}]]''' }} | {{!}}{{#if: {{{series2|{{{ep2|}}}}}} | '''''{{Utility/tvseries|serieslink={{{series2|}}}}}'' ep [[{{FULLPAGENAME}}|{{{ep2|{{{ep|{{{2|}}}}}}}}}]]''' }} | ||
{{!}}{{#if: {{{seriess2|}}} | '''''{{{seriess2|}}}''''' }} | {{!}}{{#if: {{{seriess2|}}} | '''''{{{seriess2|}}}''''' }}{{#if:{{{otherseries2|}}}|'''{{{otherseries2|}}}'''}} | ||
}} | |||
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{next2|}}} | '''[[{{{next2|}}}|»]]'''}} | {{!}}class="tti_buttonlink"{{!}}{{#if:{{{next2|}}} | '''[[{{{next2|}}}|»]]'''}} | ||
{{#if: {{{prev3|{{{next3|{{{series3|{{{ep3|}}}}}}}}}}}}| | |||
{{!}}- class="tt1_secondarynav" | |||
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{prev3|}}} | '''[[{{{prev3|}}}|«]]'''}} | |||
{{!}}{{#if: {{{series3|{{{ep3|}}}}}} | '''{{{series3|}}} ep [[{{FULLPAGENAME}}|{{{ep3|}}}]]''' }} | |||
{{!}}{{#if: {{{seriess3|}}} | '''''{{{seriess3|}}}''''' }} | |||
{{!}}class="tti_buttonlink"{{!}}{{#if:{{{next3|}}} | '''[[{{{next3|}}}|»]]'''}} | |||
}} | }} | ||
|} | |} | ||
|- | |- | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!}} colspan="2" style="font-size: 12px; background-color:#ffffff;" align="center" {{!}} [[ | {{!}} 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 code''' | {{!}} '''Production code''' | ||
{{!}}{{!}} {{{production code|}}}}} | {{!}}{{!}} {{{production code|}}}}} | ||
|- | |||
{{#if: {{{season|}}} | | |||
{{!}} '''Season''' | |||
{{!}}{{!}} {{{season|}}}}} | |||
|- | |||
{{#if: {{{season ep|}}} | | |||
{{!}} '''No. in season''' | |||
{{!}}{{!}} {{{season ep|}}}}} | |||
|- | |- | ||
{{#if: {{{production company|}}} | | {{#if: {{{production company|}}} | | ||
| Line 38: | Line 52: | ||
{{!}} '''Release date''' | {{!}} '''Release date''' | ||
{{!}}{{!}} {{{release date|}}}}} | {{!}}{{!}} {{{release date|}}}}} | ||
|- | |||
{{#if: {{{original presentation|}}} | | |||
{{!}} '''Original presentation''' | |||
{{!}}{{!}} {{{original presentation|}}}}} | |||
|- | |- | ||
{{#if: {{{writer|}}} | | {{#if: {{{writer|}}} | | ||
| Line 50: | Line 68: | ||
{{!}} '''Written by''' | {{!}} '''Written by''' | ||
{{!}}{{!}} {{{written by|}}}}} | {{!}}{{!}} {{{written by|}}}}} | ||
|- | |||
{{#if: {{{story by|}}} | | |||
{{!}} '''Story by''' | |||
{{!}}{{!}} {{{story by|}}}}} | |||
|- | |||
{{#if: {{{script by|}}} | | |||
{{!}} '''Script by''' | |||
{{!}}{{!}} {{{script by|}}}}} | |||
|- | |||
{{#if: {{{teleplay by|}}} | | |||
{{!}} '''Teleplay by''' | |||
{{!}}{{!}} {{{teleplay by|}}}}} | |||
|- | |||
{{#if: {{{englishadaptation||}}} | | |||
{{!}} '''English adaptation''' | |||
{{!}}{{!}} {{{englishadaptation|}}}}} | |||
|- | |- | ||
{{#if: {{{director|}}} | | {{#if: {{{director|}}} | | ||
| Line 57: | Line 91: | ||
{{#if: {{{directors|}}} | | {{#if: {{{directors|}}} | | ||
{{!}} '''Directors''' | {{!}} '''Directors''' | ||
{{!}}{{!}} {{{ | {{!}}{{!}} {{{directors|}}}}} | ||
|- | |- | ||
{{#if: {{{directed by|}}} | | {{#if: {{{directed by|}}} | | ||
| Line 63: | Line 97: | ||
{{!}}{{!}} {{{directed by|}}}}} | {{!}}{{!}} {{{directed by|}}}}} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{compiled by|}}} | | ||
{{!}} ''' | {{!}} '''Compiled by''' | ||
{{!}}{{!}} {{{ | {{!}}{{!}} {{{compiled by|}}}}} | ||
|- | |- | ||
{{#if: {{{animation studio|}}} | | {{#if: {{{animation studio|}}} | | ||
{{!}} '''Animation studio''' | {{!}} '''Animation studio''' | ||
{{!}}{{!}} {{{animation studio|}}}}} | {{!}}{{!}} {{{animation studio|}}}}} | ||
|- | |||
{{#if: {{{creative consultants|}}} | | |||
{{!}} '''Creative consultants''' | |||
{{!}}{{!}} {{{creative consultants|}}}}} | |||
|- | |||
{{#if: {{{associate producer|}}} | | |||
{{!}} '''Associate producer''' | |||
{{!}}{{!}} {{{associate producer|}}}}} | |||
|- | |||
{{#if: {{{writer producer|}}} | | |||
{{!}} '''Writer & producer''' | |||
{{!}}{{!}} {{{writer producer|}}}}} | |||
|- | |||
{{#if: {{{executive producer|}}} | | |||
{{!}} '''Executive producer''' | |||
{{!}}{{!}} {{{executive producer|}}}}} | |||
|- | |||
{{#if: {{{post production services|}}} | | |||
{{!}} '''Post-production services''' | |||
{{!}}{{!}} {{{post production services|}}}}} | |||
|- | |- | ||
{{#if: {{{continuity|}}} | | {{#if: {{{continuity|}}} | | ||
{{!}} '''Continuity''' | {{!}} '''Continuity''' | ||
{{!}}{{!}} {{{continuity|}}}}} | {{!}}{{!}} {{{continuity|}}}}} | ||
|- | |||
{{#if: {{{chronology|}}} | | |||
{{!}} '''Chronology''' | |||
{{!}}{{!}} {{{chronology|}}}}} | |||
|- | |||
{{#if: {{{packaged with|}}} | | |||
{{!}} '''Packaged 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]] |YouTube (Part 1)=[[File:Yt icon rgb.png]] |Netflix=[[File:Netflix Icon.png]] |Paramount+=[[File:Pplus Icon.png]] |}}[{{{video|}}} Watch this episode{{#if: {{{videosite|}}}| on {{{videosite|}}}|}}]{{#if: {{{video2|}}} |<br />{{#switch:{{{videosite2|}}}|YouTube=[[File:Yt icon rgb.png]] |YouTube (Part 2)=[[File:Yt icon rgb.png]] |Netflix=[[File:Netflix Icon.png]] |Paramount+=[[File:Pplus Icon.png]] |}}[{{{video2|}}} Watch this episode{{#if: {{{videosite2|}}}| on {{{videosite2|}}}|}}]}}{{#if: {{{video3|}}} |<br />{{#switch:{{{videosite3|}}}|YouTube=[[File:Yt icon rgb.png]] |YouTube (Part 3)=[[File:Yt icon rgb.png]] |Netflix=[[File:Netflix Icon.png]] |Paramount+=[[File:Pplus Icon.png]] |}}[{{{video3|}}} Watch this episode{{#if: {{{videosite3|}}}| on {{{videosite3|}}}|}}]}} | |||
}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{ | {{doc}} | ||
[[Category:Episode templates|Episode]] | |||
[[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)]
}}

