Difference between revisions of "Template:OCG Structures card"

From Yugipedia
Jump to: navigation, search
(Passing the correct "series" parameter to Template:Ctaama)
(and another one)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__{{ #if: {{{italic_title|}}}
+
{{ #if: {{{italic_title|}}}
 
   | {{Italic title|{{{italic_title}}}}}
 
   | {{Italic title|{{{italic_title}}}}}
 
   | {{ #if: {{ #pos: {{PAGENAME}} | (OS }} | {{Italic dab|t=1}} }}
 
   | {{ #if: {{ #pos: {{PAGENAME}} | (OS }} | {{Italic dab|t=1}} }}
Line 5: Line 5:
  
 
## Variables ##
 
## Variables ##
-->{{ #vardefine: $name       | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | ( }} }} }} }}<!--
+
-->{{ #vardefine: $name         | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | ( }} }} }} }}<!--
-->{{ #vardefine: $pagename   | {{ #explode: {{PAGENAME}} | ( }} }}<!--
+
-->{{ #vardefine: $pagename     | {{ #explode: {{PAGENAME}} | ( }} }}<!--
-->{{ #vardefine: $url-name   | {{ #replace: {{ #var: $name }} | # }} }}<!--
+
-->{{ #vardefine: $url-name     | {{ #replace: {{ #var: $name }} | # }} }}<!--
-->{{ #vardefine: $ja_image   | {{{ja_image|}}}      }}<!--
+
-->{{ #vardefine: $ja_image     | {{{ja_image|}}}      }}<!--
-->{{ #vardefine: $image     | {{ #if: {{{image|}}} | {{{image}}}    | {{ #var: $ja_image | Back-JP-Manga.png }} }} }}<!--
+
-->{{ #vardefine: $image       | {{ #if: {{{image|}}} | {{{image}}}    | {{ #var: $ja_image | Back-JP-Manga.png }} }} }}<!--
-->{{ #vardefine: $ja_image   | {{ #var: $ja_image  | {{ #var: $image }} }} }}<!--
+
-->{{ #vardefine: $ja_image     | {{ #var: $ja_image  | {{ #var: $image }} }} }}<!--
-->{{ #vardefine: $card_type | {{{card_type|}}}                                      }}<!--
+
-->{{ #vardefine: $card_type   | {{{card_type|}}}                                      }}<!--
-->{{ #vardefine: $property   | {{{property|}}}                                      }}<!--
+
-->{{ #vardefine: $property     | {{{property|}}}                                      }}<!--
-->{{ #vardefine: $attribute | {{ uc: {{{attribute|}}} }}                            }}<!--
+
-->{{ #vardefine: $attribute   | {{ uc: {{{attribute|}}} }}                            }}<!--
-->{{ #vardefine: $type       | {{ #explode: {{{types|}}} | / }}                      }}<!--
+
-->{{ #vardefine: $types        | {{{types<includeonly>|</includeonly>}}}              }}<!--
-->{{ #vardefine: $type2     | {{ #explode: {{{types|}}} | / | 1 }}                  }}<!--
+
-->{{ #vardefine: $type         | {{ #explode: {{{types|}}} | / }}                      }}<!--
-->{{ #vardefine: $type3     | {{ #explode: {{{types|}}} | / | 2 }}                  }}<!--
+
-->{{ #vardefine: $type2       | {{ #explode: {{{types|}}} | / | 1 }}                  }}<!--
-->{{ #vardefine: $level-rank | {{ #ifeq: {{ #var: $type2 }} | Xyz | Rank | Level }}  }}<!--
+
-->{{ #vardefine: $type3       | {{ #explode: {{{types|}}} | / | 2 }}                  }}<!--
-->{{ #vardefine: $stars     | {{var|{{{level|}}}|{{{rank|}}}}}                      }}<!--
+
-->{{ #vardefine: $type4        | {{ #explode: {{{types|}}} | / | 3 }}                  }}<!--
-->{{ #vardefine: $atk       | {{{atk|}}}                                            }}<!--
+
-->{{ #vardefine: $level-rank   | {{ #ifeq: {{ #var: $type2 }} | Xyz | Rank | Level }}  }}<!--
-->{{ #vardefine: $def       | {{{def|}}}                                            }}<!--
+
-->{{ #vardefine: $stars       | {{var|{{{level|}}}|{{{rank|}}}}}                      }}<!--
 +
-->{{ #vardefine: $atk         | {{{atk|}}}                                            }}<!--
 +
-->{{ #vardefine: $def         | {{{def|}}}                                            }}<!--
 +
-->{{ #arraydefine: @link_arrows| {{{link_arrows|}}} }}<!--
 +
-->{{ #vardefine: $link_rating  | {{ #arraysize: @link_arrows }} }}<!--
 +
-->{{ #vardefine: $is_pendulum  | {{ #pos: {{ #var: $types }} | Pendulum }}{{{pendulum_effect|}}}{{{ja_pendulum_effect|}}}{{{pendulum_scale<includeonly>|</includeonly>}}}  }}<!--
 +
-->{{ #arraydefine: @types | {{ lc: {{ #var: $types }} }} | / }}<!--
 +
-->{{ #vardefine: $non-effect_monster | {{ #arraysearch: @types | /(link{{!}}fusion{{!}}ritual{{!}}synchro{{!}}xyz)/ }} }}<!--
 +
-->{{ #vardefine: $has_lore    | {{{lore|}}}{{{material|}}}{{{ja_lore|}}}{{{ja_material<includeonly>|</includeonly>}}} }}<!--
  
 
-->{{ #switch: {{ #var: $type2 }}
 
-->{{ #switch: {{ #var: $type2 }}
 
| ?
 
| ?
| ???     = {{ #vardefine: $type2_page  | {{ #var: $type2 }} }}
+
| ???           = {{ #vardefine: $type2_page  | {{ #var: $type2 }} }}
  
 +
| Normal
 
| Effect
 
| Effect
 
| Fusion
 
| Fusion
 
| Ritual
 
| Ritual
 
| Synchro
 
| Synchro
| Xyz    
+
| Xyz
| Token   = {{ #vardefine: $primary_type | {{ #var: $type2 }}        }}<!--
+
| Token
           -->{{ #vardefine: $type2_page  | {{ #var: $type2 }} Monster }}<!--
+
| Pendulum
          -->[[Primary type::{{ #var: $type2 }} Monster| ]]
+
| Link          = {{ #vardefine: $primary_type | {{ #var: $type2 }}        }}<!--
 +
           -->[[Primary type::{{ #vardefineecho: $type2_page  | {{ #var: $type2 }} Monster }}| ]]
  
| Tuner    = {{ #vardefine: $type2_page  | {{ #var: $type2 }} monster }}<!--
+
| Special Summon = {{ #vardefine: $type2_page  | Special Summon Monster }}<!--
           -->[[Secondary type::{{ #var: $type2 }} monster| ]]{{ #if: {{{effect_types|}}}
+
          -->{{ #vardefine: $effect_monster | true }}<!--
             | [[Primary type::Effect Monster| ]]{{ #vardefine: $primary_type | Effect }}
+
           -->[[Secondary type::Special Summon Monster| ]][[Primary type::Effect Monster| ]]
 +
 
 +
| Flip
 +
| Toon
 +
| Spirit
 +
| Union
 +
| Gemini
 +
| Tuner        = [[Secondary type::{{ #vardefineecho: $type2_page  | {{ #var: $type2 }} monster }}| ]]{{ #if: {{{effect_types|}}}{{ #ifeq: {{ #var: $type3 }} | Effect | 1 }}
 +
             | [[Primary type::Effect Monster| ]]{{ #vardefine: $primary_type | Effect }}{{ #vardefine: $effect_monster | true }}
 
             | [[Primary type::Normal Monster| ]]{{ #vardefine: $primary_type | Normal }}
 
             | [[Primary type::Normal Monster| ]]{{ #vardefine: $primary_type | Normal }}
 
             }}
 
             }}
  
| #default = {{ #if: {{{atk|}}}{{{def|}}}{{{level|}}}
+
| #default       = {{ #if: {{ #var: $atk }}{{ #var: $def }}{{{level|}}}
             | {{ #if: {{{effect_types|}}}
+
             | {{ #if: {{{effect_types|}}}{{ #ifeq: {{ #var: $type3 }} | Effect | 1 }}
               | [[Primary type::Effect Monster| ]]{{ #vardefine: $primary_type | Effect }}
+
               | [[Primary type::Effect Monster| ]]{{ #vardefine: $primary_type | Effect }}{{ #vardefine: $effect_monster | true }}
 
               | [[Primary type::Normal Monster| ]]{{ #vardefine: $primary_type | Normal }}
 
               | [[Primary type::Normal Monster| ]]{{ #vardefine: $primary_type | Normal }}
 
               }}
 
               }}
Line 51: Line 69:
 
-->{{ #switch: {{ #var: $type3 }}
 
-->{{ #switch: {{ #var: $type3 }}
 
| ?
 
| ?
| ???     = {{ #vardefine: $type3_page  | {{ #var: $type3 }} }}
+
| ???           = {{ #vardefine: $type3_page  | {{ #var: $type3 }} }}
| Tuner   = {{ #vardefine: $type3_page  | Tuner monster }}[[Secondary type::Tuner monster| ]]
+
| Tuner         = {{ #vardefine: $type3_page  | Tuner monster }}[[Secondary type::Tuner monster| ]]
| Effect  = {{ #vardefine: $type3_page  | Effect Monster }}
+
| Effect         = {{ #vardefine: $type3_page   | Effect Monster }}{{ #vardefine: $effect_monster | true }}
 +
| Pendulum      = {{ #vardefine: $type3_page   | Pendulum Monster }}
 +
}}<!--
 +
 
 +
-->{{ #switch: {{ #var: $type4 }}
 +
| ?
 +
| ???            = {{ #vardefine: $type4_page  | {{ #var: $type4 }} }}
 +
| Effect        = {{ #vardefine: $type4_page   | Effect Monster }}{{ #vardefine: $effect_monster | true }}
 
}}<!--
 
}}<!--
 +
 +
-->{{ #if: {{ #var: $is_pendulum }}
 +
      | [[Primary type::Pendulum Monster| ]]<!--
 +
    -->{{ #if: {{ #var: $non-effect_monster }}{{ #var: $effect_monster }} |  | [[Primary type::Normal Monster| ]] }}
 +
  }}<!--
 +
-->{{ #vardefine: $normal_monster | {{ #switch: {{ #var: $primary_type }} | normal | pendulum = {{ #if: {{{effect_types|}}} | | 1 }} }} }}<!--
  
 
-->{{ #vardefine: $star_icon
 
-->{{ #vardefine: $star_icon
 
| {{ #iferror: {{ #expr: {{ #var: $stars }} }}
 
| {{ #iferror: {{ #expr: {{ #var: $stars }} }}
   | [[File:{{ #ifeq: {{ #var: $level-rank }} | Rank | Rank | CG }} Star Unknown.svg|18px]]
+
   | [[File:{{ #ifeq: {{ #var: $level-rank }} | Rank | Rank | CG }} Star Unknown.svg|18px|class=noviewer]]
 
   | {{Repeat
 
   | {{Repeat
 
     |[[File:{{ #ifeq: {{ #var: $level-rank }} | Rank
 
     |[[File:{{ #ifeq: {{ #var: $level-rank }} | Rank
 
       | Rank
 
       | Rank
       | CG
+
       | {{ #ifexpr: {{ #var: $stars }} > 0 | CG | Negative }}
       }} Star.svg|18px]]<!--
+
       }} Star.svg|18px|class=noviewer]]<!--
 
     -->| {{ #expr: abs(0{{ #var: $stars }}) }}
 
     -->| {{ #expr: abs(0{{ #var: $stars }}) }}
 
     }}
 
     }}
Line 86: Line 117:
 
   }}
 
   }}
 
}}<!--
 
}}<!--
 +
 +
-->{{ #if: {{{ko_name<includeonly>|</includeonly>}}}
 +
| {{ #vardefine: $ko_above
 +
  | {{Korean names<!--
 +
    -->| {{{ko_name<includeonly>|</includeonly>}}}<!--
 +
    -->| {{{ko_rr_name<includeonly>|</includeonly>}}}<!--
 +
    -->| {{{ko_trans_name<includeonly>|</includeonly>}}}<!--
 +
    -->| main = {{ #if: {{{ko_name<includeonly>|</includeonly>}}} | | {{ #var: $main }} }}
 +
    }}
 +
  }}
 +
}}<!--
 +
 +
-->{{ #arraydefine: images |
 +
* {{ #var: $en_image }}
 +
* {{ #var: $ja_image }}
 +
* {{ #var: $ko_image }}
 +
* {{ #var: $dub_image }}
 +
|*
 +
}}<!--
 +
 +
-->{{ #arrayunique: images }}<!--
  
 
## Properties ##
 
## Properties ##
-->{{IfSemantics|[[English name::{{ #var: $name }}| ]]<!--
+
-->[[English name::{{ #var: $name }}| ]]<!--
 
-->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
 
-->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
-->[[Main card page::{{ #var: $main }}| ]]<!--
 
 
-->[[Card image::{{ #var: $image }}| ]]<!--
 
-->[[Card image::{{ #var: $image }}| ]]<!--
 
-->[[English card image::{{{image|}}}| ]]<!--
 
-->[[English card image::{{{image|}}}| ]]<!--
 
-->[[Japanese card image::{{{ja_image|}}}| ]]<!--
 
-->[[Japanese card image::{{{ja_image|}}}| ]]<!--
-->[[Non-card image::{{ #if: {{{image_nc|}}}
+
-->[[Card artwork::{{{image_ca|}}}| ]]<!--
  | {{{image_nc}}}
+
-->[[Non-card image::{{{image_nc|}}}| ]]<!--
  | {{ #if: {{ #pos: {{ #var: $image }} | -NC }}
+
-->[[Other image::{{{image_other|}}}| ]]<!--
    | {{ #var: $image }}
 
    }}
 
  }}| ]]<!--
 
 
-->{{ #ifeq: {{{card_type}}} | ???
 
-->{{ #ifeq: {{{card_type}}} | ???
 
   | [[Card type::???| ]]{{ #set: Card type (short) = [[???]] }}
 
   | [[Card type::???| ]]{{ #set: Card type (short) = [[???]] }}
Line 106: Line 154:
 
   -->{{ #set: Card type (short) = [[{{ #var: $card_type | Monster }} Card|{{ #var: $card_type | Monster }}]] }}
 
   -->{{ #set: Card type (short) = [[{{ #var: $card_type | Monster }} Card|{{ #var: $card_type | Monster }}]] }}
 
}}<!--
 
}}<!--
-->[[Attribute::{{ uc: {{{attribute|}}} }}| ]]<!--
+
-->[[Attribute::{{ #var: $attribute }}| ]]<includeonly>{{ #if: {{ #var: $main }} | {{ #switch: {{ #var: $attribute }} || ??? = | {{ #ifeq: {{ #show: {{ #var: $main }} |?Attribute |default = {{ #var: $attribute }} |link = none }} | {{ #var: $attribute }} || [[Category:Monster Cards with a different Attribute from their main counterpart]]}} }} }}</includeonly><!--
-->[[Type::{{ #var: $type }}| ]]<!--
+
-->[[Type::{{ #var: $type }}| ]]<includeonly>{{ #if: {{ #var: $main }} | {{ #switch: {{ #var: $type }} | | ??? = | {{ #ifeq: {{ #show: {{ #var: $main }} |?Type |default = {{ #var: $type }} |link = none }} | {{ #var: $type }} || [[Category:Monster Cards with a different monster Type from their main counterpart]]}} }} }}</includeonly><!--
 +
-->{{ #if: {{{type_text|}}} | {{ #set: Type text = {{{type_text}}} }} }}<!--
 +
-->{{ #set: Description = {{{description|}}} }}<!--
 
-->{{ #set: Lore = {{{lore|}}} }}<!--
 
-->{{ #set: Lore = {{{lore|}}} }}<!--
 +
-->{{ #set: Japanese lore = {{{ja_lore|}}} }}<!--
 
-->[[Non-physical card::{{ #if: {{{non-card|}}} | true | false }}| ]]<!--
 
-->[[Non-physical card::{{ #if: {{{non-card|}}} | true | false }}| ]]<!--
-->{{ #if: {{{level|}}}{{{rank|}}} | {{Star properties}} }}<!--
+
-->{{ #if: {{ #var: $stars }}      | {{Star properties}} }}<!--
-->{{ #if: {{{atk|}}}{{{def|}}}   | {{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} }}<!--
+
-->{{ #if: {{{pendulum_scale|}}}   | {{ #ifeq: {{{pendulum_scale}}} | ??? || [[Pendulum Scale::{{{pendulum_scale}}}| ]] }} }}<!--
 +
-->{{ #if: {{ #var: $atk }}{{ #var: $def }} | {{ATK DEF properties|{{ #var: $atk | ??? }}|{{ #var: $def | {{ #if: {{{link_arrows|}}}{{ #ifeq: {{ #var: $type2 }} | Link | 1 }} || ??? }} }}}} }}<!--
 
-->{{ #switch: {{{property|}}}
 
-->{{ #switch: {{{property|}}}
 
   | =
 
   | =
 
   | ??? = [[Property::???| ]]{{ #set: Property (short) = [[???]] }}
 
   | ??? = [[Property::???| ]]{{ #set: Property (short) = [[???]] }}
 
   | #default = <!--
 
   | #default = <!--
     -->[[Property::{{{property}}} {{{card_type|}}} Card| ]]<!--
+
     -->[[Property::{{{property}}} {{ #var: $card_type }} Card| ]]<!--
     -->{{ #set: Property (short) = [[{{{property}}} {{{card_type|}}} Card|{{{property}}}]] }}
+
     -->{{ #set: Property (short) = [[{{{property}}} {{ #var: $card_type }} Card|{{{property}}}]] }}
   }}
+
   }}<!--
}}<!--
 
  
 
-->{{ #if: {{ #var: $main }}
 
-->{{ #if: {{ #var: $main }}
| {{Main|type=card page|"[[{{ #var: $main }}]]"}}
+
| {{Main|type=card page|"[[{{ #var: $main }}]]"|t=1}}[[Main card page::{{ #var: $main }}| ]]
 
}}<!--
 
}}<!--
  
 
-->{{ #if: {{{article_messages<includeonly>|</includeonly>}}}
 
-->{{ #if: {{{article_messages<includeonly>|</includeonly>}}}
 
   | {{{article_messages}}}
 
   | {{{article_messages}}}
 +
}}{{ #if: {{{reconstructed_lore|}}}
 +
  | {{ #ifexpr: {{ #len: {{{reconstructed_lore}}} }} > 10
 +
    | {{{reconstructed_lore}}}
 +
    | {{Reconstructed lore|anime}}
 +
  }}
 
}}<!--
 
}}<!--
  
 
-->{{Card table
 
-->{{Card table
  | main     = {{ #var: $main }}
+
| main           = {{ #var: $main }}
  | bodyclass = {{ #if: {{{cardclass|}}}
+
| bodyclass     = {{ #if: {{{cardclass|}}}
    | {{{cardclass}}}
+
  | {{{cardclass}}}
    | {{ #if: {{{card_type|}}}
+
  | {{ #if: {{ #var: $card_type }}
      | {{ lc: {{{card_type}}} }}
+
    | {{ lc: {{ #var: $card_type }} }}
       | {{ #if: {{{types|}}}
+
    | {{ #if: {{ #var: $types }}
         | {{ lc: {{ #var: $primary_type }} }}
+
       | {{ #ifeq: {{ #var: $type3 }} | Pendulum | pendulum-card }} {{ #switch: {{ #var: $primary_type }}
         | blank
+
        | Pendulum                = {{ #if: {{ #var: $effect_monster }} | effect | normal }}-card pendulum
 +
         | #default                = {{ lc: {{ #var: $primary_type }} }}
 +
         }}
 +
      | blank
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}-card
 
   }}-card
  | title    = {{ #var: $name }}{{{name_note|}}}
 
  | image    = {{ #var: $image }}
 
  
  | above     = {{ #var: $above }}
+
| title     = {{ #var: $name }}{{{name_note|}}}
 +
| image    = {{ #var: $image }}
 +
| image_link = {{ #if: {{ #var: $image_name }} | {{fullurl:Special:Upload|wpDestFile={{ #var: $image_name }}}} }}
  
  | label1    = [[Card type]]
+
| above    = {{ #var: $above }}
  | data1    = {{ #if: {{ #var: $card_type }}
+
 
    | {{ #ifeq: {{{card_type}}} | ???
+
| label1    = Card type
      | [[???]]
+
| data1    = {{ #if: {{ #var: $card_type }}
      | [[{{ #var: $card_type }} Card|{{ #var: $card_type }}]]
+
  | {{ #ifeq: {{{card_type}}} | ???
    }}{{{card_type_note|}}}
+
    | [[???]]
  }}
+
    | [[{{ #var: $card_type }} Card|{{ #var: $card_type }}]]
 +
  }}{{{card_type_note|}}}
 +
}}
  
  | label2      = [[Property]]
+
| label2      = [[Property]]
  | data2        = {{ #switch: {{{property|}}}
+
| data2        = {{ #switch: {{{property<includeonly>|</includeonly>}}}
    | =
+
  | =
    | ??? = [[???]]
+
  | ???     = [[???]]
    | #default = [[{{{property}}} {{{card_type|}}} Card|{{{property}}}]]{{{property_note|}}}
+
  | Normal  = [[Normal {{ #var: $card_type }} Card|Normal]]
    }}
+
  | #default = [[File:{{{property}}}.svg|18px|alt=|class=noviewer]] [[{{{property}}} {{ #var: $card_type }} Card|{{{property}}}]]
 +
  }}{{{property_note|}}}
  
  | label3      = [[Attribute]]
+
| label3      = [[Attribute]]
  | data3        = {{ #if: {{{attribute<includeonly>|</includeonly>}}}
+
| data3        = {{ #if: {{ #var: $attribute }}
    | [[{{ uc: {{{attribute}}} }}|{{{attribute}}}]] [[File:{{ #var: $attribute | ??? }}.svg|x25px|alt=]]
+
  | [[File:{{ #switch: {{ #var: $attribute }} | ? | ??? = UNKNOWN | #default = {{ #var: $attribute }} }}.svg|28px|alt=|class=noviewer]] [[{{ #var: $attribute }}]]
    }}
+
  }}{{{attribute_note|}}}
  
  | label4      = [[Type]]
+
| label4      = [[Type]]
  | data4        = {{ #if: {{{types<includeonly>|</includeonly>}}} |
+
| data4        = {{ #if: {{{types<includeonly>|</includeonly>}}} |
 
<div class="hlist hslash">
 
<div class="hlist hslash">
 
* [[{{ #var: $type      }}]]  {{ #if: {{ #var: $type2_page }} |
 
* [[{{ #var: $type      }}]]  {{ #if: {{ #var: $type2_page }} |
 
* [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} |
 
* [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} |
* [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }}
+
* [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }}{{ #if: {{ #var: $type4_page }} |
 +
* [[{{ #var: $type4_page }}|{{ #var: $type4 }}]] }}
 
</div>
 
</div>
    }}
+
  }}
  
  | label5      = [[{{ #var: $level-rank }}]]
+
| label5      = [[{{ #var: $level-rank }}]]
  | data5        = {{ #if: {{{level|}}}{{{rank<includeonly>|</includeonly>}}}
+
| data5        = {{ #if: {{ #var: $card_type }} || {{ #if: {{ #var: $stars }}
    | {{ #var: $stars | ??? }} {{ #var: $star_icon }}
+
  | [[{{ #var: $level-rank }} {{ #var: $stars | ??? }} Monster Cards|{{ #var: $stars | ??? }}]] {{ #var: $star_icon }}
    }}{{{level-rank_note|}}}
+
  }} }}{{{level-rank_note|}}}
  
   | label6      = [[ATK]] / [[DEF]]
+
   | label6      = [[ATK]] / {{ #if: {{{link_arrows|}}} | [[Link Rating|LINK]] | [[DEF]] }}
 
   | data6      = {{ #if: {{{atk|}}}{{{def<includeonly>|</includeonly>}}}
 
   | data6      = {{ #if: {{{atk|}}}{{{def<includeonly>|</includeonly>}}}
 
     | {{ #if: {{{atk<includeonly>|</includeonly>}}} | {{{atk}}} | ??? }} / <!--
 
     | {{ #if: {{{atk<includeonly>|</includeonly>}}} | {{{atk}}} | ??? }} / <!--
   -->{{ #if: {{{def<includeonly>|</includeonly>}}} | {{{def}}} | ??? }}
+
   -->{{ #if: {{{link_arrows|}}}
 +
      | {{ #var: $link_rating }}
 +
      | {{ #if: {{{def<includeonly>|</includeonly>}}} | {{{def}}} | ??? }}
 +
      }}
 
     }}{{{atk-def_note|}}}
 
     }}{{{atk-def_note|}}}
  
   | label7       = Effect types
+
| label7      = [[Link Arrow]]s
  | class7       = hlist hcomma
+
| data7        = {{ #if: {{{link_arrows<includeonly>|</includeonly>}}}
  | data7       = {{ #if: {{{effect_types<includeonly>|</includeonly>}}}
+
  | <div style="display: flex;align-items:center;">{{Link map|{{{link_arrows|}}}|alt=}}&nbsp;<!--
    | {{CardTable2/effect|{{{effect_types}}}}}
+
    --><div>{{ #arrayprint: @link_arrows | , <nowiki /> | $linkArrow
    }}
+
    | [[$linkArrow Link Arrow cards|$linkArrow]][[Link Arrows::$linkArrow| ]]
 +
    }}</div></div><!--
 +
    -->[[Link Rating::{{ #var: $link_rating }}| ]]
 +
   }}
 +
 
 +
| label8       = Effect type
 +
| class8       = hlist hcomma
 +
| data8       = {{ #if: {{{effect_types<includeonly>|</includeonly>}}}
 +
  | {{CardTable2/effect|{{{effect_types<includeonly>|</includeonly>}}}}}
 +
  }}
  
  | label8       = [[Ritual Spell Card|Ritual Card]]
+
| label9       = [[Ritual Spell Card|Ritual Card]]
  | data8       = {{ #if: {{{ritual_card<includeonly>|</includeonly>}}}
+
| data9       = {{ #if: {{{ritual_card<includeonly>|</includeonly>}}}
    | [[{{{ritual_card}}}|{{ #explode: {{{ritual_card}}} | ( }}]]
+
  | [[{{{ritual_card}}}|{{ #explode: {{{ritual_card}}} | ( }}]]
    }}
+
  }}
  
  | label9      = {{ #switch: {{ lc: {{ #var: $primary_type }} }}
+
| label10      = {{ #switch: {{ #var: $primary_type }}
    | fusion   = [[Fusion Material Monster|Fusion Material]]
+
  | Fusion   = [[Fusion Material]]
    | synchro = [[Synchro Material Monster|Synchro Material]]
+
  | Synchro = [[Synchro Material]]
    | xyz     = [[Xyz Material]]
+
  | Xyz     = [[Xyz Material]]
    | #default = [[Material]]
+
  | #default = [[Material]]
    }}
+
  }}
  | data9        = {{ #vardefineecho: $material_string | {{ #if: {{{material<includeonly>|</includeonly>}}} |
+
| data10      = {{ #vardefineecho: $material_string | {{ #if: {{{material<includeonly>|</includeonly>}}} |
<div class="hlist {{ #ifeq: {{ #var: $type2 }} | Dark Synchro | hminus | hplus }}">{{ #arraydefine: $material | {{{material}}} | *
+
<div class="hlist {{ #if: {{ #var: $is_dark_synchro }} | hminus | hplus }}">{{ #arraydefine: $material | {{{material}}} | *
 
}}{{ #if: {{ #arrayindex: $material | 0 }} || {{ #arrayslice: $material | $material | 1 | {{ #arraysize: $material }} }}
 
}}{{ #if: {{ #arrayindex: $material | 0 }} || {{ #arrayslice: $material | $material | 1 | {{ #arraysize: $material }} }}
 
}}{{ #arrayprint: $material || $material | &#32;
 
}}{{ #arrayprint: $material || $material | &#32;
* {{ #if: {{ #pos: $material | {{!((}} }} | $material | "[[$material|{{ #explode: $material | ( }}]]" }}
+
* {{ #if: {{ #pos: $material | {{!((}} }} | $material | "[[$material|{{ #explode: $material | <nowiki /> ( }}]]" }}
 
}}
 
}}
 
</div>
 
</div>
     }} }}
+
  }} }}
 +
 
 +
| class11      = hlist hcomma
 +
| label11      = [[Summon]]ed by the effect of
 +
| data11      = {{ #if: {{{token_summon<includeonly>|</includeonly>}}}
 +
     | {{ #arraydefine: @token_summons | {{{token_summon}}} | * | unique }}{{ #arrayprint: @token_summons || $token_summoner | <nowiki/>
 +
* "[[$token_summoner|{{ #explode: $token_summoner | ( }}]]" }}
 +
  }}
 +
 
 +
| label12      = &#32;
 +
| data12      = {{{non-card<includeonly>|</includeonly>}}}
  
  | label10    = &#32;
+
| label13      = Description
  | data10      = {{{non-card|}}}
+
| data13      = {{{description<includeonly>|</includeonly>}}}
  
  | label11    = Description
+
| label14      = [[Pendulum Scale]]
  | data11      = {{{description<includeonly>|</includeonly>}}}
+
| data14      = {{ #if: {{{pendulum_scale<includeonly>|</includeonly>}}} | {{ #ifeq: {{{pendulum_scale}}} | ??? | ??? | [[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]] }}{{{pendulum_scale_note|}}} }}
  
  | data12      = {{ #if: {{{lore<includeonly>|</includeonly>}}}{{{material|}}}
+
| data15      = {{ #if: {{{lore<includeonly>|</includeonly>}}}{{{material|}}}{{{pendulum_effect|}}}
    | <div class="lore"><div class="main_lore">{{ #ifeq: {{ #var: $type2 }} | Dark Synchro
+
  | <div class="lore">{{ #if: {{ #var: $is_pendulum }}
      | {{ #var: $material_string }}<br />
+
    | <div class="lorebox lorebox--pendulum">
         <div class="lorerule">{{ #var: @dark_synchro_rule }}</div>
+
        <div class="lorebox-pendulum_scale nomobile" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
       | {{ #if: {{{material<includeonly>|</includeonly>}}}
+
        <div class="lorebox-lore lorebox-lore--pendulum">{{{pendulum_effect<includeonly>|</includeonly>}}}</div>
 +
         <div class="lorebox-pendulum_scale nomobile" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
 +
       </div>
 +
    }}<div class="main_lore">{{ #if: {{{material<includeonly>|</includeonly>}}}
 
         | {{ #var: $material_string }}<br />
 
         | {{ #var: $material_string }}<br />
         }}
+
         }}<!--
      }}{{{lore<includeonly>|</includeonly>}}}{{{lore_note|}}}</div></div>
+
 
    }}
+
--><div class="lorebox-lore">{{{lore<includeonly>|</includeonly>}}}{{{lore_note|}}}
 +
</div><!--
 +
 
 +
--></div></div>
 +
  }}
  
  | label13     = Appearances
+
| label16     = Appearances
  | data13       = [[Appears in::Yu-Gi-Oh! OCG Structures| ]]{{ctaama| {{{chapters}}} | series = structure | type = Chapter }}
+
| data16       = {{ #if: {{{chapters<includeonly>|</includeonly>}}} |
 +
* [[Appears in::Yu-Gi-Oh! OCG Structures| ]]''[[Yu-Gi-Oh! OCG Structures]]'': {{ctaama| {{{chapters}}} | series = OCG Structures | type = Chapter }}
 +
  }}{{ #if: {{{appears_in_lp<includeonly>|</includeonly>}}} |
 +
* [[Appears in::Yu-Gi-Oh! Rush Duel LP| ]]''[[Yu-Gi-Oh! Rush Duel LP]]'': {{ctaama| {{{appears_in_lp}}} | series = Rush Duel LP | type = Broadcast }}
 +
  }}
  
  | below       = ''[[Yu-Gi-Oh! OCG Structures]]'' cards ([[Gallery of Yu-Gi-Oh! OCG Structures cards|gallery]])
+
| belowclass    = hlist
 +
| below         = ''[[Yu-Gi-Oh! OCG Structures]]'' cards ([[Gallery of Yu-Gi-Oh! OCG Structures cards|gallery]])
 
}}
 
}}
{{Card info links|{{ #var: $main }}|medium=manga}}<!--
 
<!--
 
  
-->{{ #if: {{{image_nc<includeonly>|</includeonly>}}} | &#32;
+
{{Card info links|{{ #var: $main | {{Normalized pagename|{{PAGENAME}}}} }}|type={{ #if: {{ #pos: {{ #var: $types }} | Token }} | token }}|medium=manga}}<!--
==Other images==
+
 
 +
-->{{ #if: {{{image_ca|}}}{{{image_nc|}}}{{{image_other<includeonly>|</includeonly>}}} | &#32;
 +
<h2>Images</h2>
 
{{ #tag: gallery
 
{{ #tag: gallery
| {{ #if: {{{image_nc<includeonly>|</includeonly>}}} |&#32;
+
|   {{ #if: {{{image_ca<includeonly>|</includeonly>}}}    |&#32;
 +
{{{image_ca}}} {{!}} Artwork
 +
  }}{{ #if: {{{image_nc<includeonly>|</includeonly>}}}   |&#32;
 
{{{image_nc}}} {{!}} Non-card
 
{{{image_nc}}} {{!}} Non-card
 +
  }}{{ #if: {{{image_other<includeonly>|</includeonly>}}} |&#32;
 +
{{{image_other}}} {{!}} Other
 
   }}
 
   }}
 
}}
 
}}
Line 247: Line 348:
 
-->{{ #if: {{{decks<includeonly>|</includeonly>}}}
 
-->{{ #if: {{{decks<includeonly>|</includeonly>}}}
 
| &#32;
 
| &#32;
== Decks ==
+
<h2>Decks</h2>
 
{{ #arraydefine: $decks | {{{decks}}} | * }}{{ #arrayunique: $decks }}
 
{{ #arraydefine: $decks | {{{decks}}} | * }}{{ #arrayunique: $decks }}
 
{{ #arrayprint: $decks
 
{{ #arrayprint: $decks
Line 258: Line 359:
 
}}<!--
 
}}<!--
  
-->{{ #if: {{{supports|}}}{{{anti-supports|}}}{{{archseries|}}}{{{supports_archetypes|}}}{{{anti-supports_archetypes|}}}{{{related_to_archseries|}}}{{{counter|}}}{{{action|}}}{{{stat_change|}}}{{{m/s/t|}}}{{{summoning|}}}{{{attack|}}}{{{banished|}}}{{{life_points|}}}{{{fm_for|}}}{{{sm_for|}}}{{{misc<includeonly>|</includeonly>}}} | &#32;  
+
-->{{ #if: {{{mentions|}}}{{{supports|}}}{{{anti-supports|}}}{{{archseries|}}}{{{supports_archetypes|}}}{{{anti-supports_archetypes|}}}{{{related_to_archseries|}}}{{{counter|}}}{{{action|}}}{{{stat_change|}}}{{{m/s/t|}}}{{{summoning|}}}{{{attack|}}}{{{banished|}}}{{{life_points|}}}{{{fm_for|}}}{{{sm_for|}}}{{{misc<includeonly>|</includeonly>}}} | &#32;  
==Search categories==
+
<h2>Search categories</h2>
 
   {{Search categories
 
   {{Search categories
 +
  | monster                  = {{ #if: {{ #var: $atk }}{{ #var: $def }}{{{link_arrows|}}}{{ #var: $stars }}{{ #var: $types }} | 1 }}
 +
  | monster_type            = {{ #switch: {{ #var: $primary_type }} | Fusion | Ritual | Synchro | Xyz = 1 }}
 +
  | token                    = {{ #pos: {{ #var: $types }} | Token }}
 +
  | mentions                = {{{mentions<includeonly>|</includeonly>}}}
 
   | supports                = {{{supports<includeonly>|</includeonly>}}}
 
   | supports                = {{{supports<includeonly>|</includeonly>}}}
 
   | anti-supports            = {{{anti-supports<includeonly>|</includeonly>}}}
 
   | anti-supports            = {{{anti-supports<includeonly>|</includeonly>}}}
Line 281: Line 386:
 
}}<!--
 
}}<!--
  
archseries navboxes
+
--><includeonly>{{Card navigation}}</includeonly><!--
 +
 
 
-->{{ #arraydefine: $archseries | {{{archseries|}}}*{{{supports_archetypes|}}}*{{{anti-supports_archetypes|}}}*{{{related_to_archseries|}}} | * | unique, sort=asc }}{{ #arrayprint: $archseries || $archseries | &#32;
 
-->{{ #arraydefine: $archseries | {{{archseries|}}}*{{{supports_archetypes|}}}*{{{anti-supports_archetypes|}}}*{{{related_to_archseries|}}} | * | unique, sort=asc }}{{ #arrayprint: $archseries || $archseries | &#32;
 
{{Archseries navbox (OCG Structures)|$archseries|member={{ #pos: *{{{archseries}}}
 
{{Archseries navbox (OCG Structures)|$archseries|member={{ #pos: *{{{archseries}}}
Line 302: Line 408:
 
}}<!--
 
}}<!--
  
--><includeonly>{{Card navigation}}</includeonly><!--
+
-->{{ #if: {{ #pos: {{ #var: $types }} | Token }} | {{Tokens}} }}<!--
  
 
-->{{ #if: {{NAMESPACE}}
 
-->{{ #if: {{NAMESPACE}}
 +
|| [[Category:Yu-Gi-Oh! OCG Structures cards]][[Medium::Manga| ]]<!--
 +
 +
-->{{ #ifeq: {{ #var: $debut_date }} | unknown
 
|
 
|
| [[Category:Yu-Gi-Oh! OCG Structures cards]][[Medium::Yu-Gi-Oh! OCG Structures| ]]
+
| [[Debut date::{{ #var: $debut_date }}| ]]
 +
}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 03:02, 6 December 2023

{{{article_messages}}}

OCG Structures card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Back-JP-Manga.png
Property [[File:{{{property}}}.svg|18px|alt=|class=noviewer]] [[{{{property}}} Card|{{{property}}}]]
Type
  • [[]]
ATK / DEF {{{atk}}} / {{{def}}}
Link Arrows

 
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.
Ritual Card [[{{{ritual_card}}}|{{{ritual_card}}}]]
Material
  • "[[{{{material}}}|{{{material}}}]]"
Summoned by the effect of

  • "[[{{{token_summon}}}|{{{token_summon}}}]]"
{{{non-card}}}
Description {{{description}}}
Pendulum Scale [[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]]
{{{pendulum_scale}}}
{{{pendulum_effect}}}
{{{pendulum_scale}}}
  • "[[{{{material}}}|{{{material}}}]]"

{{{lore}}}
Appearances
  • [[Card Gallery:{{{main}}}|Gallery]]
  • [[Card Artworks:{{{main}}}|Artworks]]
  • [[Card Trivia:{{{main}}}|Trivia]]
  • [[Card Appearances:{{{main}}}|Appearances]]
  • [[Card Names:{{{main}}}|Names]]
  • [[Card Lores:{{{main}}}|Lores]]

Images

Decks

  • [[{{{decks}}}|{{{decks}}}]]

Search categories

Mentions
"[[{{{mentions}}}|{{{mentions}}}]]"
Supports
[[{{{supports}}}|{{{supports}}}]]
Anti-supports
[[{{{anti-supports}}}|{{{anti-supports}}}]]
Archetypes and series
[[{{{archseries}}}|{{{archseries}}}]]
Supports archetypes
"[[{{{supports archetypes}}}|{{{supports archetypes}}}]]"
Anti-supports archetypes
"[[{{{anti-supports archetypes}}}|{{{anti-supports archetypes}}}]]"
Related to archetypes and series
[[{{{related to archseries}}}|{{{related to archseries}}}]]
Counters
[[{{{counter}}}|{{{counter}}}]]
Actions
[[{{{action}}}|{{{action}}}]]
Stat changes
[[{{{stat_change}}}|{{{stat_change}}}]]
Monster/Spell/Trap categories
[[{{{m/s/t}}}|{{{m/s/t}}}]]
Summoning categories
[[{{{summoning}}}|{{{summoning}}}]]
Attack categories
[[{{{attack}}}|{{{attack}}}]]
Banished categories
[[{{{banished}}}|{{{banished}}}]]
LP
[[{{{life_points}}}|{{{life_points}}}]]
Fusion Material for
"[[{{{fm for}}}|{{{fm for}}}]]"
Synchro Material for
"[[{{{sm for}}}|{{{sm for}}}]]"
Miscellaneous
[[{{{misc}}}|{{{misc}}}]]