Difference between revisions of "Template:Vg"
Dinoguy1000 (talk | contribs) (+E06 for WC6, per Japanese promos) |
Dinoguy1000 (talk | contribs) (check for "Day of the Duelist" and variants for WC5; also remove "ARC-V" prior to matching) |
||
Line 2: | Line 2: | ||
}}{{ #vardefine: $template:vg | {{ #replace: {{ lc: {{Normalized pagename|{{{1|}}}}} }} }}<!-- lowercase input, rm spaces --> | }}{{ #vardefine: $template:vg | {{ #replace: {{ lc: {{Normalized pagename|{{{1|}}}}} }} }}<!-- lowercase input, rm spaces --> | ||
}}{{ #vardefine: $template:vg | {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #var: $template:vg }} | : }} | - }} | ! }} | ' }}<!-- rm common(ish) punctuation --> | }}{{ #vardefine: $template:vg | {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #var: $template:vg }} | : }} | - }} | ! }} | ' }}<!-- rm common(ish) punctuation --> | ||
− | }}{{ #vardefine: $template:vg | {{ #replace: {{ #replace: {{ #replace: {{ #var: $template:vg }} | yugioh }} | 5ds }} | zexal }}<!-- rm "Yu-Gi-Oh!"/"5D's"/"ZEXAL" --> | + | }}{{ #vardefine: $template:vg | {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #var: $template:vg }} | yugioh }} | arcv }} | 5ds }} | zexal }}<!-- rm "Yu-Gi-Oh!"/"ARC-V"/"5D's"/"ZEXAL" --> |
}}{{ #vardefine: $template:vg | {{ #replace: {{ #var: $template:vg }} | {{ #ifexpr: {{ #len: {{ #var: $template:vg }} }} > 4 | gx }} }}<!-- rm "GX", except for stuff like "GX1" --> | }}{{ #vardefine: $template:vg | {{ #replace: {{ #var: $template:vg }} | {{ #ifexpr: {{ #len: {{ #var: $template:vg }} }} > 4 | gx }} }}<!-- rm "GX", except for stuff like "GX1" --> | ||
}}{{ #vardefine: $template:vg | {{ #replace: {{ #var: $template:vg }} | {{ #ifexpr: {{ #len: {{ #var: $template:vg }} }} > 15 | duelmonsters }} }}<!-- rm "Duel Monsters", unless that's all that's left and except for stuff like "Duel Monsters III" --> | }}{{ #vardefine: $template:vg | {{ #replace: {{ #var: $template:vg }} | {{ #ifexpr: {{ #len: {{ #var: $template:vg }} }} > 15 | duelmonsters }} }}<!-- rm "Duel Monsters", unless that's all that's left and except for stuff like "Duel Monsters III" --> | ||
Line 64: | Line 64: | ||
| wc | worldchampionship = World Championship Tournament | | wc | worldchampionship = World Championship Tournament | ||
| wc4 | wc04 | worldchampionship2004 = {{ #if: {{{full|}}} | World Championship Tournament 2004 | WC4 }} | | wc4 | wc04 | worldchampionship2004 = {{ #if: {{{full|}}} | World Championship Tournament 2004 | WC4 }} | ||
− | | wc5 | wc05 | worldchampionship2005 | 7trialstoglory | 7trialstoglory2005 | 20057trialstoglory = {{ #if: {{{full|}}} | 7 Trials to Glory: World Championship Tournament 2005 | WC5 }} | + | | wc5 | wc05 | worldchampionship2005 | 7trialstoglory | 7trialstoglory2005 | 20057trialstoglory | dayofduelist | dayofduelist2005 | 2005dayofduelist = {{ #if: {{{full|}}} | 7 Trials to Glory: World Championship Tournament 2005 | WC5 }} |
| wc6 | wc06 | w6s | e06 | worldchampionship2006 | ultimatemasters | ultimatemasters2006 | 2006ultimatemasters = {{ #if: {{{full|}}} | Ultimate Masters: World Championship Tournament 2006 | WC6 }} | | wc6 | wc06 | w6s | e06 | worldchampionship2006 | ultimatemasters | ultimatemasters2006 | 2006ultimatemasters = {{ #if: {{{full|}}} | Ultimate Masters: World Championship Tournament 2006 | WC6 }} | ||
| wc7 | wc07 | worldchampionship2007 = {{ #if: {{{full|}}} | World Championship 2007 | WC07 }} | | wc7 | wc07 | worldchampionship2007 = {{ #if: {{{full|}}} | World Championship 2007 | WC07 }} |