Difference between revisions of "Template:Duel Links card"

From Yugipedia
Jump to: navigation, search
(Missing "supports_archetypes")
(tweak array* stuff a bit)
Line 115: Line 115:
 
}}<!--
 
}}<!--
  
-->{{ #vardefine: $supports | {{ #if: {{{supports<includeonly>|</includeonly>}}} | {{{supports}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Support }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $supports | {{ #if: {{{supports<includeonly>|</includeonly>}}} | {{{supports}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Support }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $anti-supports | {{ #if: {{{anti-supports<includeonly>|</includeonly>}}} | {{{anti-supports}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Anti-support }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $anti-supports | {{ #if: {{{anti-supports<includeonly>|</includeonly>}}} | {{{anti-supports}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Anti-support }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $archseries | {{ #if: {{{archseries<includeonly>|</includeonly>}}} | {{{archseries}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archseries }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $archseries | {{ #if: {{{archseries<includeonly>|</includeonly>}}} | {{{archseries}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archseries }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $supports_archetypes | {{ #if: {{{supports_archetypes<includeonly>|</includeonly>}}} | {{{supports_archetypes}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archetype support }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $supports_archetypes | {{ #if: {{{supports_archetypes<includeonly>|</includeonly>}}} | {{{supports_archetypes}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archetype support }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $anti-supports_archetypes | {{ #if: {{{anti-supports_archetypes<includeonly>|</includeonly>}}} | {{{anti-supports_archetypes}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archetype anti-support }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $anti-supports_archetypes | {{ #if: {{{anti-supports_archetypes<includeonly>|</includeonly>}}} | {{{anti-supports_archetypes}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archetype anti-support }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $related_to_archseries | {{ #if: {{{related_to_archseries<includeonly>|</includeonly>}}} | {{{related_to_archseries}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archseries related }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $related_to_archseries | {{ #if: {{{related_to_archseries<includeonly>|</includeonly>}}} | {{{related_to_archseries}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Archseries related }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $counter | {{ #if: {{{counter<includeonly>|</includeonly>}}} | {{{counter}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Counters }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $counter | {{ #if: {{{counter<includeonly>|</includeonly>}}} | {{{counter}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Counters }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $action | {{ #if: {{{action<includeonly>|</includeonly>}}} | {{{action}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Actions }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $action | {{ #if: {{{action<includeonly>|</includeonly>}}} | {{{action}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Actions }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $stat_change | {{ #if: {{{stat_change<includeonly>|</includeonly>}}} | {{{stat_change}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Stats }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $stat_change | {{ #if: {{{stat_change<includeonly>|</includeonly>}}} | {{{stat_change}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Stats }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $m/s/t | {{ #if: {{{m/s/t<includeonly>|</includeonly>}}} | {{{m/s/t}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?MonsterSpellTrap }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $m/s/t | {{ #if: {{{m/s/t<includeonly>|</includeonly>}}} | {{{m/s/t}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?MonsterSpellTrap }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $summoning | {{ #if: {{{summoning<includeonly>|</includeonly>}}} | {{{summoning}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Summoning }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $summoning | {{ #if: {{{summoning<includeonly>|</includeonly>}}} | {{{summoning}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Summoning }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $attack | {{ #if: {{{attack<includeonly>|</includeonly>}}} | {{{attack}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Attack }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $attack | {{ #if: {{{attack<includeonly>|</includeonly>}}} | {{{attack}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Attack }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $banished | {{ #if: {{{banished<includeonly>|</includeonly>}}} | {{{banished}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Banishing }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $banished | {{ #if: {{{banished<includeonly>|</includeonly>}}} | {{{banished}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Banishing }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $life_points | {{ #if: {{{life_points<includeonly>|</includeonly>}}} | {{{life_points}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?LP }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $life_points | {{ #if: {{{life_points<includeonly>|</includeonly>}}} | {{{life_points}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?LP }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $fm_for | {{ #if: {{{fm_for<includeonly>|</includeonly>}}} | {{{fm_for}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Fusion Material for }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $fm_for | {{ #if: {{{fm_for<includeonly>|</includeonly>}}} | {{{fm_for}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Fusion Material for }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $sm_for | {{ #if: {{{sm_for<includeonly>|</includeonly>}}} | {{{sm_for}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Synchro Material for }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $sm_for | {{ #if: {{{sm_for<includeonly>|</includeonly>}}} | {{{sm_for}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Synchro Material for }} | , | $x$ | $x$ | * }} }} }}<!--
-->{{ #vardefine: $misc | {{ #if: {{{misc<includeonly>|</includeonly>}}} | {{{misc}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Misc }} | , | x | x | * }} }} }}<!--
+
-->{{ #vardefine: $misc | {{ #if: {{{misc<includeonly>|</includeonly>}}} | {{{misc}}} | {{ #arraymap: {{ #show: {{ #var: $main }} |?Misc }} | , | $x$ | $x$ | * }} }} }}<!--
  
-->{{ #arraydefine: images |
+
-->{{ #arraydefine: @images |
 
* {{ #var: $image }}
 
* {{ #var: $image }}
 
* {{{ja_image<includeonly>|</includeonly>}}}
 
* {{{ja_image<includeonly>|</includeonly>}}}
Line 145: Line 145:
 
}}<!--
 
}}<!--
  
-->{{ #arrayunique: images }}<!--
+
-->{{ #arrayunique: @images }}<!--
  
 
## Properties ##
 
## Properties ##
Line 202: Line 202:
 
| width          = {{{width|}}}
 
| width          = {{{width|}}}
 
| max_width      = {{ #ifexpr: {{ #imgw: {{ #var: $image }} }} > 200 | 200 | {{ #imgw: {{ #var: $image }} }} }}
 
| max_width      = {{ #ifexpr: {{ #imgw: {{ #var: $image }} }} > 200 | 200 | {{ #imgw: {{ #var: $image }} }} }}
| below_image    = {{ #if: {{ #arrayindex: images | 1 }} |
+
| below_image    = {{ #if: {{ #arrayindex: @images | 1 }} |
 
<div class="hlist image-switcher nomobile" style="min-width: 5em;">
 
<div class="hlist image-switcher nomobile" style="min-width: 5em;">
 
{{ #if: {{{image|}}} |
 
{{ #if: {{{image|}}} |
Line 282: Line 282:
 
   }}
 
   }}
 
| data9          = {{ #vardefineecho: $material_string | {{ #if: {{{material<includeonly>|</includeonly>}}} |
 
| data9          = {{ #vardefineecho: $material_string | {{ #if: {{{material<includeonly>|</includeonly>}}} |
<div class="hlist hplus">{{ #arraydefine: $material | {{{material}}} | *
+
<div class="hlist 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 | <nowiki /> ( }}]]" }}
 
* {{ #if: {{ #pos: $material | {{!((}} }} | $material | "[[$material|{{ #explode: $material | <nowiki /> ( }}]]" }}
 
}}
 
}}
Line 498: Line 498:
 
--><includeonly>{{Card navigation}}</includeonly><!--
 
--><includeonly>{{Card navigation}}</includeonly><!--
  
-->{{ #arraydefine: $archseries | {{ #var: $archseries }}*{{ #var: $supports_archetypes }}*{{ #var: $anti-supports_archetypes }}*{{ #var: $related_to_archseries }} | * | unique, sort=asc }}{{ #arrayprint: $archseries || $archseries | &#32;
+
-->{{ #arraydefine: @archseries | {{ #var: $archseries }}*{{ #var: $supports_archetypes }}*{{ #var: $anti-supports_archetypes }}*{{ #var: $related_to_archseries }} | * | unique, sort=asc }}{{ #arrayprint: @archseries || $archseries | &#32;
 
{{Archseries navbox (Duel Links)|$archseries|member={{ #pos: *{{ #var: $archseries }}
 
{{Archseries navbox (Duel Links)|$archseries|member={{ #pos: *{{ #var: $archseries }}
 
* | *$archseries
 
* | *$archseries

Revision as of 18:27, 19 February 2019

{{{article_messages}}}

  • [[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]]

Releases

{{{releases}}}

Other languages

Name Pendulum EffectLore
French {{{fr_name}}} {{{fr_pendulum_effect}}}

{{{fr_material}}}

{{{fr_lore}}}
German {{{de_name}}} {{{de_pendulum_effect}}}

{{{de_material}}}

{{{de_lore}}}
Italian {{{it_name}}} {{{it_pendulum_effect}}}

{{{it_material}}}

{{{it_lore}}}
Portuguese {{{pt_name}}} {{{pt_pendulum_effect}}}

{{{pt_material}}}

{{{pt_lore}}}
Spanish {{{es_name}}} {{{es_pendulum_effect}}}

{{{es_material}}}

{{{es_lore}}}
Japanese {{{ja_name}}} {{{ja_pendulum_effect}}}

{{{ja_material}}}

{{{ja_lore}}}
{{{romaji_name}}}
Japanese translated {{{trans_name}}} {{{ja_trans_pendulum_effect}}}

{{{ja_material}}}

{{{ja_trans_lore}}}
Korean {{{ko_name}}} {{{ko_pendulum_effect}}}

{{{ko_material}}}

{{{ko_lore}}}
{{{ko_rr_name}}}

Search categories

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}}}]]