Difference between revisions of "Template:WC4 card"

From Yugipedia
Jump to: navigation, search
(one more fix)
(pass card name to {{Enumeration}})
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__{{ #if: {{ #pos: {{PAGENAME}} | World Championship 2004 }} | {{Italic title|{{ #replace: {{PAGENAME}} | (World Championship 2004 | (<i>World Championship 2004</i> }}|t=1}} }}{{ #if: {{NAMESPACE}}
+
{{ #if: {{ #pos: {{PAGENAME}} | World Championship 2004 }} | {{Italic title|{{ #replace: {{PAGENAME}} | (World Championship 2004 | (<i>World Championship 2004</i> }}|t=1}} }}{{ #if: {{NAMESPACE}}
 
|
 
|
 
| [[Category:Yu-Gi-Oh! World Championship Tournament 2004 cards]]
 
| [[Category:Yu-Gi-Oh! World Championship Tournament 2004 cards]]
Line 18: Line 18:
 
-->{{ #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=|class=noviewer]]|{{ #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 }} }} }}<!--
Line 34: Line 34:
 
-->{{ #switch: {{ #var: $type2 }}
 
-->{{ #switch: {{ #var: $type2 }}
 
|          = {{ #if: {{{card_type|}}} || {{ #vardefine: $monster_type | Normal }} }}
 
|          = {{ #if: {{{card_type|}}} || {{ #vardefine: $monster_type | Normal }} }}
| Effect
+
| Effect   = {{ #vardefine: $monster_type | {{ #var: $type2 }}        }}<!--
 +
          -->{{ #vardefine: $type2_page  | {{ #var: $type2 }} Monster }}<!--
 +
          -->{{ #vardefine: $has_effect  | true                      }}
 
| Fusion
 
| Fusion
 
| Ritual  = {{ #vardefine: $monster_type | {{ #var: $type2 }}        }}<!--
 
| Ritual  = {{ #vardefine: $monster_type | {{ #var: $type2 }}        }}<!--
Line 41: Line 43:
 
| Toon    = {{ #vardefine: $monster_type | Effect                    }}<!--
 
| Toon    = {{ #vardefine: $monster_type | Effect                    }}<!--
 
           -->{{ #vardefine: $type2_page  | {{ #var: $type2 }} monster }}<!--
 
           -->{{ #vardefine: $type2_page  | {{ #var: $type2 }} monster }}<!--
           -->{{ #vardefine: $has_effect  | 1                          }}[[Ability::{{ #var: $type2 }}| ]]
+
           -->{{ #vardefine: $has_effect  | true                      }}[[Ability::{{ #var: $type2 }}| ]]
 
}}<!--
 
}}<!--
  
-->{{ #if: {{ #var: $type3 }} | {{ #vardefine: $type3_page | Effect Monster }}{{ #vardefine: $has_effect | 1 }} }}<!--
+
-->{{ #if: {{ #var: $type3 }} | {{ #vardefine: $type3_page | Effect Monster }}{{ #vardefine: $has_effect | true }} }}<!--
  
-->{{ #vardefine: $image-name-fragment | {{Card image name|{{ #var: $url-name }} }} }}<!--
+
-->{{ #vardefine: $image-name-fragment | {{Card image name|{{PAGENAME}} }} }}<!--
 
-->{{ #vardefine: $en_image  | {{ #var: $image-name-fragment }}-WC4-EN-VG{{ #var: $alt_card }}.png }}<!--
 
-->{{ #vardefine: $en_image  | {{ #var: $image-name-fragment }}-WC4-EN-VG{{ #var: $alt_card }}.png }}<!--
 
-->{{ #vardefine: $fr_image  | {{ #var: $image-name-fragment }}-WC4-FR-VG{{ #var: $alt_card }}.png }}<!--
 
-->{{ #vardefine: $fr_image  | {{ #var: $image-name-fragment }}-WC4-FR-VG{{ #var: $alt_card }}.png }}<!--
Line 53: Line 55:
 
-->{{ #vardefine: $es_image  | {{ #var: $image-name-fragment }}-WC4-SP-VG{{ #var: $alt_card }}.png }}<!--
 
-->{{ #vardefine: $es_image  | {{ #var: $image-name-fragment }}-WC4-SP-VG{{ #var: $alt_card }}.png }}<!--
 
-->{{ #vardefine: $ja_image  | {{ #var: $image-name-fragment }}-WC4-JP-VG{{ #var: $alt_card }}.png }}<!--
 
-->{{ #vardefine: $ja_image  | {{ #var: $image-name-fragment }}-WC4-JP-VG{{ #var: $alt_card }}.png }}<!--
-->{{ #vardefine: $image | {{ #ifexist: File:{{ #var: $en_image }} | {{ #var: $en_image }} | WC4-VideoGameEN.jpg }} }}<!--
+
 
 +
# European English image (only used for "Sinister Serpent")
 +
-->{{ #vardefine: $eu_image  | {{ #ifexist: File:{{ #var: $image-name-fragment }}-WC4-EU-VG{{ #var: $alt_card }}.png | {{ #var: $image-name-fragment }}-WC4-EU-VG{{ #var: $alt_card }}.png }} }}<!--
 +
 
 +
# Main image
 +
-->{{ #vardefine: $image | {{ #var: $eu_image | {{ #ifexist: File:{{ #var: $en_image }} | {{ #var: $en_image }} | WC4-VideoGame-NA.jpg }} }} }}<!--
  
 
-->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }}
 
-->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }}
Line 69: Line 76:
 
## Properties ##
 
## Properties ##
 
-->{{IfSemantics|<!--
 
-->{{IfSemantics|<!--
 +
  -->[[Debut date::February 5, 2004| ]]<!--
 
   -->[[English name::{{ #var: $name }}| ]]<!--
 
   -->[[English name::{{ #var: $name }}| ]]<!--
 
   -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
 
   -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
Line 79: Line 87:
 
     -->{{ #set: Property (short) = [[{{ #var: $property | Normal }} {{{card_type}}} Card|{{ #var: $property | Normal }}]] }}
 
     -->{{ #set: Property (short) = [[{{ #var: $property | Normal }} {{{card_type}}} Card|{{ #var: $property | Normal }}]] }}
 
   | [[Monster type::{{ #var: $monster_type }} Monster| ]]<!--
 
   | [[Monster type::{{ #var: $monster_type }} Monster| ]]<!--
     -->{{ #set: Monster type (short) = [[{{ #var: $monster_type }} Monster|{{ #var: $monster_type }}]] }}
+
     -->{{ #set: Monster type (short) = [[{{ #var: $monster_type }} Monster|{{ #var: $monster_type }}]] }}<!--
 +
    -->[[Is Effect Monster::{{ #var: $has_effect | false }}| ]]
 
   }}<!--
 
   }}<!--
 
   -->[[Attribute::{{ #var: $attribute }}| ]]<!--
 
   -->[[Attribute::{{ #var: $attribute }}| ]]<!--
Line 111: Line 120:
  
 
-->{{ #if: {{ #var: $main }}
 
-->{{ #if: {{ #var: $main }}
| {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text | {{ #var: $main }} }}]]"}}
+
| {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text | {{ #var: $main }} }}]]"|t=1}}
 
}}<!--
 
}}<!--
  
Line 122: Line 131:
  
 
| image    = {{ #var: $image }}
 
| image    = {{ #var: $image }}
| max_width = 240
+
| width    = 240
| below_image = <includeonly>
 
<div class="hlist image-switcher">
 
* {{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>}}
 
</div>
 
</includeonly>
 
  
 
| label1    = [[Card type]]
 
| label1    = [[Card type]]
Line 138: Line 137:
  
 
| label2    = [[Property]]
 
| label2    = [[Property]]
| data2    = {{ #if: {{{property|}}} | [[{{{property}}} {{{card_type<includeonly>|</includeonly>}}} Card|{{{property}}}]] [[File:{{{property}}}.svg|18px|alt=]] }}
+
| data2    = {{ #if: {{{property|}}} | [[{{{property}}} {{{card_type<includeonly>|</includeonly>}}} Card|{{{property}}}]] [[File:{{{property}}}.svg|18px|alt=|class=noviewer]] }}
  
 
| label3    = [[Attribute]]
 
| label3    = [[Attribute]]
| data3    = {{ #if: {{{attribute|}}} | [[{{ #var: $attribute }}]] [[File:{{ #var: $attribute }}.svg|24px|alt=]] }}
+
| data3    = {{ #if: {{{attribute|}}} | [[{{ #var: $attribute }}]] [[File:{{ #var: $attribute }}.svg|24px|alt=|class=noviewer]] }}
  
 
| label4    = [[Type]]
 
| label4    = [[Type]]
Line 149: Line 148:
 
&#32;/ [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }} <!--
 
&#32;/ [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }} <!--
  
-->[[File:{{ #var: $type }}-TF06.png|16px|alt=]]<!--
+
-->[[File:{{ #var: $type }}-TF06.png|16px|alt=|class=noviewer]]
-->{{ #if: {{ #var: $type2_page }} | [[File:{{ #var: $type2_page }}-DM5.png|16px|alt=]] }}<!--
 
-->{{ #if: {{ #var: $type3_page }} | [[File:{{ #var: $type3_page }}-DM5.png|16px|alt=]] }}
 
 
   }}
 
   }}
  
Line 183: Line 180:
 
   |
 
   |
 
   |{{ #var: $number }}
 
   |{{ #var: $number }}
 +
  |name      = {{ #var: $name }}
 
   |last      = 1138
 
   |last      = 1138
   |curr      = ''[[Yu-Gi-Oh! World Championship Tournament 2004]]'' cards<br />([[List of Yu-Gi-Oh! World Championship Tournament 2004 cards|list]] '''·''' galleries: <!--
+
   |curr      = ''[[Yu-Gi-Oh! World Championship Tournament 2004]]'' cards ([[List of Yu-Gi-Oh! World Championship Tournament 2004 cards|list]] '''·''' [[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (English)|gallery]])
-->[[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (English)|en]] '''·''' <!--
 
-->[[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (French)|fr]] '''·''' <!--
 
-->[[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (German)|de]] '''·''' <!--
 
-->[[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (Italian)|it]] '''·''' <!--
 
-->[[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (Spanish)|es]] '''·''' <!--
 
-->[[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (Japanese)|ja]])
 
 
   |curr2      = none
 
   |curr2      = none
 
   |padded    = true
 
   |padded    = true
Line 197: Line 189:
 
}}
 
}}
  
{{Card info links|{{ #var: $main | {{ #var: $pagename }} }}|medium=vg}}<!--
+
{{Card info links|{{ #var: $main | {{ #var: $pagename }} }}|medium=vg}}
 
 
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} | &#32;
 
==Sets==
 
<!--
 
  
  -->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]][[Subobject of.Set type::!Initial Deck]] }} | &#32;
+
<h2>Sets</h2>
 
<table class="wikitable">
 
<table class="wikitable">
 
   <tr>
 
   <tr>
Line 217: Line 205:
 
     |template  = EDS card/set row
 
     |template  = EDS card/set row
 
     |named args = true
 
     |named args = true
     }}
+
     }}<!--
</table>
+
 
 +
  --><tr>
 +
    <td>{{ #switch: {{ #var: $card_type | Monster }}
 +
    | Monster = [[Purple Millennium Puzzle pack (World Championship 2004)|Purple Millennium Puzzle pack]]
 +
    | Spell  = [[Green Millennium Puzzle pack (World Championship 2004)|Green Millennium Puzzle pack]]
 +
    | Trap    = [[Red Millennium Puzzle pack (World Championship 2004)|Red Millennium Puzzle pack]]
 +
    }}</td>
 +
    <td>[[Common]]</td>
 +
  </tr><!--
 +
 
 +
  -->{{ #if: {{ #var: $has_effect }} |
 +
  <tr>
 +
    <td>[[Yellow Millennium Puzzle pack (World Championship 2004)|Yellow Millennium Puzzle pack]]</td>
 +
    <td>[[Common]]</td>
 +
  </tr>
 
   }}<!--
 
   }}<!--
  
   -->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]][[-Has subobject.Set type::Initial Deck]] }}
+
   --><tr>
  | <p>"{{ #var: $name }}" can be included in the [[Initial Deck (World Championship 2004)|Initial Deck]].</p>
+
    <td>[[Eye of Wdjat pack (World Championship 2004)|Eye of Wdjat pack]]</td>
 +
    <td>[[Common]]</td>
 +
  </tr>
 +
</table><!--
 +
 
 +
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]][[-Has subobject.Set type::Initial Deck]] }}
 +
| <p>"{{ #var: $name }}" can be included in the [[Initial Deck (World Championship 2004)|Initial Deck]].</p>
 +
}}
 +
<!--
 +
 
 +
-->{{ #ifeq: {{ #ask: [[Deck contains::{{PAGENAME}}]] |format=count }} | 0 || &#32;
 +
<h2>Characters' Decks</h2>
 +
The following characters use "{{ #var: $name }}" in their Deck.
 +
 
 +
<table class="wikitable sortable">
 +
  <tr>
 +
    <th scope="col">Character</th>
 +
    <th scope="col">Deck</th>
 +
    <th scope="col"><abbr title="Quantity">Qty</abbr></th>
 +
  </tr>
 +
{{ #ask: [[Deck contains::{{PAGENAME}}]][[Amount::+]]
 +
  |?In Deck.Owner#      = Character
 +
  |?In Deck.Owner name  = Character name
 +
  |?In Deck.English name = Deck name
 +
  |?Amount              = Quantity
 +
  |format    = plain
 +
  |template  = WC4 card/Deck row
 +
  |named args = true
 
   }}
 
   }}
 +
</table>
 
}}<!--
 
}}<!--
  
 
-->{{ #if: {{{fr_name<includeonly>|</includeonly>}}}{{{fr_lore|}}}{{{de_name|}}}{{{de_lore|}}}{{{it_name|}}}{{{it_lore|}}}{{{es_name|}}}{{{es_lore|}}}{{{ja_lore|}}} | &#32;
 
-->{{ #if: {{{fr_name<includeonly>|</includeonly>}}}{{{fr_lore|}}}{{{de_name|}}}{{{de_lore|}}}{{{it_name|}}}{{{it_lore|}}}{{{es_name|}}}{{{es_lore|}}}{{{ja_lore|}}} | &#32;
==Other languages==
+
<h2>Other languages</h2>
 
<table class="wikitable">
 
<table class="wikitable">
 
     <tr>
 
     <tr>
Line 272: Line 302:
 
   }}
 
   }}
 
</table>
 
</table>
 +
}}
 +
<h2>Gallery</h2>
 +
{{ #tag: gallery |
 +
{{ #var: $en_image }} {{!}} [[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (English)|English]] {{ #if: {{ #var: $eu_image }} | (Japan, North America)
 +
  {{ #var: $eu_image }} {{!}} English (Europe)
 +
}}
 +
{{ #var: $fr_image }} {{!}} [[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (French)|French]]
 +
{{ #var: $de_image }} {{!}} [[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (German)|German]]
 +
{{ #var: $it_image }} {{!}} [[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (Italian)|Italian]]
 +
{{ #var: $es_image }} {{!}} [[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (Spanish)|Spanish]]
 +
{{ #var: $ja_image }} {{!}} [[Gallery of Yu-Gi-Oh! World Championship Tournament 2004 cards (Japanese)|Japanese]]
 +
| mode="nolines"
 +
| widths="240px"
 +
| heights="160px"
 
}}<!--
 
}}<!--
  

Latest revision as of 19:42, 15 March 2024

WC4 card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
WC4-VideoGame-NA.jpg
Card type [[{{{card_type}}} Card|{{{card_type}}}]]
Type [[{{{types}}}|{{{types}}}]] [[File:{{{types}}}-TF06.png|16px|alt=|class=noviewer]]
ATK / DEF {{{atk}}} / {{{def}}}
Effect type

  • [[{{{effect_types}}}|{{{effect_types}}}]]Property "Effect type" (as page type) with input value "{{{effect_types}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Number {{{number}}}
Internal number {{{internal_number}}}

{{{lore}}}

Status [[{{{status}}}]]
  • [[Card Gallery:{{{main}}}|Gallery]]
  • [[Card Artworks:{{{main}}}|Artworks]]
  • [[Card Tips:{{{main}}}|Tips]]
  • [[Card Trivia:{{{main}}}|Trivia]]
  • [[Card Appearances:{{{main}}}|Appearances]]
  • [[Card Names:{{{main}}}|Names]]
  • [[Card Lores:{{{main}}}|Lores]]

Sets

Set Rarity
Purple Millennium Puzzle pack Common
Eye of Wdjat pack 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}}}

Gallery