Template:Utility/tvseries: Difference between revisions
From MediaWiki
Jump to navigationJump to search
mNo edit summary |
m typo |
||
| (29 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
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.)<!-- | |||
This template is used by | |||
<!-- | |||
EXPLICIT SERIES NAMES (only used internally) | EXPLICIT SERIES NAMES (only used internally) | ||
CARTOONS (This will, at some point, be expanded beyond cartoons.) | CARTOONS (This will, at some point, be expanded beyond cartoons.) | ||
G1 Cartoon - | G1 Cartoon - G1toon | ||
Headmasters Cartoon - HMtoon | Headmasters Cartoon - HMtoon | ||
Masterforce Cartoon - MFtoon | Masterforce Cartoon - MFtoon | ||
| Line 15: | Line 11: | ||
G2 Cartoon - G2toon | G2 Cartoon - G2toon | ||
Beast Wars - BWtoon | Beast Wars - BWtoon | ||
Beast Wars Japan - BWJtoon | |||
Beast Wars II - BW2toon | Beast Wars II - BW2toon | ||
Beast Wars Neo - BWNeotoon | Beast Wars Neo - BWNeotoon | ||
| Line 20: | Line 17: | ||
Beast Machines - BMtoon | Beast Machines - BMtoon | ||
Robots in Disguise - RiDtoon | Robots in Disguise - RiDtoon | ||
Car Robots - CRtoon | |||
Armada Cartoon - Armtoon | Armada Cartoon - Armtoon | ||
Energon Cartoon - Energontoon | Energon Cartoon - Energontoon | ||
| Line 25: | Line 23: | ||
Cybertron Cartoon - Cybtoon | Cybertron Cartoon - Cybtoon | ||
Animated Cartoon - Anitoon | Animated Cartoon - Anitoon | ||
Animated Japan - AniJapan | |||
Universe Cartoon - Unitoon | |||
Transformers Legends mobile game - TFLgame | |||
--></noinclude>{{ #if: {{{getcolloquial|}}} | --></noinclude>{{ #if: {{{getcolloquial|}}} | ||
| {{ #switch: {{{getcolloquial}}} | | {{ #switch: {{{getcolloquial}}} | ||
| | | G1toon=The Transformers | ||
| SRLFtoon=Fight! Super Robot Lifeform Transformers | | SRLFtoon=Fight! Super Robot Lifeform Transformers | ||
| 2010=Transformers 2010 | | 2010=Transformers 2010 | ||
| HMtoon=The Headmasters | | HMtoon=Transformers: The Headmasters | ||
| MFtoon=Super-God Masterforce | | MFtoon=Transformers: Super-God Masterforce | ||
| Victoon=Victory | | Victoon=Transformers: Victory | ||
| Zonetoon= | | Zonetoon=Fight! Super Robot Lifeform Transformers: Victory | ||
| G2toon=Generation 2 | | G2toon=Transformers: Generation 2 | ||
| BWtoon=Beast Wars | | BWtoon=Beast Wars: Transformers | ||
| BW2toon=Beast Wars II | | BWJtoon=Beast Wars: Super Lifeform Transformers | ||
| BWNeotoon=Beast Wars Neo | | BW2toon=Beast Wars II: Super Lifeform Transformers | ||
| BMtoon=Beast Machines | | BWNeotoon=Super Lifeform Transformers: Beast Wars Neo | ||
| RiDtoon=Robots in Disguise | | Metals=Super Lifeform Transformers: Beast Wars Metals | ||
| Armtoon=Armada | | BMtoon=Beast Machines: Transformers | ||
| Energontoon=Energon | | RiDtoon=Transformers: Robots in Disguise | ||
| SLtoon = | | CRtoon=Transformers: Car Robots | ||
| Cybtoon=Cybertron | | Armtoon=Transformers: Armada | ||
| Anitoon=Animated | | Energontoon=Transformers: Energon | ||
| SLtoon = Transformers: Super Link | |||
| Cybtoon=Transformers: Cybertron | |||
| Anitoon=Transformers Animated | |||
| AniJapan=Transformers Animated (Japan) | |||
| RMtoon=Robotmasters | |||
| TFLgame=Transformers Legends | |||
| Unitoon=Transformers: Universe | |||
| {{{getcolloquial}}} | | {{{getcolloquial}}} | ||
}} | }} | ||
| Line 53: | Line 61: | ||
-->{{ #if: {{{getserieslink|}}} | -->{{ #if: {{{getserieslink|}}} | ||
| {{ #switch: {{{getserieslink}}} | | {{ #switch: {{{getserieslink}}} | ||
| | | G1toon=The Transformers (cartoon) | ||
| SRLFtoon= | | SRLFtoon=The_Transformers_(cartoon)#Fight.21_Super_Robot_Lifeform_Transformers | ||
| 2010= | | 2010=The_Transformers_(cartoon)#Fight.21_Super_Robot_Lifeform_Transformers_2010 | ||
| HMtoon=The Headmasters (cartoon) | | HMtoon=Transformers: The Headmasters (cartoon) | ||
| MFtoon=Super-God Masterforce (cartoon) | | MFtoon=Transformers: Super-God Masterforce (cartoon) | ||
| Victoon=Victory (cartoon) | | Victoon=Fight! Super Robot Lifeform Transformers: Victory (cartoon) | ||
| Zonetoon=Zone | | Zonetoon=Transformers: Zone | ||
| G2toon=Generation 2 (cartoon) | | G2toon=Transformers: Generation 2 (cartoon) | ||
| BWtoon=Beast Wars (cartoon) | | BWtoon=Beast Wars: Transformers (cartoon) | ||
| BW2toon=Beast Wars II (cartoon) | | BWJtoon=Beast_Wars:_Transformers_(cartoon)#Beast_Wars:_Super_Lifeform_Transformers | ||
| BWNeotoon=Beast Wars Neo (cartoon) | | BW2toon=Beast Wars II: Super Lifeform Transformers (cartoon) | ||
| BMtoon=Beast Machines (cartoon) | | BWNeotoon=Super Lifeform Transformers: Beast Wars Neo (cartoon) | ||
| RiDtoon=Robots in Disguise (cartoon) | | Metals=Beast_Wars:_Transformers_(cartoon)#Super_Lifeform_Transformers:_Beast_Wars_Metals | ||
| Armtoon=Armada (cartoon) | | BMtoon=Beast Machines: Transformers (cartoon) | ||
| Energontoon=Energon (cartoon) | | RiDtoon=Transformers: Robots in Disguise (2001 cartoon) | ||
| SLtoon=Energon (cartoon) | | CRtoon=Transformers: Robots in Disguise (2001 cartoon)#Japanese release | ||
| Cybtoon=Cybertron (cartoon) | | Armtoon=Transformers: Armada (cartoon) | ||
| Energontoon=Transformers: Energon (cartoon) | |||
| SLtoon=Transformers: Energon (cartoon) | |||
| Cybtoon=Transformers: Cybertron (cartoon) | |||
| Anitoon=Transformers Animated (cartoon) | | Anitoon=Transformers Animated (cartoon) | ||
| AniJapan=Transformers Animated (cartoon)#Japanese release | |||
| RMtoon=Robotmasters (cartoon) | |||
| TFLgame=Transformers Legends (mobile game) | |||
| Unitoon=Transformers: Universe (cartoon) | |||
| {{{getserieslink}}} | | {{{getserieslink}}} | ||
}} | }} | ||
| Line 79: | Line 94: | ||
-->{{ #if: {{{getexplicit|}}} | -->{{ #if: {{{getexplicit|}}} | ||
| {{ #switch: {{lc:{{{getexplicit}}}}} | | {{ #switch: {{lc:{{{getexplicit}}}}} | ||
| | | 1984toon=G1toon | ||
| sunbow=1984toon | | sunbow=1984toon | ||
| g1=1984toon | | g1=1984toon | ||
| Line 92: | Line 107: | ||
| beast wars=BWtoon | | beast wars=BWtoon | ||
| bw=BWtoon | | bw=BWtoon | ||
| beast wars japan=BWJtoon | |||
| beastwarsjapan=BWJtoon | |||
| bwj=BWJtoon | |||
| beast wars ii=BW2toon | | beast wars ii=BW2toon | ||
| beastwars ii=BW2toon | | beastwars ii=BW2toon | ||
| Line 113: | Line 131: | ||
| robotsindisguise=RiDtoon | | robotsindisguise=RiDtoon | ||
| rid=RiDtoon | | rid=RiDtoon | ||
| car robots=CRtoon | |||
| cr=CRtoon | |||
| armada=Armtoon | | armada=Armtoon | ||
| arm=Armtoon | | arm=Armtoon | ||
| Line 120: | Line 140: | ||
| animated=Anitoon | | animated=Anitoon | ||
| ani=Anitoon | | ani=Anitoon | ||
| animated japan=AniJapan | |||
| ani japan=AniJapan | |||
| uni=Unitoon | |||
| universe=Unitoon | |||
| legendsgame=TFLgame | |||
| {{{getexplicit}}} | | {{{getexplicit}}} | ||
}} | }} | ||
| Line 127: | Line 152: | ||
Construct a series link 'Generation One' | Construct a series link 'Generation One' | ||
-->{{ #if: {{{serieslink|}}} | -->{{ #if: {{{serieslink|}}} | ||
|[[{{Utility/tvseries_recurs|getserieslink={{Utility/ | |[[{{Utility/tvseries_recurs|getserieslink={{Utility/tvseries_recurs|getexplicit={{{serieslink|}}}}} }}|{{Utility/tvseries_recurs|getcolloquial={{Utility/tvseries_recurs|getexplicit={{{serieslink|}}}}} }}]] | ||
|}}<!-- | |}}<!-- | ||
--> | --><noinclude> | ||
[[Category:Meta templates]] | |||
</noinclude> | |||
Latest revision as of 22:31, 19 July 2022
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.)

