Changes

Jump to: navigation, search

Template:Anime card

55 bytes added, 6 years ago
fix Attribute/Type tracking categories being added to all monsters without a main OCG/TCG page (the code for those categories makes me itchy >_> ); mobile-hide --> nomobile
}}<!--
-->{{ #ifeq: {{ #var: $card_type }} | Monster | {{ #vardefine: $card_type }} }}<!--
-->[[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 }}| ]]<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|}}} | [[Type text::{{{type_text}}}| ]] }}<!--
-->[[Description::{{{description|}}}| ]]<!--
| max_width = {{ #ifexpr: {{ #imgw: {{ #var: $image }} }} > 200 | 200 | {{ #imgw: {{ #var: $image }} }} }}
| below_image = {{ #if: {{ #arrayindex: images | 1 }} |
<div class="hlist image-switcher mobile-hidenomobile" style="min-width: 5em;">
{{ #if: {{ #var: $en_image }} |
* {{Image dimensions|{{ #var: $en_image}}|en}}
| <div class="lore">{{ #if: {{{pendulum_effect<includeonly>|</includeonly>}}}{{{pendulum_scale|}}}
| <div class="lorebox lorebox--pendulum">
<div class="lorebox-pendulum_scale mobile-hidenomobile" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
<div class="lorebox-lore lorebox-lore--pendulum">{{{pendulum_effect<includeonly>|</includeonly>}}}</div>
<div class="lorebox-pendulum_scale mobile-hidenomobile" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
</div>
}}<div class="lorebox lorebox--main">{{ #if: {{{types<includeonly>|</includeonly>}}} |<!--
{{ #if: {{{4k_lore<includeonly>|</includeonly>}}} |
{{ #if: {{{lore<includeonly>|</includeonly>}}} | <hr /> }}
[[4K Media]] lore<span class="explain mobile-hidenomobile" title="{{ #var: $4k_text }}" style="vertical-align: super;">?</span>: <span class="mobile-show">({{ #var: $4k_text }}):</span> {{{4k_lore}}}
}}</div><!--

Navigation menu