Template:Character Infobox: Difference between revisions

Raven.Familiar (talk | contribs)
Adding species and factions. Copied from HSR wiki
Raven.Familiar (talk | contribs)
Small clean-up and adding categories
Line 83: Line 83:
-->{{#if:{{{factionNote|}}}<!--
-->{{#if:{{{factionNote|}}}<!--
-->|{{#ifeq:{{{factionNote}}}|None||<nowiki> </nowiki>({{{factionNote}}})}}<!--
-->|{{#ifeq:{{{factionNote}}}|None||<nowiki> </nowiki>({{{factionNote}}})}}<!--
-->|{{#ifeq:{{{type}}}|Playable Character|{{#if:{{{faction2|}}}|<nowiki> </nowiki>(on profile)}}}}}}<!--
-->{{{factionRef|}}}<!--
-->{{{factionRef|}}}<!--
-->{{#if:{{{faction2|}}}|</li><!--
-->{{#if:{{{faction2|}}}|</li><!--
Line 152: Line 151:
-->{{#switch:{{{animasterType}}}|Sovereign|Novarch|Other=[[Category:{{{animasterType}}} Animasters]]}}<!--
-->{{#switch:{{{animasterType}}}|Sovereign|Novarch|Other=[[Category:{{{animasterType}}} Animasters]]}}<!--
-->{{#switch:{{{animasterType2}}}|Sovereign|Novarch|Other=[[Category:{{{animasterType2}}} Animasters]]}}<!--
-->{{#switch:{{{animasterType2}}}|Sovereign|Novarch|Other=[[Category:{{{animasterType2}}} Animasters]]}}<!--
Species
-->{{#if:{{{species|}}}
|{{#switch:{{Replace|{{{species}}}|s1=%[|s2=%]}}
|#default = [[Category:{{Replace|{{{species}}}|s1=%[|s2=%]}} Characters]]
}}
|[[Category:Characters without Known Species]]
}}<!--
-->{{#if:{{{species2|}}}
|{{#switch:{{Replace|{{{species2}}}|s1=%[|s2=%]}}
|#default = [[Category:{{Replace|{{{species2}}}|s1=%[|s2=%]}} Characters]]
}}}}<!--
  Factions
-->{{#if:{{{faction|}}}|[[Category:{{{faction}}}]]}}<!--
-->{{#if:{{{faction2|}}}|[[Category:{{{faction2}}}]]}}<!--
-->{{#if:{{{faction3|}}}|[[Category:{{{faction3}}}]]}}<!--
   Voice Actors
   Voice Actors
-->{{#if:{{{vaEN|}}}|[[Category:Characters With Known English Voice Actor]]|[[Category:Characters Without Known English Voice Actor]]}}<!--
-->{{#if:{{{vaEN|}}}|[[Category:Characters With Known English Voice Actor]]|[[Category:Characters Without Known English Voice Actor]]}}<!--