Difference between revisions of "Template:Archseries navbox"

From Yugipedia
Jump to: navigation, search
(#titleparts should be cheaper)
(#titleparts automatically capitalizes the first character of input, which breaks things like "roid" where the first character is supposed to be lowercase)
Line 1: Line 1:
{{IfSemantics|{{ #vardefine: $asn-name | {{ #titleparts: {{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}}}
+
{{IfSemantics|{{ #vardefine: $asn-name | {{Normalized pagename|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}}}
 
}}{{ #vardefine: $asn-display-name | {{ #if: 1 | {{ #explode: {{ #var: $asn-name }} | ( }} }}
 
}}{{ #vardefine: $asn-display-name | {{ #if: 1 | {{ #explode: {{ #var: $asn-name }} | ( }} }}
 
}}{{ #vardefine: $asn-list-name | {{ #if: 1 | {{ #explode: {{ #explode: {{ #var: $asn-name }} | (archetype) }} | (series) }} }}
 
}}{{ #vardefine: $asn-list-name | {{ #if: 1 | {{ #explode: {{ #explode: {{ #var: $asn-name }} | (archetype) }} | (series) }} }}

Revision as of 18:48, 20 November 2016