FANDOM


(due to how the properties are currently set up, $region has to specify "Worldwide English")
(add $short_region variable like I should have done in the first place; add "cts" class for easier CSS (and maybe JS) control)
Line 1: Line 1:
{{ #if: {{{lang|}}} | [[Category:Card table set header transclusions using lang]] }}{{ #switch: {{ lc: {{{1|}}} }}
+
{{ #if: {{{lang|}}} | [[Category:Card table set header transclusions using lang]] }}{{ #switch: {{ lc: {{{1}}} }}
 
| <!-- blank --> | en | na | eu | au
 
| <!-- blank --> | en | na | eu | au
 
| oc | ae = {{ #vardefine: $set_ln | en }}{{ #vardefine: $set_lang | English }}
 
| oc | ae = {{ #vardefine: $set_ln | en }}{{ #vardefine: $set_lang | English }}
Line 11: Line 11:
 
| tc | zh = {{ #vardefine: $set_ln | zh }}{{ #vardefine: $set_lang | Chinese }}
 
| tc | zh = {{ #vardefine: $set_ln | zh }}{{ #vardefine: $set_lang | Chinese }}
 
| #default = {{ #vardefine: $set_ln | {{{1}}} }}{{ #vardefine: $set_lang | {{lang|{{{1}}}}} }}
 
| #default = {{ #vardefine: $set_ln | {{{1}}} }}{{ #vardefine: $set_lang | {{lang|{{{1}}}}} }}
}}{{ #vardefine: $region | {{ #switch: {{ lc: {{{1|}}} }}
+
}}{{ #vardefine: $region | {{ #switch: {{ lc: {{{1}}} }}
 
| en = Worldwide English
 
| en = Worldwide English
 
| na = North American English
 
| na = North American English
Line 28: Line 28:
 
| tc | zh = Chinese
 
| tc | zh = Chinese
 
| #default = English
 
| #default = English
}} }}<table class="wikitable sortable card-list">
+
}} }}{{ #vardefine: $short_region | {{ #ifeq: {{ #var: $set_ln }} | en | English | {{ #var: $region }} }} }}<table class="wikitable sortable card-list cts">
<caption class="mobile-show">{{ #replace: {{ #var: $region }} | Worldwide }}</caption>
+
<caption class="mobile-show">{{ #var: $short_region }}</caption>
 
{{
 
{{
 
#if: {{{header|}}}
 
#if: {{{header|}}}

Revision as of 11:30, October 6, 2015

English
Release Number Set name Rarity
[edit] [purge] Template-info.svg Template documentation

Basic

{{Card table set/header|}}
{{Card table set|||}}
{{Card table set/footer}}

Usage

{{Card table set}} is used to add card set, set number, and rarity information to card pages. Basic usage is {{Card table set|Set number|Set name|Rarity}}

Set number may be omitted if the print in question doesn't have a set number: {{Card table set|‌|Set name|Rarity}}.

The language is detected based on the language passed to {{Card table set/header}}.

Examples

{{Card table set/header|jp}}
{{Card table set||Gold Series 2014}}
{{Card table set|SHSP-JP0??|Shadow Specters|Common}}
{{Card table set|GENF-JP001|Galactic Overlord|Super Rare}}
{{Card table set|303-054|Champion of Black Magic|Ultimate Rare}}
{{Card table set|LB-01|Legend of Blue Eyes White Dragon (Japanese)|Ultra Rare}}
{{Card table set||Premium Pack 2 (Japanese)|Super Rare}}
{{Card table set|N/A|Vol.3|Rare}}
{{Card table set||Vol.1}}
{{Card table set/footer}}
Japanese
Release Number SetJapanese name Rarity
2014-01-11 Gold Series 2014 GOLD SERIES 2014
2013-07-20 SHSP-JP0?? Shadow Specters SHADOW SPECTERS Common
2012-02-18 GENF-JP001 Galactic Overlord GALACTIC OVERLORD Super Rare
303-054 Champion of Black Magic Ultimate Rare
2000-05-18 LB-01 Legend of Blue Eyes White Dragon 青眼の白龍伝説 Ultra Rare
1999-12-18 Premium Pack 2 PREMIUM PACK 2 Super Rare
1999-05-27 N/A Vol.3 Vol.3 Rare
1999-02-04 Vol.1 Vol.1

See also

*Disclosure: Some of the links above are affiliate links, meaning, at no additional cost to you, Fandom will earn a commission if you click through and make a purchase. Community content is available under CC-BY-SA unless otherwise noted.