Template:Infobox hero: Difference between revisions

Jump to navigation Jump to search
fix plural variable
(move race plural to own variable)
(fix plural variable)
Line 18: Line 18:
   #vardefine: racePlural | {{#if:{{#var: race}}|
   #vardefine: racePlural | {{#if:{{#var: race}}|
     {{#switch:{{#var: race}}
     {{#switch:{{#var: race}}
       |Elf= [[Category:Elves]]
       |Elf= Elves
       |#default=[[Category:{{#var: race}}s]]
       |#default={{#var: race}}s
     }}
     }}
   |}}
   |}}

Navigation menu