Difference between revisions of "Template:Vg"
(Adapt generic Power of Chaos.) |
Dinoguy1000 (talk | contribs) (track unrecognized input so it can be fixed) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ #vardefine: $template:vg-ygo | {{ #if: {{{full|}}} | Yu-Gi-Oh! }} | {{ #vardefine: $template:vg-ygo | {{ #if: {{{full|}}} | Yu-Gi-Oh! }} | ||
}}{{ #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: {{ #replace: {{ #var: $template:vg }} | : }} | - }} | ! }} | ' }} | / }}<!-- rm common(ish) punctuation --> |
− | }}{{ #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: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #var: $template:vg }} | yugioh }} | arcv }} | 5ds }} | zexal }} | rushduel }}<!-- rm "Yu-Gi-Oh!"/"ARC-V"/"5D's"/"ZEXAL"/"Rush Duel" --> |
+ | }}{{ #vardefine: $template:vg | {{ #replace: {{ #var: $template:vg }} | (videogame) }}<!-- rm "(video game)" --> | ||
}}{{ #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 12: | Line 13: | ||
| bam = BAM | | bam = BAM | ||
| cmc | capsulemonstercoliseum | capsulemonstercolosseum = {{ #if: {{{full|}}} | Capsule Monster Coliseum | CMC }} | | cmc | capsulemonstercoliseum | capsulemonstercolosseum = {{ #if: {{{full|}}} | Capsule Monster Coliseum | CMC }} | ||
+ | | crdu | crossduel = {{ #if: {{{full|}}} | Cross Duel | CRDU }} | ||
| da | dar | duelarena = {{ #if: {{{full|}}} | Duel Arena | DAR }} | | da | dar | duelarena = {{ #if: {{{full|}}} | Duel Arena | DAR }} | ||
| dbt | destinyboardtra5eler | sugorokunosugoroku = {{ #if: {{{full|}}} | Destiny Board Traveler | DBT }} | | dbt | destinyboardtra5eler | sugorokunosugoroku = {{ #if: {{{full|}}} | Destiny Board Traveler | DBT }} | ||
| ddm | dungeondicemonsters = {{ #if: {{{full|}}} | Dungeon Dice Monsters {{ #if: {{{link|}}} | (video game) }} | DDM }} | | ddm | dungeondicemonsters = {{ #if: {{{full|}}} | Dungeon Dice Monsters {{ #if: {{{link|}}} | (video game) }} | DDM }} | ||
| dds | darkduelstories = {{ #if: {{{full|}}} | Dark Duel Stories | DDS }} | | dds | darkduelstories = {{ #if: {{{full|}}} | Dark Duel Stories | DDS }} | ||
− | | dg | duelgeneration = {{ #if: {{{full|}}} | Duel Generation | DG }} | + | | dg | mddg | duelgeneration = {{ #if: {{{full|}}} | Duel Generation | DG }} |
| dl | duli | duellinks = {{ #if: {{{full|}}} | Duel Links | DULI }} | | dl | duli | duellinks = {{ #if: {{{full|}}} | Duel Links | DULI }} | ||
− | | di2 | international2 | worldwide2 | worldwideedition2 = {{ #if: {{{full|}}} | Duel Monsters International 2 | DI2 }} | + | | di2 | international2 | worldwide2 | worldwideedition2 = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | 7 Trials to Glory: World Championship Tournament 2005 | Duel Monsters International 2 }} | DI2 }} |
| dod | dawnofdestiny = {{ #if: {{{full|}}} | The Dawn of Destiny | DOD }} | | dod | dawnofdestiny = {{ #if: {{{full|}}} | The Dawn of Destiny | DOD }} | ||
| dor | duelistsofroses | duelistofroses = {{ #if: {{{full|}}} | The Duelists of the Roses | DOR }} | | dor | duelistsofroses | duelistofroses = {{ #if: {{{full|}}} | The Duelists of the Roses | DOR }} | ||
Line 24: | Line 26: | ||
| decadeduelsplus = 5D's Decade Duels Plus | | decadeduelsplus = 5D's Decade Duels Plus | ||
| eds | eternalduelistsoul | eternalduelistssoul = {{ #if: {{{full|}}} | The Eternal Duelist Soul | EDS }} | | eds | eternalduelistsoul | eternalduelistssoul = {{ #if: {{{full|}}} | The Eternal Duelist Soul | EDS }} | ||
− | | e06 | ex2006 = {{ #if: {{{full|}}} | Duel Monsters EX 2006 | E06 }} | + | | e06 | ex2006 = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | Ultimate Masters: World Championship Tournament 2006 | Duel Monsters EX 2006 }} | E06 }} |
− | | ex3 = {{ #if: {{{full|}}} | Duel Monsters EX 3 | EX3 }} | + | | ex3 = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | World Championship Tournament 2004 | Duel Monsters EX 3 }} | EX3 }} |
− | | fmr | forbiddenmemories = {{ #if: {{{full|}}} | Forbidden Memories | FMR }} | + | | fmr | fm | forbiddenmemories = {{ #if: {{{full|}}} | Forbidden Memories | FMR }} |
− | | g | g1 | gb1 | dm | dm1 | duelmonsters = {{ #if: {{{full|}}} | Duel Monsters {{ #if: {{{link|}}} | (video game) | {{ #if: {{{series|}}} | (video game series) }} }} | DM1 }} | + | | g | g1 | gb1 | dm | dm1 | duelmonsters | duelmonsters1 = {{ #if: {{{full|}}} | Duel Monsters {{ #if: {{{link|}}} | (video game) | {{ #if: {{{series|}}} | (video game series) }} }} | DM1 }} |
| g2 | gb2 | dm2 | duelmonsters2 | 2darkduelstories = {{ #if: {{{full|}}} | Duel Monsters II: Dark duel Stories | DM2 }} | | g2 | gb2 | dm2 | duelmonsters2 | 2darkduelstories = {{ #if: {{{full|}}} | Duel Monsters II: Dark duel Stories | DM2 }} | ||
− | | g3 | gb3 | dm3 | duelmonsters3 | 3triholygodad5ent | triholygodad5ent = {{ #if: {{{full|}}} | Duel Monsters III: Tri-Holy God Advent | DM3 }} | + | | g3 | gb3 | dm3 | duelmonsters3 | 3triholygodad5ent | triholygodad5ent = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | Dark Duel Stories | Duel Monsters III: Tri-Holy God Advent }} | DM3 }} |
| g4 | gb4 | dm4 | duelmonsters4 | 4battleofgreatduelist | battleofgreatduelist = {{ #if: {{{full|}}} | Duel Monsters 4: Battle of Great Duelist | DM4 }} | | g4 | gb4 | dm4 | duelmonsters4 | 4battleofgreatduelist | battleofgreatduelist = {{ #if: {{{full|}}} | Duel Monsters 4: Battle of Great Duelist | DM4 }} | ||
| ex = Duel Monsters Expert | | ex = Duel Monsters Expert | ||
− | | g5 | gb5 | dm5 | ex1 | duelmonsters5 | 5 | 5ex | 5ex1 | 5exi | exi = {{ #if: {{{full|}}} | Duel Monsters 5 Expert 1 | DM5 }} | + | | g5 | gb5 | dm5 | ex1 | duelmonsters5 | 5 | 5ex | 5ex1 | 5exi | exi = {{ #if: {{{full|}}} | Duel Monsters 5: Expert 1 | DM5 }} |
− | | g6 | gb6 | dm6 | ex2 | duelmonsters6 | 6ex | 6ex2 = {{ #if: {{{full|}}} | Duel Monsters 6 Expert 2 | DM6 }} | + | | g6 | gb6 | dm6 | ex2 | duelmonsters6 | 6ex | 6ex2 = {{ #if: {{{full|}}} | Duel Monsters 6: Expert 2 | DM6 }} |
− | | g7 | gb7 | dm7 | duelmonsters7 | 7duelcitylegend | duelcitylegend = {{ #if: {{{full|}}} | Duel Monsters 7: The Duelcity Legend | DM7 }} | + | | g7 | gb7 | dm7 | duelmonsters7 | 7duelcitylegend | duelcitylegend = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | The Sacred Cards | Duel Monsters 7: The Duelcity Legend }} | DM7 }} |
− | | g8 | gb8 | dm8 | duelmonsters8 | 8reshefofdestruction = {{ #if: {{{full|}}} | Duel Monsters 8: Reshef of Destruction | DM8 }} | + | | g8 | gb8 | dm8 | duelmonsters8 | 8reshefofdestruction = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} || Duel Monsters 8: }} Reshef of Destruction | DM8 }} |
− | | gbi | dmi | di | di1 | international | worldwide | worldwideedition = {{ #if: {{{full|}}} | Duel Monsters International {{ #if: {{{series|}}} | (series) }} | DMI }} | + | | gbi | dmi | di | di1 | international | international1 | worldwide | worldwideedition = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | The Sacred Cards | Duel Monsters International {{ #if: {{{series|}}} | (series) }} }} | DMI }} |
| gx1 | gx01 | duelacademy | mezaseduelking | awakenduelking = {{ #if: {{{full|}}} | GX Duel Academy | GX1 }} | | gx1 | gx01 | duelacademy | mezaseduelking | awakenduelking = {{ #if: {{{full|}}} | GX Duel Academy | GX1 }} | ||
− | | gx2 | gx02 | tf | tf1 | tf01 | tagforce = {{ #if: {{{full|}}} | {{ #if: {{{series|}}} || GX }} Tag Force | GX02 }} | + | | gx2 | gx02 | tf | tf1 | tf01 | tagforce | tagforce1 = {{ #if: {{{full|}}} | {{ #if: {{{series|}}} || GX }} Tag Force | GX02 }} |
| gx3 | gx03 | spiritcaller | spiritsummoner = {{ #if: {{{full|}}} | GX Spirit Caller | GX03 }} | | gx3 | gx03 | spiritcaller | spiritsummoner = {{ #if: {{{full|}}} | GX Spirit Caller | GX03 }} | ||
| gx4 | gx04 | tf2 | tf02 | tagforce2 = {{ #if: {{{full|}}} | GX Tag Force 2 | GX04 }} | | gx4 | gx04 | tf2 | tf02 | tagforce2 = {{ #if: {{{full|}}} | GX Tag Force 2 | GX04 }} | ||
| gx5 | gx05 | tfe | tagforcee5olution | beginningofdestiny = {{ #if: {{{full|}}} | GX Tag Force Evolution | GX05 }} | | gx5 | gx05 | tfe | tagforcee5olution | beginningofdestiny = {{ #if: {{{full|}}} | GX Tag Force Evolution | GX05 }} | ||
| gx6 | gx06 | tf3 | tf03 | tagforce3 = {{ #if: {{{full|}}} | GX Tag Force 3 | GX06 }} | | gx6 | gx06 | tf3 | tf03 | tagforce3 = {{ #if: {{{full|}}} | GX Tag Force 3 | GX06 }} | ||
+ | | ld | lod | lotd | legacyofduelist = {{ #if: {{{full|}}} | Legacy of the Duelist | LD }} | ||
+ | | ld2 | lod2 | ldle | linke5olution | legacyofduelistlinke5olution = {{ #if: {{{full|}}} | Legacy of the Duelist: Link Evolution | LOD2 }} | ||
+ | | madu | masterduel = {{ #if: {{{full|}}} | Master Duel | MADU }} | ||
| mc | mcbb | monstercapsule | monstercapsulebreedandbattle | monstercapsulebreed&battle = {{ #if: {{{full|}}} | Monster Capsule: Breed and Battle | MCBB }} | | mc | mcbb | monstercapsule | monstercapsulebreedandbattle | monstercapsulebreed&battle = {{ #if: {{{full|}}} | Monster Capsule: Breed and Battle | MCBB }} | ||
| mcgb | gb | monstercapsulegb = {{ #if: {{{full|}}} | Monster Capsule GB | MCGB }} | | mcgb | gb | monstercapsulegb = {{ #if: {{{full|}}} | Monster Capsule GB | MCGB }} | ||
| md | millenniumduels = {{ #if: {{{full|}}} | Millennium Duels | MD<!-- is this what we want to use? --> }} | | md | millenniumduels = {{ #if: {{{full|}}} | Millennium Duels | MD<!-- is this what we want to use? --> }} | ||
| mm | multimaster = {{ #if: {{{full|}}} | Multi-Master | MM<!-- is this what we want to use? --> }} | | mm | multimaster = {{ #if: {{{full|}}} | Multi-Master | MM<!-- is this what we want to use? --> }} | ||
− | | ntr | nightmaretroubadour = {{ #if: {{{full|}}} | Nightmare Troubadour | NTR }} | + | | mnst | monsterstrike = {{ #if: {{{full|}}} | Monster Strike | MNST }} |
+ | | nt | ntr | nightmaretroubadour = {{ #if: {{{full|}}} | Nightmare Troubadour | NTR }} | ||
| poc | pc | powerofchaos = {{ #if: {{{full|}}} | Power of Chaos | POC }} | | poc | pc | powerofchaos = {{ #if: {{{full|}}} | Power of Chaos | POC }} | ||
| pcj | powerofchaosjoey | powerofchaosjoeypassion | joey | joeypassion = {{ #if: {{{full|}}} | Power of Chaos: Joey the Passion | PCJ }} | | pcj | powerofchaosjoey | powerofchaosjoeypassion | joey | joeypassion = {{ #if: {{{full|}}} | Power of Chaos: Joey the Passion | PCJ }} | ||
Line 54: | Line 60: | ||
| rod | reshefofdestruction = {{ #if: {{{full|}}} | Reshef of Destruction | ROD }} | | rod | reshefofdestruction = {{ #if: {{{full|}}} | Reshef of Destruction | ROD }} | ||
| true = True Duel Monsters | | true = True Duel Monsters | ||
− | | s1 | true1 | truesealedmemories | sealedmemories = {{ #if: {{{full|}}} | True Duel Monsters: Sealed Memories | S1 }} | + | | s1 | true1 | truesealedmemories | sealedmemories = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | Forbidden Memories | True Duel Monsters: Sealed Memories }} | S1 }} |
− | | s2 | true2 | truesucceededmemories | true2succeededmemories | succeededmemories = {{ #if: {{{full|}}} | True Duel Monsters 2: Succeeded Memories | S2 }} | + | | s2 | true2 | truesucceededmemories | true2succeededmemories | succeededmemories = {{ #if: {{{full|}}} | {{ #if: {{{link|}}} | The Duelists of the Roses | True Duel Monsters 2: Succeeded Memories }} | S2 }} |
| sdd | worldwideeditionstairwaytodestinedduel | stairwaytodestinedduel = {{ #if: {{{full|}}} | Worldwide Edition: Stairway to the Destined Duel | SDD }} | | sdd | worldwideeditionstairwaytodestinedduel | stairwaytodestinedduel = {{ #if: {{{full|}}} | Worldwide Edition: Stairway to the Destined Duel | SDD }} | ||
+ | | sbr | dbr | g001 | rdg001 | saikyobattleroyale | dawnofbattleroyale = {{ #if: {{{full|}}} | RUSH DUEL: Dawn of the Battle Royale!! | DBR }} | ||
+ | | g002 | rdg002 | saikyobattleroyaleletsgogorush | letsgogorush = RUSH DUEL: Saikyo Battle Royale!! Let's Go! Go Rush!! | ||
| tf4 | tf04 | tagforce4 = {{ #if: {{{full|}}} | 5D's Tag Force 4 | TF04 }} | | tf4 | tf04 | tagforce4 = {{ #if: {{{full|}}} | 5D's Tag Force 4 | TF04 }} | ||
| tf5 | tf05 | tagforce5 = {{ #if: {{{full|}}} | 5D's Tag Force 5 | TF05 }} | | tf5 | tf05 | tagforce5 = {{ #if: {{{full|}}} | 5D's Tag Force 5 | TF05 }} | ||
| tf6 | tf06 | tagforce6 = {{ #if: {{{full|}}} | 5D's Tag Force 6 | TF06 }} | | tf6 | tf06 | tagforce6 = {{ #if: {{{full|}}} | 5D's Tag Force 6 | TF06 }} | ||
− | | tfk | falseboundkingdom = {{ #if: {{{full|}}} | The Falsebound Kingdom | TFK }} | + | | tfk | fbk | falseboundkingdom = {{ #if: {{{full|}}} | The Falsebound Kingdom | TFK }} |
| tfs | tfsp | tagforcespecial = {{ #if: {{{full|}}} | ARC-V Tag Force Special | TFS }} | | tfs | tfsp | tagforcespecial = {{ #if: {{{full|}}} | ARC-V Tag Force Special | TFS }} | ||
| tsc | sacredcards = {{ #if: {{{full|}}} | The Sacred Cards | TSC }} | | tsc | sacredcards = {{ #if: {{{full|}}} | The Sacred Cards | TSC }} | ||
Line 78: | Line 86: | ||
| zdc1 | worldduelcarn4al | clashduelcarn4al | duelcarn4al = {{ #if: {{{full|}}} | ZEXAL World Duel Carnival | ZDC1 }} | | zdc1 | worldduelcarn4al | clashduelcarn4al | duelcarn4al = {{ #if: {{{full|}}} | ZEXAL World Duel Carnival | ZDC1 }} | ||
}} | }} | ||
− | }}{{ #if: {{ #var: $template:vg }} | {{ #var: $template:vg-ygo }} {{ #var: $template:vg }} | + | }}{{ #if: {{ #var: $template:vg }} |
+ | | {{ #var: $template:vg-ygo }} {{ #var: $template:vg }}<!-- return value --> | ||
+ | | {{ #if: {{{1|}}} | [[Category:((vg)) transclusions with unrecognized input]]<!-- unknown input: track for fixing --> }} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |