Difference between revisions of "Yugipedia:Sandbox"
m (Blank.) (Tag: Blanking) |
("Testcases" for Module:isNewCardTableSets applications.) |
||
Line 1: | Line 1: | ||
+ | __NOTOC__{{ #vardefine: $token | | ||
+ | '''[[Legendary Collection 4: Joey's World]]''' ([[LC04-PT004]]/[[LC04-PT005]]/[[LC04-PT006]]/[[LC04-PT007]]/[[LC04-PT008]]/[[LC04-PT009]] - [[UR]]) ''([[Sheep Token (Blue)]], [[Sheep Token (Orange)]], [[Sheep Token (Pink)]], [[Sheep Token (Orange)]], [[Lamb Token]] (White), [[Lamb Token]] (Pink))'' | ||
+ | '''[[Yugi's Legendary Decks]]''' ([[YGLD-PTTKN]] - [[UR]]) | ||
+ | |||
+ | '''[[Emperor of Darkness Structure Deck]]''' ([[SR01-PTTKN]] - [[Common]]) | ||
+ | |||
+ | '''[[Legendary Decks II]]''' ([[LDK2-PTT01]]/[[LDK2-PTT02]]/[[LDK2-PTT03]] - [[UR]]) ''([[Token (Yugi and Dark Magician)|Yugi and Dark Magician]], [[Token (Kaiba and Blue-Eyes White Dragon)|Kaiba and Blue-Eyes White Dragon]], [[Token (Joey and Red-Eyes B. Dragon)|Joey and Red-Eyes B. Dragon]])'' | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{ #vardefine: $old-cts | | ||
+ | {{Card table set/header|it}} | ||
+ | {{Card table set|TLM-IT012|The Lost Millennium|Super Rare}} | ||
+ | {{Card table set|TLM-IT012|The Lost Millennium|Ultimate Rare}} | ||
+ | {{Card table set|SD7-IT009|Structure Deck: Invincible Fortress|Common}} | ||
+ | {{Card table set|DR3-IT192|Dark Revelation Volume 3|Super Rare}} | ||
+ | {{Card table set/footer}} | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{ #vardefine: $new-cts | | ||
+ | TLM-IT012; The Lost Millennium; Super Rare, Ultimate Rare | ||
+ | SD7-IT009; Structure Deck: Invincible Fortress; Common | ||
+ | DR3-IT192; Dark Revelation Volume 3; Super Rare | ||
+ | }}<!-- | ||
+ | |||
+ | --> | ||
+ | * {{ #if: {{ #invoke: isNewCardTableSets | main | v = {{ #var: $token }} }} | ||
+ | | $token is new | ||
+ | | $token is old | ||
+ | }} | ||
+ | |||
+ | * {{ #if: {{ #invoke: isNewCardTableSets | main | v = {{ #var: $old-cts }} }} | ||
+ | | $old-cts is new | ||
+ | | $old-cts is old | ||
+ | }} | ||
+ | |||
+ | * {{ #if: {{ #invoke: isNewCardTableSets | main | v = {{ #var: $new-cts }} }} | ||
+ | | $new-cts is new | ||
+ | | $new-cts is old | ||
+ | }} | ||
+ | |||
+ | == Actual application == | ||
+ | === Pre CTS input === | ||
+ | {{ #if: {{ #invoke: isNewCardTableSets | main | v = {{ #var: $token }} }} | ||
+ | | {{Card table sets|{{ #var: $token }}|region=it}} | ||
+ | | {{ #var: $token }} | ||
+ | }} | ||
+ | |||
+ | === Old CTS === | ||
+ | {{ #if: {{ #invoke: isNewCardTableSets | main | v = {{ #var: $old-cts }} }} | ||
+ | | {{Card table sets|{{ #var: $old-cts }}|region=it}} | ||
+ | | {{ #var: $old-cts }} | ||
+ | }} | ||
+ | |||
+ | === New CTS === | ||
+ | {{ #if: {{ #invoke: isNewCardTableSets | main | v = {{ #var: $new-cts }} }} | ||
+ | | {{Card table sets|{{ #var: $new-cts }}|region=it}} | ||
+ | | {{ #var: $new-cts }} | ||
+ | }} |
Revision as of 01:40, 13 November 2019
- $token is old
- $old-cts is new
- $new-cts is new
Actual application
Pre CTS input
Legendary Collection 4: Joey's World (LC04-PT004/LC04-PT005/LC04-PT006/LC04-PT007/LC04-PT008/LC04-PT009 - UR) (Sheep Token (Blue), Sheep Token (Orange), Sheep Token (Pink), Sheep Token (Orange), Lamb Token (White), Lamb Token (Pink))
Yugi's Legendary Decks (YGLD-PTTKN - UR)
Emperor of Darkness Structure Deck (SR01-PTTKN - Common)
Legendary Decks II (LDK2-PTT01/LDK2-PTT02/LDK2-PTT03 - UR) (Yugi and Dark Magician, Kaiba and Blue-Eyes White Dragon, Joey and Red-Eyes B. Dragon)
Old CTS
- No set name provided at non-empty input line 1.
- No set name provided at non-empty input line 2.
- No set name provided at non-empty input line 3.
- No set name provided at non-empty input line 4.
- No set name provided at non-empty input line 5.
- No set name provided at non-empty input line 6.
Release | Number | Set | Italian name | Rarity |
---|---|---|---|---|
[[Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).|Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).]] | ||||
[[Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).|Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).]] | ||||
[[Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).|Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).]] | ||||
[[Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).|Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).]] | ||||
[[Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).|Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).]] | ||||
[[Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).|Lua error in Module:Card_table_sets at line 376: attempt to index local 'region' (a nil value).]] |
New CTS
Release | Number | Set | Italian name | Rarity |
---|---|---|---|---|
2005-06-01 | TLM-IT012 | The Lost Millennium | Il Millennio Perduto | Super Rare Ultimate Rare |
2006-05-15 | SD7-IT009 | Structure Deck: Invincible Fortress | Structure Deck: Fortezza Invincibile | Common |
2006-11-25 | DR3-IT192 | Dark Revelation Volume 3 | Rivelazione Oscura Volume 3 | Super Rare |