FANDOM


(add var to allow for automatically detecting and closing unclosed {{cts}} transclusions)
(override manual language setting when transcluded from {{CardTable2}})
Line 1: Line 1:
{{ #vardefine: $cts_open | 1 }}{{ #if: {{{lang|}}} | [[Category:Card table set header transclusions using lang]] }}{{ #if: {{{ct2|}}} || {{ #switch: {{ lc: {{{1|}}} }}
+
{{ #vardefine: $cts_open | 1 }}{{ #if: {{{lang|}}} | [[Category:Card table set header transclusions using lang]] }}{{ #if: {{{ct2|}}} || {{ #switch: {{ lc: {{ #var: $ct2_lang | {{{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 }}
| fc = {{ #vardefine: $set_ln | fr }}{{ #vardefine: $set_lang | French }}
+
| fc = {{ #vardefine: $set_ln | fr }}{{ #vardefine: $set_lang | French }}
| ja | jp = {{ #vardefine: $set_ln | ja }}{{ #vardefine: $set_lang | Japanese }}
+
| ja | jp = {{ #vardefine: $set_ln | ja }}{{ #vardefine: $set_lang | Japanese }}
| sp = {{ #vardefine: $set_ln | es }}{{ #vardefine: $set_lang | Spanish }}
+
| sp = {{ #vardefine: $set_ln | es }}{{ #vardefine: $set_lang | Spanish }}
| tc = {{ #vardefine: $set_ln | zh }}{{ #vardefine: $set_lang | Chinese }}
+
| tc = {{ #vardefine: $set_ln | zh }}{{ #vardefine: $set_lang | Chinese }}
| #default = {{ #vardefine: $set_ln | {{{1}}} }}{{ #vardefine: $set_lang | {{lang|{{{1}}}}} }}
+
| #default = {{ #vardefine: $set_ln | {{ #var: $ct2_lang | {{{1}}} }} }}{{ #vardefine: $set_lang | {{lang|{{ #var: $ct2_lang | {{{1}}} }}}} }}
 
}}<table class="wikitable sortable card-list">
 
}}<table class="wikitable sortable card-list">
<caption class="mobile-show">{{lang|{{{1}}}|short=true}}</caption>
+
<caption class="mobile-show">{{lang|{{ #var: $ct2_lang | {{{1}}} }}|short=true}}</caption>
 
{{
 
{{
 
#if: {{{header|}}}
 
#if: {{{header|}}}
Line 21: Line 21:
 
<th style="width: 12em;">Rarity</th>
 
<th style="width: 12em;">Rarity</th>
 
</tr> }}<noinclude>
 
</tr> }}<noinclude>
{{Card table set/footer}}
+
{{Card table set/footer}}{{ #if: {{ #var: $cts_open }} | yes | no }}
   
 
{{Documentation|Template:Card table set/doc}}
 
{{Documentation|Template:Card table set/doc}}

Revision as of 14:17, February 19, 2015

Release Number Set Rarity
yes
[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
2002-09-19 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.