Permanently protected template

Difference between revisions of "Template:OCG-TCG card image"

From Yugipedia
Jump to: navigation, search
(if the card name and set are not dash-separated in the image name, the card name is not given via "name", and the set is given via "set", remove the set from the image name)
(extra }} ?)
Line 41: Line 41:
 
   | {{ #vardefine: $fn_name | {{ #explode: {{ #var: $fn_name_set }} | -{{ #var: $fn_set }} }}
 
   | {{ #vardefine: $fn_name | {{ #explode: {{ #var: $fn_name_set }} | -{{ #var: $fn_set }} }}
 
   | {{ #if: {{{set|}}} | {{ #if: {{ #pos: {{ #var: $fn_name_set }} | {{ uc: {{{set}}} }} }} | {{ #vardefine: $fn_name_set | {{ #replace: {{ #var: $fn_name_set }} | {{ uc: {{{set}}} }} }} }} }} }}
 
   | {{ #if: {{{set|}}} | {{ #if: {{ #pos: {{ #var: $fn_name_set }} | {{ uc: {{{set}}} }} }} | {{ #vardefine: $fn_name_set | {{ #replace: {{ #var: $fn_name_set }} | {{ uc: {{{set}}} }} }} }} }} }}
  }}
 
  
 
}}{{ #vardefine: $para_name        | {{ #replace: {{{name|<noinclude>Jinzo 7</noinclude>}}} | # }}<!-- original input; should match card's page name including anything in "()" ("#" is allowed/stripped here simply for backwards compatibility, since previously the template required the card's printed name rather than the name of its article) -->
 
}}{{ #vardefine: $para_name        | {{ #replace: {{{name|<noinclude>Jinzo 7</noinclude>}}} | # }}<!-- original input; should match card's page name including anything in "()" ("#" is allowed/stripped here simply for backwards compatibility, since previously the template required the card's printed name rather than the name of its article) -->

Revision as of 13:48, 23 June 2016

{{ #if: OCG

|

  1. Cite error: Invalid <ref> tag; no text was provided for refs named {{{rarity}}}
  2. [[#cite_ref-'"`UNIQ--ref-00000001-QINU`"'_2-0|↑]] Cite error: Invalid <ref> tag; no text was provided for refs named [1]