Difference between revisions of "Template:E"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
m (Hm...)
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>This template is for creating a standardised way of giving episode links.  This template takes just one argument, which is the production ID of the episode as follows;
<noinclude>{{documentation}}
<pre>{{e|1ACV01}}</pre>
</noinclude><includeonly>{{#if:{{{s|}}}
This would print out {{elink|1ACV01|Space Pilot 3000}}.
|{{#switch:{{{s|}}}
 
|1=[[Amazon Adventure|{{#ifeq:{{PAGENAME}}|Names in titles|{{#if:{{{color|}}}|<span style="color:{{{color}}}">|}}|}}''Everybody Loves Hypnotoad'': "Amazon Adventure" (3H312){{#ifeq:{{PAGENAME}}|Names in titles|{{#if:{{{color|}}}|</span>|}}|}}]]
The intend is to create a much simpler way to deal with episode linking.
|2=[[The Lost Adventure|{{#ifeq:{{PAGENAME}}|Names in titles|{{#if:{{{color|}}}|<span style="color:{{{color}}}">|}}|}}"The Lost Adventure"{{#ifeq:{{PAGENAME}}|Names in titles|{{#if:{{{color|}}}|<span style="color:{{{color}}}">|}}|}}]]
 
|3=[[Simpsorama|{{#ifeq:{{PAGENAME}}|Names in titles|{{#if:{{{color|}}}|</span>|}}|}}"Simpsorama"{{#ifeq:{{PAGENAME}}|Names in titles|{{#if:{{{color|}}}|</span>|}}|}}]]
Also, using the episode's no is also possible, thus <nowiki>{{e|1}}</nowiki> would return the same as in the example above.
}} {{appear-icon|Specialepisodeicon.png|Episode}}|{{#if:{{{f|}}}
 
|{{flink|{{e/f/titles/{{{f}}}}}}}|{{elink|{{e/codes/{{e/titles/{{{1}}}}}}}|{{e/titles/{{{1|1ACV01}}}}}|{{{2|}}}|break={{#ifeq:{{{break}}}|yes|yes|}}|color={{#if:{{{color|}}}|{{{color}}}|}}}}}}}}</includeonly>
</noinclude>{{#switch:{{{1}}}
|1={{elink|1ACV01|Space Pilot 3000}}
|1ACV01={{elink|1ACV01|Space Pilot 3000}}
|2={{elink|1ACV02|The Series Has Landed}}
|1ACV02={{elink|1ACV02|The Series Has Landed}}
|3={{elink|1ACV03|I, Roommate}}
|1ACV03={{elink|1ACV03|I, Roommate}}
|4={{elink|1ACV04|Love's Labours Lost in Space}}
|1ACV04={{elink|1ACV04|Love's Labours Lost in Space}}
|5={{elink|1ACV05|Fear of a Bot Planet}}
|1ACV05={{elink|1ACV05|Fear of a Bot Planet}}
|6={{elink|1ACV06|A Fishful of Dollars}}
|1ACV06={{elink|1ACV06|A Fishful of Dollars}}
|7={{elink|1ACV07|My Three Suns}}
|1ACV07={{elink|1ACV07|My Three Suns}}
|8={{elink|1ACV08|A Big Piece of Garbage}}
|1ACV08={{elink|1ACV08|A Big Piece of Garbage}}
|9={{elink|1ACV09|Hell is Other Robots}}
|1ACV09={{elink|1ACV09|Hell is Other Robots}}
|10={{elink|1ACV10|A Flight to Remember}}
|1ACV10={{elink|1ACV10|A Flight to Remember}}
|11={{elink|1ACV11|Mars University}}
|1ACV11={{elink|1ACV11|Mars University}}
|12={{elink|1ACV12|When Aliens Attack}}
|1ACV12={{elink|1ACV12|When Aliens Attack}}
|13={{elink|1ACV13|Fry and the Slurm Factory}}
|1ACV13={{elink|1ACV13|Fry and the Slurm Factory}}
|14={{elink|2ACV01|I Second that Emotion}}
|2ACV01={{elink|2ACV01|I Second that Emotion}}
|15={{elink|2ACV02|Brannigan, Begin Again}}
|2ACV02={{elink|2ACV02|Brannigan, Begin Again}}
|16={{elink|2ACV03|A Head in the Polls}}
|2ACV03={{elink|2ACV03|A Head in the Polls}}
|17={{elink|2ACV04|Xmas Story}}
|2ACV04={{elink|2ACV04|Xmas Story}}
|18={{elink|2ACV05|Why Must I Be a Crustacean in Love}}
|2ACV05={{elink|2ACV05|Why Must I Be a Crustacean in Love}}
|19={{elink|2ACV06|The Lesser of Two Evils}}
|2ACV06={{elink|2ACV06|The Lesser of Two Evils}}
|20={{elink|2ACV07|Put Your Head on My Shoulder}}
|2ACV07={{elink|2ACV07|Put Your Head on My Shoulder}}
|21={{elink|2ACV08|Raging Bender}}
|2ACV08={{elink|2ACV08|Raging Bender}}
|22={{elink|2ACV09|A Bicyclops Built for Two}}
|2ACV09={{elink|2ACV09|A Bicyclops Built for Two}}
|23={{elink|2ACV10|A Clone of My Own}}
|2ACV10={{elink|2ACV10|A Clone of My Own}}
|24={{elink|2ACV11|How Hermes Requisitioned His Groove Back}}
|2ACV11={{elink|2ACV11|How Hermes Requisitioned His Groove Back}}
|25={{elink|2ACV12|The Deep South}}
|2ACV12={{elink|2ACV12|The Deep South}}
|26={{elink|2ACV13|Bender Gets Made}}
|2ACV13={{elink|2ACV13|Bender Gets Made}}
|27={{elink|2ACV14|Mother's Day}}
|2ACV14={{elink|2ACV14|Mother's Day}}
|28={{elink|2ACV15|The Problem with Popplers}}
|2ACV15={{elink|2ACV15|The Problem with Popplers}}
|29={{elink|2ACV16|Anthology of Interest I}}
|2ACV16={{elink|2ACV16|Anthology of Interest I}}
|30={{elink|2ACV17|War is the H-Word}}
|2ACV17={{elink|2ACV17|War is the H-Word}}
|31={{elink|2ACV18|The Honking}}
|2ACV18={{elink|2ACV18|The Honking}}
|32={{elink|2ACV19|The Cryonic Woman}}
|2ACV19={{elink|2ACV19|The Cryonic Woman}}
|33={{elink|3ACV01|Amazon Women in the Mood}}
|3ACV01={{elink|3ACV01|Amazon Women in the Mood}}
|34={{elink|3ACV02|Parasites Lost}}
|3ACV02={{elink|3ACV02|Parasites Lost}}
|35={{elink|3ACV03|A Tale of Two Santas}}
|3ACV03={{elink|3ACV03|A Tale of Two Santas}}
|36={{elink|3ACV04|The Luck of the Fryrish}}
|3ACV04={{elink|3ACV04|The Luck of the Fryrish}}
|37={{elink|3ACV05|The Birdbot of Ice-Catraz}}
|3ACV05={{elink|3ACV05|The Birdbot of Ice-Catraz}}
|38={{elink|3ACV06|Bendless Love}}
|3ACV06={{elink|3ACV06|Bendless Love}}
|39={{elink|3ACV07|The Day the Earth Stood Stupid}}
|3ACV07={{elink|3ACV07|The Day the Earth Stood Stupid}}
|40={{elink|3ACV08|That's Lobstertainment!}}
|3ACV08={{elink|3ACV08|That's Lobstertainment!}}
|41={{elink|3ACV09|The Cyber House Rules}}
|3ACV09={{elink|3ACV09|The Cyber House Rules}}
|42={{elink|3ACV10|Where the Buggalo Roam}}
|3ACV10={{elink|3ACV10|Where the Buggalo Roam}}
|43={{elink|3ACV11|Insane in the Mainframe}}
|3ACV11={{elink|3ACV11|Insane in the Mainframe}}
|44={{elink|3ACV12|The Route of All Evil}}
|3ACV12={{elink|3ACV12|The Route of All Evil}}
|45={{elink|3ACV13|Bendin' in the Wind}}
|3ACV13={{elink|3ACV13|Bendin' in the Wind}}
|46={{elink|3ACV14|Time Keeps on Slippin'}}
|3ACV14={{elink|3ACV14|Time Keeps on Slippin'}}
|47={{elink|3ACV15|I Dated a Robot}}
|3ACV15={{elink|3ACV15|I Dated a Robot}}
|48={{elink|3ACV16|A Leela of Her Own}}
|3ACV16={{elink|3ACV16|A Leela of Her Own}}
|49={{elink|3ACV17|A Pharaoh to Remember}}
|3ACV17={{elink|3ACV17|A Pharaoh to Remember}}
|50={{elink|3ACV18|Anthology of Interest II}}
|3ACV18={{elink|3ACV18|Anthology of Interest II}}
|51={{elink|3ACV19|Roswell that Ends Well}}
|3ACV19={{elink|3ACV19|Roswell that Ends Well}}
|52={{elink|3ACV20|Godfellas}}
|3ACV20={{elink|3ACV20|Godfellas}}
|53={{elink|3ACV21|Future Stock}}
|3ACV21={{elink|3ACV21|Future Stock}}
|54={{elink|3ACV22|The 30% Iron Chef}}
|3ACV22={{elink|3ACV22|The 30% Iron Chef}}
|55={{elink|4ACV01|Kif Gets Knocked Up a Notch}}
|4ACV01={{elink|4ACV01|Kif Gets Knocked Up a Notch}}
|56={{elink|4ACV02|Leela's Homeworld}}
|4ACV02={{elink|4ACV02|Leela's Homeworld}}
|57={{elink|4ACV03|Love and Rocket}}
|4ACV03={{elink|4ACV03|Love and Rocket}}
|58={{elink|4ACV04|Less than Hero}}
|4ACV04={{elink|4ACV04|Less than Hero}}
|59={{elink|4ACV05|A Taste of Freedom}}
|4ACV05={{elink|4ACV05|A Taste of Freedom}}
|60={{elink|4ACV06|Bender Should Not Be Allowed on Television}}
|4ACV06={{elink|4ACV06|Bender Should Not Be Allowed on Television}}
|61={{elink|4ACV07|Jurassic Bark}}
|4ACV07={{elink|4ACV07|Jurassic Bark}}
|62={{elink|4ACV08|Crimes of the Hot}}
|4ACV08={{elink|4ACV08|Crimes of the Hot}}
|63={{elink|4ACV09|Teenage Mutant Leela's Hurdles}}
|4ACV09={{elink|4ACV09|Teenage Mutant Leela's Hurdles}}
|64={{elink|4ACV10|The Why of Fry}}
|4ACV10={{elink|4ACV10|The Why of Fry}}
|65={{elink|4ACV11|Where No Fan Has Gone Before}}
|4ACV11={{elink|4ACV11|Where No Fan Has Gone Before}}
|66={{elink|4ACV12|The Sting}}
|4ACV12={{elink|4ACV12|The Sting}}
|67={{elink|4ACV13|Bend Her}}
|4ACV13={{elink|4ACV13|Bend Her}}
|68={{elink|4ACV14|Obsoletely Fabulous}}
|4ACV14={{elink|4ACV14|Obsoletely Fabulous}}
|69={{elink|4ACV15|The Farnsworth Parabox}}
|4ACV15={{elink|4ACV15|The Farnsworth Parabox}}
|70={{elink|4ACV16|Three Hundred Big Boys}}
|4ACV16={{elink|4ACV16|Three Hundred Big Boys}}
|71={{elink|4ACV17|Spanish Fry}}
|4ACV17={{elink|4ACV17|Spanish Fry}}
|72={{elink|4ACV18|The Devil's Hands Are Idle Playthings}}
|4ACV18={{elink|4ACV18|The Devil's Hands Are Idle Playthings}}
|''See [[Template:E]] for how to use the template.''
}}

Latest revision as of 02:38, 10 November 2014

Documentation for {{e}}

Use

This template is for linking to episodes in a more standardised format. It is generally used for list and inline text. Though, for inline text, {{eni}} is recommended as it does not have the icon at the end.

The icon at the end is to make it clear for the reader that it is an episode or film.

There are three types of input; episode, film and special episode. A regular episode is displayed with its title in quotations and its production code at the end in brackets. A film is display with the film's title in italic. And a special episode (for instance Everybody Loves Hypnotoad appearing on the DVD of Bender's Big Score) appears in whatever format applies. When hovering the icon at the end, it can either say "Episode", "Film" or "Special Episode".

Usage

For episodes
{{e|production code OR episode no. OR full title}}
For films
{{e|f=film no. (e.g. f=1) OR full title}}
OR
{{f|film no. OR full title}}
For special episodes
{{e|s=special no. (e.g. s=1)}}

Examples

For episodes
Input:
*{{e|1ACV01}}
*{{e|1}}
*{{e|Space Pilot 3000}}

Output:

To prevent the icon from being alone in its line in the infobox, use {{e|1ACV01|break=yes}}, {{e|1|break=yes}}, or {{e|Space Pilot 3000|break=yes}}.

For films
Input:
*{{e|f=1}}
*{{e|f=Bender's Big Score}}
*{{f|1}}
*{{f|Bender's Big Score}}

Output:

For special episodes:
Input:
*{{e|s=1}}

Output:

Namespaces

Usage

You can use {{e|<episode>|<namespace>}} to link to other namespaces.

Example

Input:

*{{e|1ACV01|commentary}}
*{{e|1|commentary}}
*{{e|Space Pilot 3000|commentary}}

Output:

See also