Changes

Jump to: navigation, search

Template:Archseries navbox (D Team)

124 bytes added, 7 years ago
support cases where the Japanese name isn't available
-->{{ #vardefine: $archseries-list-name | {{ #explode: {{ #explode: {{ #var: $archseries-nav-name }} | (series) }} | (archetype) }} }}<!--
-->{{ #vardefine: $archseries-type | {{ #ifexpr: {{ #ask: <q>[[Support::{{ #var: $archseries-nav-name }}]] OR [[Archetype support::{{ #var: $archseries-nav-name }}]] OR [[Anti-support::{{ #var: $archseries-nav-name }}]] OR [[Archetype anti-support::{{ #var: $archseries-nav-name }}]]</q>[[Category:Yu-Gi-Oh! D Team ZEXAL cards]] | format=count }} > 0 | archetype | series }} }}<!--
-->{{ #vardefine: $archseries-ja-name | {{ #show: {{ #var: $archseries-nav-name }} |?{{ #if: {{ #show: {{ #var: $archseries-nav-name }} |?Ruby text }} | Ruby text | Japanese name }} }} }}<!--
-->{{ #vardefine: $archseries-quotes | {{ #ifeq: {{ #var: $archseries-type }} | archetype | " }} }}<!--
-->{{ #vardefine: $cut_names | {{ #show: {{ #var: $archseries-nav-name }} |?Cut from card names }} }}<!--
-->{{Navbox
| name = Archseries navbox (D Team)
| title = {{ #var: $archseries-quotes }}[[{{ #var: $archseries-nav-name }}|{{trim|{{ #explode: {{ #var: $archseries-nav-name }} | ( }}}}]]{{ #var: $archseries-quotes }} {{ #if: {{ #if: {{ #var: $archseries-quotes ja-name }} | 「 }}{{ #show: {{ #var: $archseries-nav-name quotes }} |?{{ #if: {{ #show: 「 }}{{ #var: $archseries-navja-name }} |?Ruby text }} | Ruby text | Japanese name }} }}{{ #if: {{ #var: $archseries-quotes }} | 」 }} }}<span style="float: right; line-height: normal; font-variant: small-caps;"><span class="explain" style="font-variant: normal;" title="This {{ #var: $archseries-type }} is featured in Yu-Gi-Oh! D Team ZEXAL.">dtz</span> {{ #if: {{{member|}}} | <span class="explain" title="This card is a member of this {{ #var: $archseries-type }}.">m</span> }} {{ #if: {{{support|}}} | <span class="explain" title="This card supports this archetype.">+</span> }} {{ #if: {{{anti-support|}}} | <span class="explain" title="This card anti-supports this archetype.">-</span> }} {{ #if: {{{related|}}} | <span class="explain" title="This card is related to this {{ #var: $archseries-type }}.">r</span> }}</span>
| bodyclass = hlist

Navigation menu