Changes

Jump to: navigation, search

Template:OCG Structures card

7,168 bytes added, 6 months ago
and another one
__NOEDITSECTION__{{ #if: {{{italic_title|}}}
| {{Italic title|{{{italic_title}}}}}
| {{ #if: {{ #pos: {{PAGENAME}} | (OS }} | {{Italic dab|t=1}} }}
## Variables ##
-->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | ( }} }} }} }}<!---->{{ #vardefine: $pagename | {{ #explode: {{PAGENAME}} | ( }} }}<!---->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!---->{{ #vardefine: $ja_image | {{{ja_image|}}} }}<!---->{{ #vardefine: $image | {{ #if: {{{image|}}} | {{{image}}} | {{ #var: $ja_image | Back-JP-Manga.png }} }} }}<!---->{{ #vardefine: $ja_image | {{ #var: $ja_image | {{ #var: $image }} }} }}<!---->{{ #vardefine: $card_type | {{{card_type|}}} }}<!---->{{ #vardefine: $property | {{{property|}}} }}<!---->{{ #vardefine: $attribute | {{ uc: {{{attribute|}}} }} }}<!---->{{ #vardefine: $types | {{{types<includeonly>|</includeonly>}}} }}<!---->{{ #vardefine: $type | {{ #explode: {{{types|}}} | / }} }}<!---->{{ #vardefine: $type2 | {{ #explode: {{{types|}}} | / | 1 }} }}<!---->{{ #vardefine: $type3 | {{ #explode: {{{types|}}} | / | 2 }} }}<!---->{{ #vardefine: $type4 | {{ #explode: {{{types|}}} | / | 3 }} }}<!---->{{ #vardefine: $level-rank | {{ #ifeq: {{ #var: $type2 }} | Xyz | Rank | Level }} }}<!---->{{ #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 }}
| ?
| ??? = {{ #vardefine: $type2_page | {{ #var: $type2 }} }}
| Normal
| Effect
| Fusion
| Ritual
| Synchro
| Xyz | Token | Pendulum| Link = {{ #vardefine: $primary_type | {{ #var: $type2 }} }}<!-- -->[[Primary type::{{ #vardefinevardefineecho: $type2_page | {{ #var: $type2 }} Monster }}<!-- -->[[Primary type::{{ #var: $type2 }} Monster| ]]
| Tuner Special Summon = {{ #vardefine: $type2_page | Special Summon Monster }}<!-- -->{{ #varvardefine: $type2 }} monster effect_monster | true }}<!-- -->[[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 }}
}}
| #default = {{ #if: {{{#var: $atk|}}}{{{#var: $def|}}}{{{level|}}} | {{ #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 }}
}}
-->{{ #switch: {{ #var: $type3 }}
| ?
| ??? = {{ #vardefine: $type3_page | {{ #var: $type3 }} }}| Tuner = {{ #vardefine: $type3_page | Tuner monster }}[[Secondary type::Tuner 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
| {{ #iferror: {{ #expr: {{ #var: $stars }} }}
| [[File:{{ #ifeq: {{ #var: $level-rank }} | Rank | Rank | CG }} Star Unknown.svg|18px|class=noviewer]]
| {{Repeat
|[[File:{{ #ifeq: {{ #var: $level-rank }} | Rank
| Rank
| {{ #ifexpr: {{ #var: $stars }} > 0 | CG| Negative }} }} Star.svg|18px|class=noviewer]]<!--
-->| {{ #expr: abs(0{{ #var: $stars }}) }}
}}
}}
}}<!--
 
-->{{ #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 ##
-->{{IfSemantics|[[English name::{{ #var: $name }}| ]]<!--
-->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
-->[[Main card page::{{ #var: $main }}| ]]<!--
-->[[Card image::{{ #var: $image }}| ]]<!--
-->[[English card image::{{{image|}}}| ]]<!--
-->[[Japanese card image::{{{ja_image|}}}| ]]<!--
-->[[Non-card imageCard artwork::{{ #if: {{{image_ncimage_ca|}}}| ]]<!-- | -->[[Non-card image::{{{image_nc|}}}| ]]<!-- | {{ #if-->[[Other image:: {{ #pos: {{ #var: $image }} image_other| -NC }} | {{ #var: $image }} }} }}| ]]<!--
-->{{ #ifeq: {{{card_type}}} | ???
| [[Card type::???| ]]{{ #set: Card type (short) = [[???]] }}
-->{{ #set: Card type (short) = [[{{ #var: $card_type | Monster }} Card|{{ #var: $card_type | Monster }}]] }}
}}<!--
-->[[Attribute::{{ uc#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 }}| ]]<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: Japanese lore = {{{ja_lore|}}} }}<!--
-->[[Non-physical card::{{ #if: {{{non-card|}}} | true | false }}| ]]<!--
-->{{ #if: {{ #var: $stars }} | {{Star properties}} }}<!---->{{ #if: {{level{pendulum_scale|}}} | {{ #ifeq: {{{rank|pendulum_scale}}} | ??? || [[Pendulum Scale::{{{Star propertiespendulum_scale}}}| ]] }} }}<!---->{{ #if: {{{#var: $atk|}}}{{{#var: $def|}}} | {{ATK DEF properties|{{#var: $atk | ??? }}|{atk{ #var: $def | {{ #if: {{{link_arrows|}}}|{{ #ifeq: {{def#var: $type2 }} | Link | 1 }} ||??? }}}}}} }}<!--
-->{{ #switch: {{{property|}}}
| =
| ??? = [[Property::???| ]]{{ #set: Property (short) = [[???]] }}
| #default = <!--
-->[[Property::{{{property}}} {{{#var: $card_type|}}} Card| ]]<!-- -->{{ #set: Property (short) = [[{{{property}}} {{{#var: $card_type|}}} Card|{{{property}}}]] }} }}}}<!--
-->{{ #if: {{ #var: $main }}
| {{Main|type=card page|"[[{{ #var: $main }}]]"|t=1}}[[Main card page::{{ #var: $main }}| ]]
}}<!--
-->{{ #if: {{{article_messages<includeonly>|</includeonly>}}}
| {{{article_messages}}}
}}{{ #if: {{{reconstructed_lore|}}}
| {{ #ifexpr: {{ #len: {{{reconstructed_lore}}} }} > 10
| {{{reconstructed_lore}}}
| {{Reconstructed lore|anime}}
}}
}}<!--
-->{{Card table
| main = {{ #var: $main }} | bodyclass = {{ #if: {{{cardclass|}}} | {{{cardclass}}} | {{ #if: {{{#var: $card_type|}}} | {{ lc: {{{#var: $card_type}}} } | {{ #if: {{ #var: $types }} | {{ #ififeq: {{ #var: $type3 }} | Pendulum | pendulum-card }} {{#switch: {types{ #var: $primary_type }} |Pendulum = {{ #if: {{ #var: $effect_monster }}| effect | normal }}-card pendulum | #default = {{ lc: {{ #var: $primary_type }} }} }} | blank
}}
}}
}}-card
| title = {{ #var: $name }}{{{name_note|}}}
| image = {{ #var: $image }}
| above title = {{ #var: $above name }}{{{name_note|}}}| image = {{ #var: $image }}| image_link = {{ #if: {{ #var: $image_name }} | {{fullurl:Special:Upload|wpDestFile={{ #var: $image_name }}}} }}
| above = {{ #var: $above }} | label1 = [[Card type]] | data1 = {{ #if: {{ #var: $card_type }} | {{ #ifeq: {{{card_type}}} | ??? | [[???]] | [[{{ #var: $card_type }} Card|{{ #var: $card_type }}]] }}{{{card_type_note|}}} }}
| label2 = [[Property]] | data2 = {{ #switch: {{{property<includeonly>|</includeonly>}}} | = | ??? = [[???]] | 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]] | data3 = {{ #if: {{{#var: $attribute<includeonly>|</includeonly>}}} | [[File:{{ uc#switch: {{{#var: $attribute}}} }}|? | ??? = UNKNOWN | #default = {{{#var: $attribute}}}}.svg|28px|alt=|class=noviewer]] [[File:{{ #var: $attribute | ??? }}.svg|x25px|alt=]] }}{{{attribute_note|}}}
| label4 = [[Type]] | data4 = {{ #if: {{{types<includeonly>|</includeonly>}}} |
<div class="hlist hslash">
* [[{{ #var: $type }}]] {{ #if: {{ #var: $type2_page }} |
* [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} |
* [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }}{{ #if: {{ #var: $type4_page }} | * [[{{ #var: $type4_page }}|{{ #var: $type4 }}]] }}
</div>
}}
| label5 = [[{{ #var: $level-rank }}]] | data5 = {{ #if: {{ #var: $card_type }} || {{ #if: {{#var: $stars }} | [[{{ #var: $level|}-rank }}{{{rank<includeonly>#var: $stars |</includeonly>}??? }} Monster Cards| {{ #var: $stars | ??? }} ]] {{ #var: $star_icon }} }} }}{{{level-rank_note|}}}
| label6 = [[ATK]] / {{ #if: {{{link_arrows|}}} | [[Link Rating|LINK]] | [[DEF]]}}
| data6 = {{ #if: {{{atk|}}}{{{def<includeonly>|</includeonly>}}}
| {{ #if: {{{atk<includeonly>|</includeonly>}}} | {{{atk}}} | ??? }} / <!--
-->{{ #if: {{{link_arrows|}}} | {{ #var: $link_rating }} | {{ #if: {{{def<includeonly>|</includeonly>}}} | {{{def}}} | ??? }} }}
}}{{{atk-def_note|}}}
| label7 = [[Link Arrow]]s| data7 = {{ #if: {{{link_arrows<includeonly>|</includeonly>}}} | <div style="display: flex;align-items:center;">{{Link map|{{{link_arrows|}}}|alt=}}&nbsp;<!-- --><div>{{ #arrayprint: @link_arrows | , <nowiki /> | $linkArrow | [[$linkArrow Link Arrow cards|$linkArrow]][[Link Arrows::$linkArrow| ]] }}</div></div><!-- -->[[Link Rating::{{ #var: $link_rating }}| ]] }} | label7 label8 = Effect typestype | class7 class8 = hlist hcomma | data7 data8 = {{ #if: {{{effect_types<includeonly>|</includeonly>}}} | {{CardTable2/effect|{{{effect_types<includeonly>|</includeonly>}}}}} }}
| label8 label9 = [[Ritual Spell Card|Ritual Card]] | data8 data9 = {{ #if: {{{ritual_card<includeonly>|</includeonly>}}} | [[{{{ritual_card}}}|{{ #explode: {{{ritual_card}}} | ( }}]] }}
| label9 label10 = {{ #switch: {{ lc: {{ #var: $primary_type }} }} | fusion Fusion = [[Fusion Material Monster|Fusion Material]] | synchro Synchro = [[Synchro Material Monster|Synchro Material]] | xyz Xyz = [[Xyz Material]] | #default = [[Material]] }} | data9 data10 = {{ #vardefineecho: $material_string | {{ #if: {{{material<includeonly>|</includeonly>}}} |<div class="hlist {{ #ifeqif: {{ #var: $type2 is_dark_synchro }} | Dark Synchro | hminus | hplus }}">{{ #arraydefine: $material | {{{material}}} | *
}}{{ #if: {{ #arrayindex: $material | 0 }} || {{ #arrayslice: $material | $material | 1 | {{ #arraysize: $material }} }}
}}{{ #arrayprint: $material || $material | &#32;
* {{ #if: {{ #pos: $material | {{!((}} }} | $material | "[[$material|{{ #explode: $material | <nowiki /> ( }}]]" }}
}}
</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 label13 = &#32;Description | data10 data13 = {{{non-carddescription<includeonly>|</includeonly>}}}
| label11 label14 = Description[[Pendulum Scale]] | data11 data14 = {{ #if: {{{descriptionpendulum_scale<includeonly>|</includeonly>}}} | {{ #ifeq: {{{pendulum_scale}}} | ??? | ??? | [[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]] }}{{{pendulum_scale_note|}}}}}
| data12 data15 = {{ #if: {{{lore<includeonly>|</includeonly>}}}{{{material|}}}{{{pendulum_effect|}}} | <div class="lore"><div class="main_lore">{{ #ifeqif: {{ #var: $type2 is_pendulum }} | Dark Synchro<div class="lorebox lorebox--pendulum"> <div class="lorebox-pendulum_scale nomobile" aria-hidden="true">{{{pendulum_scale<includeonly>| </includeonly>}}}</div> <div class="lorebox-lore lorebox-lore--pendulum">{{{ #var: $material_string pendulum_effect<includeonly>|</includeonly>}}}<br /div> <div class="lorerulelorebox-pendulum_scale nomobile" aria-hidden="true">{{ #var: @dark_synchro_rule {pendulum_scale<includeonly>|</includeonly>}}}</div> | </div> }}<div class="main_lore">{{ #if: {{{material<includeonly>|</includeonly>}}}
| {{ #var: $material_string }}<br />
}}<!-- }}--><div class="lorebox-lore">{{{lore<includeonly>|</includeonly>}}}{{{lore_note|}}}</div><!-- --></div></div> }}
| label13 label16 = Appearances | data13 data16 = {{ #if: {{{chapters<includeonly>|</includeonly>}}} | * [[Appears in::Yu-Gi-Oh! OCG Structures| ]]''[[Yu-Gi-Oh! OCG Structures]]'': {{ctaama| {{{chapters}}} | series = structure 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 }} }}
| 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}}<!--
<!--
{{Card info links|{{ #var: $main | {{Normalized pagename|{{PAGENAME}}}} }}|type={{ #if: {{ #pos: {{ #var: $types }} | Token }} | token }}|medium=manga}}<!-- -->{{ #if: {{{image_ca|}}}{{{image_nc|}}}{{{image_other<includeonly>|</includeonly>}}} | &#32;==Other images==<h2>Images</h2>
{{ #tag: gallery
| {{ #if: {{{image_ca<includeonly>|</includeonly>}}} |&#32;{{{image_ca}}} {{!}} Artwork }}{{ #if: {{{image_nc<includeonly>|</includeonly>}}} |&#32;
{{{image_nc}}} {{!}} Non-card
}}{{ #if: {{{image_other<includeonly>|</includeonly>}}} |&#32;
{{{image_other}}} {{!}} Other
}}
}}
-->{{ #if: {{{decks<includeonly>|</includeonly>}}}
| &#32;
== <h2>Decks ==</h2>
{{ #arraydefine: $decks | {{{decks}}} | * }}{{ #arrayunique: $decks }}
{{ #arrayprint: $decks
}}<!--
-->{{ #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; ==<h2>Search categories==</h2>
{{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>}}}
| anti-supports = {{{anti-supports<includeonly>|</includeonly>}}}
}}<!--
archseries navboxes--><includeonly>{{Card navigation}}</includeonly><!-- 
-->{{ #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}}}
}}<!--
--><includeonly>{{Card navigation#if: {{ #pos: {{ #var: $types }} | Token }} | {{Tokens}} }}</includeonly><!--
-->{{ #if: {{NAMESPACE}}
|| [[Category:Yu-Gi-Oh! OCG Structures cards]][[Medium::Manga| ]]<!--
 
-->{{ #ifeq: {{ #var: $debut_date }} | unknown
|
| [[CategoryDebut date:Yu-Gi-Oh! OCG Structures cards]][[Medium:{{ #var:Yu-Gi-Oh! OCG Structures$debut_date }}| ]]}}
}}<noinclude>{{documentation}}</noinclude>

Navigation menu