Difference between revisions of "Template:Archseries navbox"
Dinoguy1000 (talk | contribs) (shorten variable names; expand support/anti-support queries to hit up all of "Support", "Archetype support", "Anti-support", and "Archetype anti-support" properties) |
(Fix lack of display when the name contains quotation marks.) |
||
Line 1: | Line 1: | ||
− | {{IfSemantics|{{ #vardefine: $asn-name | {{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }} | + | {{IfSemantics|{{ #vardefine: $asn-name | {{ #replace: {{ #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) }} }} |