Difference between revisions of "Template:WC6 card"

From Yugipedia
Jump to: navigation, search
(create (based heavily on {{WC5 card}}, so I'm sure some stuff will need adjusted/corrected))
 
(support up to four artworks)
 
Line 5: Line 5:
  
 
## Variables ##
 
## Variables ##
-->{{ #vardefine: $release         | Yu-Gi-Oh! Ultimate Masters: World Championship Tournament 2006 }}<!--
+
-->{{ #vardefine: $release         | Yu-Gi-Oh! Ultimate Masters: World Championship Tournament 2006 }}<!--
-->{{ #vardefine: $pagename       | {{ #explode: {{PAGENAME}} | ( }}      }}<!--
+
-->{{ #vardefine: $pagename         | {{ #explode: {{PAGENAME}} | ( }}      }}<!--
-->{{ #vardefine: $name           | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #var: $pagename }} }} }} }}<!--
+
-->{{ #vardefine: $name             | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #var: $pagename }} }} }} }}<!--
-->{{ #vardefine: $url-name       | {{ #replace: {{ #var: $name }} | # }} }}<!--
+
-->{{ #vardefine: $url-name         | {{ #replace: {{ #var: $name }} | # }} }}<!--
-->{{ #vardefine: $attribute       | {{ uc: {{{attribute|}}} }}            }}<!--
+
-->{{ #vardefine: $attribute       | {{ uc: {{{attribute|}}} }}            }}<!--
-->{{ #vardefine: $property       | {{{property|}}}                      }}<!--
+
-->{{ #vardefine: $property         | {{{property|}}}                      }}<!--
-->{{ #vardefine: $type           | {{ #explode: {{{types<includeonly>|</includeonly>}}} | / }} }}<!--
+
-->{{ #vardefine: $type             | {{ #explode: {{{types<includeonly>|</includeonly>}}} | / }} }}<!--
-->{{ #vardefine: $type2           | {{ #explode: {{{types|}}} | / | 1 }}  }}<!--
+
-->{{ #vardefine: $type2           | {{ #explode: {{{types|}}} | / | 1 }}  }}<!--
-->{{ #vardefine: $type3           | {{ #explode: {{{types|}}} | / | 2 }}  }}<!--
+
-->{{ #vardefine: $type3           | {{ #explode: {{{types|}}} | / | 2 }}  }}<!--
-->{{ #vardefine: $atk             | {{{atk|}}}                            }}<!--
+
-->{{ #vardefine: $atk             | {{{atk|}}}                            }}<!--
-->{{ #vardefine: $def             | {{{def|}}}                            }}<!--
+
-->{{ #vardefine: $def             | {{{def|}}}                            }}<!--
-->{{ #vardefine: $stars           | {{{level|}}}                          }}<!--
+
-->{{ #vardefine: $stars           | {{{level|}}}                          }}<!--
-->{{ #vardefine: $level-rank     | Level                                }}<!-- needed for {{Star properties}}
+
-->{{ #vardefine: $level-rank       | Level                                }}<!-- needed for {{Star properties}}
-->{{ #vardefine: $star_icon       | <includeonly>{{Repeat|[[File:CG Star.svg|18px|alt=]]|{{ #var: $stars }}}}</includeonly> }}<!--
+
-->{{ #vardefine: $star_icon       | <includeonly>{{Repeat|[[File:CG Star.svg|18px|alt=]]|{{ #var: $stars }}}}</includeonly> }}<!--
-->{{ #vardefine: $number         | {{ #if: {{{number<includeonly>|</includeonly>}}} | {{ padleft: {{{number}}}  | 4 | 0 }} }} }}<!--
+
-->{{ #vardefine: $number           | {{ #if: {{{number<includeonly>|</includeonly>}}} | {{ padleft: {{{number}}}  | 4 | 0 }} }} }}<!--
-->{{ #vardefine: $internal_number | {{ #if: {{{internal_number<includeonly>|</includeonly>}}} | {{ padleft: {{{internal_number}}}  | 4 | 0 }} }} }}<!--
+
-->{{ #vardefine: $internal_number | {{ #if: {{{internal_number<includeonly>|</includeonly>}}} | {{ padleft: {{{internal_number}}}  | 4 | 0 }} }} }}<!--
-->{{ #vardefine: $alt_card       | {{ #if: {{ #pos: {{PAGENAME}} | 5 alternat }} | -alt }} }}<!--
+
-->{{ #vardefine: $number2          | {{ #if: {{{number2<includeonly>|</includeonly>}}} | {{ padleft: {{{number2}}}  | 4 | 0 }} }} }}<!--
 +
-->{{ #vardefine: $internal_number2 | {{ #if: {{{internal_number2<includeonly>|</includeonly>}}} | {{ padleft: {{{internal_number2}}}  | 4 | 0 }} }} }}<!--
 +
-->{{ #vardefine: $number3          | {{ #if: {{{number3<includeonly>|</includeonly>}}} | {{ padleft: {{{number3}}}  | 4 | 0 }} }} }}<!--
 +
-->{{ #vardefine: $internal_number3 | {{ #if: {{{internal_number3<includeonly>|</includeonly>}}} | {{ padleft: {{{internal_number3}}}  | 4 | 0 }} }} }}<!--
 +
-->{{ #vardefine: $number4          | {{ #if: {{{number4<includeonly>|</includeonly>}}} | {{ padleft: {{{number4}}}  | 4 | 0 }} }} }}<!--
 +
-->{{ #vardefine: $internal_number4 | {{ #if: {{{internal_number4<includeonly>|</includeonly>}}} | {{ padleft: {{{internal_number4}}}  | 4 | 0 }} }} }}<!--
 +
-->{{ #vardefine: $alt_card         | {{ #if: {{ #pos: {{PAGENAME}} | 5 alternat }} | -alt }} }}<!--
  
 
-->{{ #switch: {{ lc: {{{card_type|}}} }}
 
-->{{ #switch: {{ lc: {{{card_type|}}} }}
Line 56: Line 62:
  
 
-->{{ #vardefine: $image-name-fragment | {{Card image name|{{ #var: $url-name }} }} }}<!--
 
-->{{ #vardefine: $image-name-fragment | {{Card image name|{{ #var: $url-name }} }} }}<!--
-->{{ #vardefine: $en_na_image  | {{ #var: $image-name-fragment }}-WC6-EN-VG-NA{{ #var: $alt_card }}.png }}<!--
+
-->{{ #vardefine: $en_image | {{ #var: $image-name-fragment }}-WC6-EN-VG{{ #var: $alt_card }}.png }}<!--
-->{{ #vardefine: $fr_na_image  | {{ #var: $image-name-fragment }}-WC6-FR-VG-NA{{ #var: $alt_card }}.png }}<!--
+
-->{{ #vardefine: $fr_image | {{ #var: $image-name-fragment }}-WC6-FR-VG{{ #var: $alt_card }}.png }}<!--
-->{{ #vardefine: $de_na_image  | {{ #var: $image-name-fragment }}-WC6-DE-VG-NA{{ #var: $alt_card }}.png }}<!--
+
-->{{ #vardefine: $de_image | {{ #var: $image-name-fragment }}-WC6-DE-VG{{ #var: $alt_card }}.png }}<!--
-->{{ #vardefine: $it_na_image  | {{ #var: $image-name-fragment }}-WC6-IT-VG-NA{{ #var: $alt_card }}.png }}<!--
+
-->{{ #vardefine: $it_image | {{ #var: $image-name-fragment }}-WC6-IT-VG{{ #var: $alt_card }}.png }}<!--
-->{{ #vardefine: $es_na_image  | {{ #var: $image-name-fragment }}-WC6-SP-VG-NA{{ #var: $alt_card }}.png }}<!--
+
-->{{ #vardefine: $es_image | {{ #var: $image-name-fragment }}-WC6-SP-VG{{ #var: $alt_card }}.png }}<!--
-->{{ #vardefine: $ja_na_image  | {{ #var: $image-name-fragment }}-WC6-JP-VG-NA{{ #var: $alt_card }}.png }}<!--
+
-->{{ #vardefine: $ja_image | {{ #var: $image-name-fragment }}-WC6-JP-VG{{ #var: $alt_card }}.png }}<!--
  
-->{{ #vardefine: $en_eu_image  | {{ #var: $image-name-fragment }}-WC6-EN-VG-EU{{ #var: $alt_card }}.png }}<!--
+
-->{{ #if: {{{number2|}}}{{{internal_number2|}}}
-->{{ #vardefine: $fr_eu_image  | {{ #var: $image-name-fragment }}-WC6-FR-VG-EU{{ #var: $alt_card }}.png }}<!--
+
| <!--
-->{{ #vardefine: $de_eu_image  | {{ #var: $image-name-fragment }}-WC6-DE-VG-EU{{ #var: $alt_card }}.png }}<!--
+
  -->{{ #vardefine: $en_image2 | {{ #var: $image-name-fragment }}-WC6-EN-VG-2.png }}<!--
-->{{ #vardefine: $it_eu_image  | {{ #var: $image-name-fragment }}-WC6-IT-VG-EU{{ #var: $alt_card }}.png }}<!--
+
  -->{{ #vardefine: $fr_image2 | {{ #var: $image-name-fragment }}-WC6-FR-VG-2.png }}<!--
-->{{ #vardefine: $es_eu_image  | {{ #var: $image-name-fragment }}-WC6-SP-VG-EU{{ #var: $alt_card }}.png }}<!--
+
  -->{{ #vardefine: $de_image2 | {{ #var: $image-name-fragment }}-WC6-DE-VG-2.png }}<!--
-->{{ #vardefine: $ja_eu_image  | {{ #var: $image-name-fragment }}-WC6-JP-VG-EU{{ #var: $alt_card }}.png }}<!--
+
  -->{{ #vardefine: $it_image2 | {{ #var: $image-name-fragment }}-WC6-IT-VG-2.png }}<!--
 +
  -->{{ #vardefine: $es_image2 | {{ #var: $image-name-fragment }}-WC6-SP-VG-2.png }}<!--
 +
  -->{{ #vardefine: $ja_image2 | {{ #var: $image-name-fragment }}-WC6-JP-VG-2.png }}
 +
}}<!--
  
-->{{ #vardefine: $image
+
-->{{ #if: {{{number3|}}}{{{internal_number3|}}}
| {{ #ifexist: File:{{ #var: $en_eu_image }}
+
| <!--
   | {{ #var: $en_eu_image }}
+
  -->{{ #vardefine: $en_image2 | {{ #var: $image-name-fragment }}-WC6-EN-VG-3.png }}<!--
   | {{ #ifexist: File:{{ #var: $en_na_image }}
+
  -->{{ #vardefine: $fr_image2 | {{ #var: $image-name-fragment }}-WC6-FR-VG-3.png }}<!--
    | {{ #var: $en_na_image }}
+
   -->{{ #vardefine: $de_image2 | {{ #var: $image-name-fragment }}-WC6-DE-VG-3.png }}<!--
    | WC6-VideoGameEN.jpg
+
   -->{{ #vardefine: $it_image2 | {{ #var: $image-name-fragment }}-WC6-IT-VG-3.png }}<!--
    }}
+
  -->{{ #vardefine: $es_image2 | {{ #var: $image-name-fragment }}-WC6-SP-VG-3.png }}<!--
   }}
+
   -->{{ #vardefine: $ja_image2 | {{ #var: $image-name-fragment }}-WC6-JP-VG-3.png }}
 
}}<!--
 
}}<!--
 +
 +
-->{{ #vardefine: $image | {{ #ifexist: File:{{ #var: $en_image }} | {{ #var: $en_image }} | WC6-VideoGameEN.jpg }} }}<!--
  
 
-->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }}
 
-->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }}
Line 128: Line 139:
 
   | Card number    = {{ #var: $number }}
 
   | Card number    = {{ #var: $number }}
 
   | Internal number = {{ #var: $internal_number }}
 
   | Internal number = {{ #var: $internal_number }}
   | English image  = {{ #var: $en_na_image }};{{ #var: $en_eu_image }}|+sep=;
+
   | English image  = {{ #var: $en_image }}
   | French image    = {{ #var: $fr_na_image }};{{ #var: $fr_eu_image }}|+sep=;
+
  | French image    = {{ #var: $fr_image }}
   | German image    = {{ #var: $de_na_image }};{{ #var: $de_eu_image }}|+sep=;
+
  | German image    = {{ #var: $de_image }}
   | Italian image  = {{ #var: $it_na_image }};{{ #var: $it_eu_image }}|+sep=;
+
  | Italian image  = {{ #var: $it_image }}
   | Spanish image  = {{ #var: $es_na_image }};{{ #var: $es_eu_image }}|+sep=;
+
   | Spanish image  = {{ #var: $es_image }}
   | Japanese image  = {{ #var: $ja_na_image }};{{ #var: $ja_eu_image }}|+sep=;
+
  | Japanese image = {{ #var: $ja_image }}
 +
  }}<!--
 +
 
 +
  -->{{ #subobject: artwork_2
 +
  | Subobject of   = {{FULLPAGENAME}}
 +
  | Card number    = {{ #var: $number2 }}
 +
  | Internal number = {{ #var: $internal_number3 }}
 +
  | English image  = {{ #var: $en_image }}
 +
  | French image    = {{ #var: $fr_image }}
 +
   | German image    = {{ #var: $de_image }}
 +
  | Italian image  = {{ #var: $it_image }}
 +
  | Spanish image  = {{ #var: $es_image }}
 +
   | Japanese image = {{ #var: $ja_image }}
 +
   }}<!--
 +
 
 +
  -->{{ #subobject: artwork_3
 +
  | Subobject of    = {{FULLPAGENAME}}
 +
  | Card number    = {{ #var: $number3 }}
 +
  | Internal number = {{ #var: $internal_number3 }}
 +
  | English image  = {{ #var: $en_image }}
 +
   | French image   = {{ #var: $fr_image }}
 +
   | German image    = {{ #var: $de_image }}
 +
  | Italian image  = {{ #var: $it_image }}
 +
  | Spanish image  = {{ #var: $es_image }}
 +
   | Japanese image  = {{ #var: $ja_image }}
 +
  }}<!--
 +
 
 +
  -->{{ #subobject: artwork_4
 +
  | Subobject of    = {{FULLPAGENAME}}
 +
  | Card number    = {{ #var: $number4 }}
 +
  | Internal number = {{ #var: $internal_number4 }}
 +
  | English image  = {{ #var: $en_image }}
 +
  | French image    = {{ #var: $fr_image }}
 +
  | German image    = {{ #var: $de_image }}
 +
  | Italian image  = {{ #var: $it_image }}
 +
  | Spanish image  = {{ #var: $es_image }}
 +
  | Japanese image  = {{ #var: $ja_image }}
 
   }}
 
   }}
 
}}<!--
 
}}<!--
Line 161: Line 208:
 
| below_image = <includeonly>
 
| below_image = <includeonly>
 
<div class="hlist image-switcher">
 
<div class="hlist image-switcher">
;<abbr title="Japan">jp</abbr>
+
{{ #if: {{{number2|}}}{{{internal_number2|}}} |&#32;
: {{Image dimensions|{{ #var: $en_na_image }}|2=<span title="English">en</span>}}
+
;Artwork 1 }}
: {{Image dimensions|{{ #var: $ja_na_image }}|2=<span title="Japanese">ja</span>}}
+
: {{Image dimensions|{{ #var: $en_image }}|2=<span title="English">en</span>}}
 +
: {{Image dimensions|{{ #var: $fr_image }}|2=<span title="French">fr</span>}}
 +
: {{Image dimensions|{{ #var: $de_image }}|2=<span title="German">de</span>}}
 +
: {{Image dimensions|{{ #var: $it_image }}|2=<span title="Italian">it</span>}}
 +
: {{Image dimensions|{{ #var: $es_image }}|2=<span title="Spanish">es</span>}}
 +
: {{Image dimensions|{{ #var: $ja_image }}|2=<span title="Japanese">ja</span>}}<!--
  
;<abbr title="North America">na</abbr>
+
-->{{ #if: {{{number2|}}}{{{internal_number2|}}} |&#32;
: {{Image dimensions|{{ #var: $en_na_image }}|2=<span title="English">en</span>}}
+
;Artwork 2
: {{Image dimensions|{{ #var: $fr_na_image }}|2=<span title="French">fr</span>}}
+
: {{Image dimensions|{{ #var: $en_image2 }}|2=<span title="English">en</span>}}
: {{Image dimensions|{{ #var: $de_na_image }}|2=<span title="German">de</span>}}
+
: {{Image dimensions|{{ #var: $fr_image2 }}|2=<span title="French">fr</span>}}
: {{Image dimensions|{{ #var: $it_na_image }}|2=<span title="Italian">it</span>}}
+
: {{Image dimensions|{{ #var: $de_image2 }}|2=<span title="German">de</span>}}
: {{Image dimensions|{{ #var: $es_na_image }}|2=<span title="Spanish">es</span>}}
+
: {{Image dimensions|{{ #var: $it_image2 }}|2=<span title="Italian">it</span>}}
: {{Image dimensions|{{ #var: $ja_na_image }}|2=<span title="Japanese">ja</span>}}
+
: {{Image dimensions|{{ #var: $es_image2 }}|2=<span title="Spanish">es</span>}}
 +
: {{Image dimensions|{{ #var: $ja_image2 }}|2=<span title="Japanese">ja</span>}}
 +
}}<!--
  
;<abbr title="Europe">eu</abbr>
+
-->{{ #if: {{{number3|}}}{{{internal_number3|}}} |&#32;
: {{Image dimensions|{{ #var: $en_eu_image }}|2=<span title="English">en</span>}}
+
;Artwork 3
: {{Image dimensions|{{ #var: $fr_eu_image }}|2=<span title="French">fr</span>}}
+
: {{Image dimensions|{{ #var: $en_image3 }}|2=<span title="English">en</span>}}
: {{Image dimensions|{{ #var: $de_eu_image }}|2=<span title="German">de</span>}}
+
: {{Image dimensions|{{ #var: $fr_image3 }}|2=<span title="French">fr</span>}}
: {{Image dimensions|{{ #var: $it_eu_image }}|2=<span title="Italian">it</span>}}
+
: {{Image dimensions|{{ #var: $de_image3 }}|2=<span title="German">de</span>}}
: {{Image dimensions|{{ #var: $es_eu_image }}|2=<span title="Spanish">es</span>}}
+
: {{Image dimensions|{{ #var: $it_image3 }}|2=<span title="Italian">it</span>}}
: {{Image dimensions|{{ #var: $ja_eu_image }}|2=<span title="Japanese">ja</span>}}
+
: {{Image dimensions|{{ #var: $es_image3 }}|2=<span title="Spanish">es</span>}}
 +
: {{Image dimensions|{{ #var: $ja_image3 }}|2=<span title="Japanese">ja</span>}}
 +
}}<!--
 +
 
 +
-->{{ #if: {{{number4|}}}{{{internal_number4|}}} |&#32;
 +
;Artwork 4
 +
: {{Image dimensions|{{ #var: $en_image4 }}|2=<span title="English">en</span>}}
 +
: {{Image dimensions|{{ #var: $fr_image4 }}|2=<span title="French">fr</span>}}
 +
: {{Image dimensions|{{ #var: $de_image4 }}|2=<span title="German">de</span>}}
 +
: {{Image dimensions|{{ #var: $it_image4 }}|2=<span title="Italian">it</span>}}
 +
: {{Image dimensions|{{ #var: $es_image4 }}|2=<span title="Spanish">es</span>}}
 +
: {{Image dimensions|{{ #var: $ja_image4 }}|2=<span title="Japanese">ja</span>}}
 +
}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
Line 212: Line 278:
  
 
| label8    = Number
 
| label8    = Number
| data8    = {{ #var: $number }}
+
| class8    = list-noicon
 +
| data8    = {{ #if: {{ #var: $number2 }}
 +
  |
 +
* {{ #var: $number  }} (artwork 1)
 +
* {{ #var: $number2 }} (artwork 2){{ #if: {{ #var: $number3 }} |&#32;
 +
* {{ #var: $number3 }} (artwork 3) }}{{ #if: {{ #var: $number4 }} |&#32;
 +
* {{ #var: $number4 }} (artwork 4) }}
 +
  | {{ #var: $number }}
 +
  }}
  
 
| label9    = Internal number
 
| label9    = Internal number
| data9    = {{ #var: $internal_number }}
+
| class9    = list-noicon
 +
| data9    = {{ #if: {{ #var: $internal_number2 }}
 +
  |
 +
* {{ #var: $internal_number  }} (artwork 1)
 +
* {{ #var: $internal_number2 }} (artwork 2){{ #if: {{ #var: $internal_number3 }} |&#32;
 +
* {{ #var: $internal_number3 }} (artwork 3) }}{{ #if: {{ #var: $internal_number4 }} |&#32;
 +
* {{ #var: $internal_number4 }} (artwork 4) }}
 +
  | {{ #var: $internal_number }}
 +
  }}
  
 
| label10  = [[Password]]
 
| label10  = [[Password]]

Latest revision as of 00:48, 5 December 2019

Main card page: "[[{{{main}}}|{{{main}}}]]"
WC6 card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Back-EN.png
Card type

[[{{{card_type}}} Card|{{{card_type}}}]]

Type

[[{{{types}}}|{{{types}}}]] [[File:{{{types}}}-TF06.png|16px|alt=]]

ATK / DEF

{{{atk}}} / {{{def}}}

Effect type

  • [[{{{effect_types}}}|{{{effect_types}}}]]
Number
  • {{{number}}} (artwork 1)
  • {{{number2}}} (artwork 2)
  • {{{number3}}} (artwork 3)
  • {{{number4}}} (artwork 4)
Internal number
  • {{{internal_number}}} (artwork 1)
  • {{{internal_number2}}} (artwork 2)
  • {{{internal_number3}}} (artwork 3)
  • {{{internal_number4}}} (artwork 4)
Password

{{{password}}}

{{{lore}}}

  • [[Card Gallery:{{{main}}}#|Gallery]]
  • [[Card Artworks:{{{main}}}#|Artworks]]
  • [[Card Tips:{{{main}}}#|Tips]]
  • [[Card Trivia:{{{main}}}#|Trivia]]
  • [[Card Appearances:{{{main}}}#|Appearances]]

Sets

Set Rarity
All Normal Monsters Common
All at Random Common

Other languages

Name Lore
French {{{fr_name}}} {{{fr_lore}}}
German {{{de_name}}} {{{de_lore}}}
Italian {{{it_name}}} {{{it_lore}}}
Spanish {{{es_name}}} {{{es_lore}}}
Japanese {{{ja_name}}} {{{ja_lore}}}
Japanese translated {{{trans_name}}} {{{ja_trans_lore}}}
Template documentation[create]