Template:Wheremi: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
No edit summary
JW (talk | contribs)
Recat'd as part of Category:Templates cleanup.
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{doc}}[[Category:Meta templates]]</noinclude><!--
This template is used by [[Template:Episodenav]].  It uses recursive matching to construct the (sometimes messy) series links.  Exercise ''extreme caution'' when editing this template, if accidental whitespace slips in it will break.  (You're probably safe if you just ape the existing structure though.)
 
'''Oh shit, I broke it:''' I suggest reverting to [http://transformers.wikia.com/index.php?title=Template:Wheremi&oldid=90085 this version], which is good as of December 2007.
<!--


EXPLICIT SERIES NAMES (only used internally)
EXPLICIT SERIES NAMES (only used internally)
Line 21: Line 17:
Armada Cartoon - Armtoon
Armada Cartoon - Armtoon
Energon Cartoon - Energontoon
Energon Cartoon - Energontoon
Superlink Cartoon - SLtoon
Cybertron Cartoon - Cybtoon
Cybertron Cartoon - Cybtoon
Animated Cartoon - Anitoon
Animated Cartoon - Anitoon


--></noinclude>{{ #if: {{{getcolloquial|}}}
-->{{ #if: {{{getcolloquial|}}}
| {{ #switch: {{{getcolloquial}}}
| {{ #switch: {{{getcolloquial}}}
| 1984toon=Generation 1
| 1984toon=Generation 1
| SRLFtoon=Fight! Super Robot Lifeform Transformers
| 2010=Transformers 2010
| HMtoon=The Headmasters
| HMtoon=The Headmasters
| MFtoon=Super-God Masterforce
| MFtoon=Super-God Masterforce
Line 39: Line 38:
| Armtoon=Armada
| Armtoon=Armada
| Energontoon=Energon
| Energontoon=Energon
| SLtoon = Superlink
| Cybtoon=Cybertron
| Cybtoon=Cybertron
| Anitoon=Animated
| Anitoon=Animated
| gobotsToon=Go-Bots
| {{{getcolloquial}}}
| {{{getcolloquial}}}
}}
}}
Line 48: Line 49:
-->{{ #if: {{{getserieslink|}}}
-->{{ #if: {{{getserieslink|}}}
| {{ #switch: {{{getserieslink}}}
| {{ #switch: {{{getserieslink}}}
| 1984toon=Generation 1 (cartoon)
| 1984toon=Generation 1 (cartoon)#Episodes
| HMtoon=The Headmasters
| SRLFtoon=Generation 1 (cartoon)#Japanese release
| MFtoon=Super-God Masterforce (cartoon)
| 2010= Generation 1 (cartoon)#Japanese release
| Victoon=Victory (cartoon)
| HMtoon=The Headmasters (cartoon)#Episodes
| Zonetoon=Zone (animation)
| MFtoon=Super-God Masterforce (cartoon)#Episodes
| Victoon=Victory (cartoon)#Episodes
| Zonetoon=Zone
| G2toon=Generation 2 (cartoon)
| G2toon=Generation 2 (cartoon)
| BWtoon=Beast Wars (cartoon)
| BWtoon=Beast Wars (cartoon)#Episodes
| BW2toon=Beast Wars II (cartoon)
| BW2toon=Beast Wars II (cartoon)#Episodes
| BWNeotoon=Beast Wars Neo (cartoon)
| BWNeotoon=Beast Wars Neo (cartoon)#Episodes
| BMtoon=Beast Machines (cartoon)
| BMtoon=Beast Machines (cartoon)#Episodes
| RiDtoon=Robots in Disguise (cartoon)
| RiDtoon=Robots in Disguise (cartoon)#Episodes
| Armtoon=Armada (cartoon)
| Armtoon=Armada (cartoon)#Episodes
| Energontoon=Energon (cartoon)
| Energontoon=Energon (cartoon)#Episodes
| Cybtoon=Cybertron (cartoon)
| SLtoon=Energon (cartoon)
| Anitoon=Transformers Animated
| Cybtoon=Cybertron (cartoon)#Episodes
| gobotsToon=Go-Bots (cartoon)
| Anitoon=Transformers Animated (cartoon)#Episodes
| {{{getserieslink}}}
| {{{getserieslink}}}
}}
}}
Line 71: Line 76:
| {{ #switch: {{{getseasonlink}}}
| {{ #switch: {{{getseasonlink}}}
| BWtoon={{ #switch: {{{1}}}
| BWtoon={{ #switch: {{{1}}}
  |1=List of Beast Wars episodes#Season 1: 1996-1997
  |1=List of Beast Wars episodes#Season_1:_1996.E2.80.931997
  |2=List of Beast Wars episodes#Season 2: 1997-1998
  |2=List of Beast Wars episodes#Season_2:_1997.E2.80.931998
  |3=List of Beast Wars episodes#Season 3: 1998-1999
  |3=List of Beast Wars episodes#Season_3:_1998.E2.80.931999
  |List of Beast Wars episodes
  |List of Beast Wars episodes
  }}
  }}
Line 122: Line 127:
| cybertron=Cybtoon
| cybertron=Cybtoon
| cyb=Cybtoon
| cyb=Cybtoon
| gobots=gobotsToon
| animated=Anitoon
| animated=Anitoon
| ani=Anitoon
| ani=Anitoon
Line 131: Line 137:
Construct a series link 'Generation One > '
Construct a series link 'Generation One > '
-->{{ #if: {{{serieslink|}}}
-->{{ #if: {{{serieslink|}}}
|[[{{Wheremi|getserieslink={{Wheremi|getexplicit={{{serieslink|}}}}} }}|{{Wheremi|getcolloquial={{Wheremi|getexplicit={{{serieslink|}}}}} }}]] >  
|[[{{Wheremi_recurse|getserieslink={{Wheremi_recurse|getexplicit={{{serieslink|}}}}} }}|{{Wheremi_recurse|getcolloquial={{Wheremi_recurse|getexplicit={{{serieslink|}}}}} }}]] >  
|}}<!--
|}}<!--


Line 137: Line 143:
Construct a season link 'Season 2 > '
Construct a season link 'Season 2 > '
-->{{ #if: {{{seasonlink|}}}
-->{{ #if: {{{seasonlink|}}}
|[[{{Wheremi|getseasonlink={{Wheremi|getexplicit={{{series}}}}} |{{{seasonlink}}} |{{Wheremi|getserieslink={{Wheremi|getexplicit={{{series}}}}}}}}}|Season {{{seasonlink}}}]] >&nbsp;
|[[{{Wheremi_recurse|getseasonlink={{Wheremi_recurse|getexplicit={{{series}}}}} |{{{seasonlink}}} |{{Wheremi_recurse|getserieslink={{Wheremi_recurse|getexplicit={{{series}}}}}}}}}|Season {{{seasonlink}}}]] >&nbsp;
|}}
|}}

Latest revision as of 17:24, 27 May 2011

(Transcluded documentation: view)

This template is used by some templates. It uses recursive matching to construct the (sometimes messy) series links. Exercise extreme caution when editing this template, if accidental whitespace slips in it will break. (You're probably safe if you just ape the existing structure though.)


Oh shit, I broke it: Revert to the most recent 'good' version.

June 2008
February 2008
December 2007