Difference between revisions of "Template:Set gallery"

From Yugipedia
Jump to: navigation, search
m (Added {{Documentation}}.)
(Trying to fetch the correct name of the card, if the input is outdated (this allows for the image to still be displayed, even though the name hasn't been updated (just trying to mitigate the fact the queue doesn't work with this approach (yet))).)
Line 168: Line 168:
 
   }}<!--
 
   }}<!--
  
-->{{ #vardefine: $name-print      | {{ #explode: {{ #var: $name }} | ( }} }}<!--
+
-->{{ #vardefine: $name-SMW        | {{ #show:    {{ #var: $name }}  | ?English name  }} }}<!--
-->{{ #vardefine: $name-trim      | {{ #replace: {{ #var: $name }} | # }} }}<!--
+
-->{{ #vardefine: $name-print      | {{ #explode: {{ #var: $name-SMW | {{ #var: $name }} }} | ( }} }}<!--
-->{{ #vardefine: $name-print-full | {{ #var: $name-trim }}{{!}}{{ #var: $name-print }} }}<!--
+
-->{{ #vardefine: $name-trim      | {{ #replace: {{ #var: $name-SMW | {{ #var: $name }} }} | # }} }}<!--
 +
-->{{ #vardefine: $name-print-full | [[{{ #var: $name-trim }}|{{ #var: $name-print }}]]  }}<!--
  
 
== Row ==
 
== Row ==
Line 188: Line 189:
 
               --><br /><!--
 
               --><br /><!--
 
               -->{{ #var: $name-alt
 
               -->{{ #var: $name-alt
                     | [[{{ #var: $name-print-full }}]]
+
                     | {{ #var: $name-print-full }}
 
                 }}<!--
 
                 }}<!--
 
               -->{{ #if: {{ #var: $flag-notEnglish }}
 
               -->{{ #if: {{ #var: $flag-notEnglish }}

Revision as of 23:43, 6 March 2017