FANDOM


(Redid credits link to match the current structure of the Credits page, with comments to make the nested logic slightly more readable. Put in CurrentSeason template where needed.)
(test fix for section links)
Line 42: Line 42:
 
| colspan="2" style="background-color:#ED3E97; color:#FFFFFF; font-size:110%; padding:0.25em; text-align:center;" | '''See also'''
 
| colspan="2" style="background-color:#ED3E97; color:#FFFFFF; font-size:110%; padding:0.25em; text-align:center;" | '''See also'''
 
|-
 
|-
{{#if:{{NAMESPACE}}||{{!}} colspan="2" style="text-align:center;" {{!}} [[Credits{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|#{{{Episode Name|{{PAGENAME}}}}}|{{#ifeq:{{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|27|#{{nameconvert|2|1}}|{{#ifexpr:{{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} > 0 and {{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} < 29|#First production span|{{#ifexpr:{{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} > 28 and {{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} < 53|#Second production span|{{#ifexpr:{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}#{{{Episode Name|{{PAGENAME}}}}}|<!--nothing else true, so link section-->#{{{Episode Name|{{PAGENAME}}}}}<!--ifexpr-season-->}}<!--ifexpr-2nd-->}}<!--ifexpr-1st-->}}<!--ifeq-27-->}}<!--iferror-->}}|credits]] • [[Transcripts/{{{Episode Name|{{PAGENAME}}}}}|transcript]] • [[{{{Episode Name|{{PAGENAME}}}}}/Gallery|gallery]] • [[List of allusions{{#ifexpr:{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|999|{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}|}}#{{{Episode Name|{{PAGENAME}}}}}|allusions]]<br />[[Forum:Speculation/Animation{{#ifexpr:{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|999|{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}|}}#{{{Episode Name|{{PAGENAME}}}}}|animation errors]] • [[Forum:Speculation/Statistics{{#ifexpr:{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|999|{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}|}}#{{{Episode Name|{{PAGENAME}}}}}|statistics]] • {{#ifexpr:{{has spec|ep|{{{Episode Name|{{PAGENAME}}}}}}}|[[Forum:Speculation/{{{Episode Name|{{PAGENAME}}}}}|speculation]]|[{{fullurl:Forum:Speculation/{{PAGENAMEE}}|action=edit&preload=Template:Forumheader/Speculation}} <span style="color: #CC2200;">speculation</span>]}}}}
+
{{#if:{{NAMESPACE}}||{{!}} colspan="2" style="text-align:center;" {{!}} [[Credits{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|#{{{Episode Name|{{PAGENAME}}}}}|{{#ifeq:{{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|27|<span></span>#{{nameconvert|2|1}}|{{#ifexpr:{{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} > 0 and {{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} < 29|<span></span>#First production span|{{#ifexpr:{{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} > 28 and {{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}} < 53|<span></span>#Second production span|{{#ifexpr:{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}#{{{Episode Name|{{PAGENAME}}}}}|<!--nothing else true, so link section--><span></span>#{{{Episode Name|{{PAGENAME}}}}}<!--ifexpr-season-->}}<!--ifexpr-2nd-->}}<!--ifexpr-1st-->}}<!--ifeq-27-->}}<!--iferror-->}}|credits]] • [[Transcripts/{{{Episode Name|{{PAGENAME}}}}}|transcript]] • [[{{{Episode Name|{{PAGENAME}}}}}/Gallery|gallery]] • [[List of allusions{{#ifexpr:{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|999|{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}|}}#{{{Episode Name|{{PAGENAME}}}}}|allusions]]<br />[[Forum:Speculation/Animation{{#ifexpr:{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|999|{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}|}}#{{{Episode Name|{{PAGENAME}}}}}|animation errors]] • [[Forum:Speculation/Statistics{{#ifexpr:{{#iferror:{{nameconvert/list|{{{Episode Name|{{PAGENAME}}}}}|x}}|999|{{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}}}}} < {{CurrentSeason}}|/Season {{eps|gs={{nameconvert|{{{Episode Name|{{PAGENAME}}}}}|r=oa}}|x}}|}}#{{{Episode Name|{{PAGENAME}}}}}|statistics]] • {{#ifexpr:{{has spec|ep|{{{Episode Name|{{PAGENAME}}}}}}}|[[Forum:Speculation/{{{Episode Name|{{PAGENAME}}}}}|speculation]]|[{{fullurl:Forum:Speculation/{{PAGENAMEE}}|action=edit&preload=Template:Forumheader/Speculation}} <span style="color: #CC2200;">speculation</span>]}}}}
 
|-
 
|-
 
| style="width: 50%" | || style="width: 50%" |
 
| style="width: 50%" | || style="width: 50%" |

Revision as of 02:49, August 29, 2018


[edit] [purge] Template-info.png Template documentation
Description
All parameters are optional. Data based on the episode and its number are all calculated automatically.
For Pony Life, you must specify an unnamed parameter with the content "Pony Life":
{{Infobox episode|Pony Life
...
}}
Syntax
Type {{infobox episode|...}} somewhere, with parameters as shown below.
Sample output
{{Infobox episode
|image           = The Flim Flam brothers S2E15.png
|Airdate         = January 28, 2012
|Written by      = [[M. A. Larson]]
|storyboard      = Kenny Park and Marshall Elliott
|featured        = [[Flim and Flam]]
|song(s)         = [[The Flim Flam Brothers (song)|The Flim Flam Brothers]]
}}

Results in...

The Super Speedy Cider Squeezy 6000
The Flim Flam brothers S2E15
Season №: {{{Season}}}
Season episode №: {{{seasonepisode}}}
Overall episode №: {{{overallepisode}}}
Original airdate: January 28, 2012
Written by: M. A. Larson
Storyboard: Kenny Park and Marshall Elliott
Featured characters: Flim and Flam
Song: The Flim Flam Brothers
See also
Episode guide
Previous
The Last Roundup
Next
Read It and Weep
Community content is available under CC-BY-SA unless otherwise noted.