Template:Wheremi: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
No edit summary
Derik (talk | contribs)
m think I've got the whitespace sorted out...
Line 1: Line 1:
{{ #if: {{{getcolloquial|}}}
<!--
 
EXPLICIT SERIES NAMES (only used internally)
CARTOONS (This will, at some point, be expanded beyond cartoons.)
G1 Cartoon - 1984toon
Headmasters Cartoon - HMtoon
Masterforce Cartoon - MFtoon
Victory Cartoon - Victoon
Zone Cartoon - Zonetoon
G2 Cartoon - G2toon
Beast Wars - BWtoon
Beast Wars II - BW2toon
Beast Wars Neo - BWNeotoon
  (Would we ever want a separate entry for Metals/BWR I wonder?)
Beast Machines - BMtoon
Robots in Disguise - RiDtoon
Armada Cartoon - Armtoon
Energon Cartoon - Energontoon
Cybertron Cartoon - Cybtoon
Heroes Cartoon - Hertoon
 
-->{{ #if: {{{getcolloquial|}}}
| {{ #switch: {{{getcolloquial}}}
| {{ #switch: {{{getcolloquial}}}
| 1984toon=Generation 1
| 1984toon=Generation 1
Line 11: Line 32:
| BWNeotoon=Beast Wars Neo
| BWNeotoon=Beast Wars Neo
| BMtoon=Beast Machines
| BMtoon=Beast Machines
| RiDtoon=Robots in Disguise
| Armtoon=Armada
| Armtoon=Armada
| Energontoon=Energon
| Energontoon=Energon
Line 17: Line 39:
| {{{getcolloquial}}}
| {{{getcolloquial}}}
}}
}}
|}}{{ #if: {{{getserieslink|}}}
|}}<!--
 
## Get the series link associated with the series' explicit name
-->{{ #if: {{{getserieslink|}}}
| {{ #switch: {{{getserieslink}}}
| {{ #switch: {{{getserieslink}}}
| 1984toon=Generation 1 (television series)
| 1984toon=Generation 1 (television series)
Line 29: Line 54:
| BWNeotoon=Beast Wars Neo (television series)
| BWNeotoon=Beast Wars Neo (television series)
| BMtoon=Beast Machines (television series)
| BMtoon=Beast Machines (television series)
| RiDtoon=Robots in Disguise (television series)
| Armtoon=Armada (television series)
| Armtoon=Armada (television series)
| Energontoon=Energon (television series)
| Energontoon=Energon (television series)
Line 35: Line 61:
| {{{getserieslink}}}
| {{{getserieslink}}}
}}
}}
|}}{{ #if: {{{getexplicit|}}}
|}}<!--
 
## Get the 'explicit' internal name of the series being dealt with (matching string shifted to all-lowercase)
-->{{ #if: {{{getexplicit|}}}
| {{ #switch: {{lc:{{{getexplicit}}}}}
| {{ #switch: {{lc:{{{getexplicit}}}}}
| g1toon=1984toon
| g1toon=1984toon
Line 68: Line 97:
| beastmachines=BMtoon
| beastmachines=BMtoon
| bm=BMtoon
| bm=BMtoon
| robots in disguise=RiDtoon
| robotsindisguise=RiDtoon
| rid=RiDtoon
| armada=Armtoon
| armada=Armtoon
| arm=Armtoon
| arm=Armtoon

Revision as of 04:51, 19 February 2007