Template:Infobox hero: Difference between revisions

Jump to navigation Jump to search
handle plural of elf as elves
No edit summary
(handle plural of elf as elves)
Line 64: Line 64:
</div>{{#if:{{#var: archetype}}|[[Category:{{#var: archetype}}s]]
</div>{{#if:{{#var: archetype}}|[[Category:{{#var: archetype}}s]]
|}}{{#if:{{#var: expansion}}|[[Category:{{#var: expansion}}]]
|}}{{#if:{{#var: expansion}}|[[Category:{{#var: expansion}}]]
|}}{{#if:{{#var: race}}|[[Category:{{#var: race}}s]]
|}}{{#if:{{#var: race}}|
  {{#switch:{{#var: race}}
    |Elf= [[Category:Elves]]
    |#default=[[Category:{{#var: race}}s]]
  }}
|}}</includeonly><noinclude>{{Infobox hero |name=Example Hero |expansion=DJ07 |archetype=Mage |race=example-race |image=Hero_-_Zyla.png |speed=5 |health=8 |stamina=5 |defense=Grey |willpower=3 |might=3 |knowledge=3 |awareness=3 |ability=I can do something... |feat=I'm not useless |quote=Catch me if you can}}{{documentation}}</noinclude>
|}}</includeonly><noinclude>{{Infobox hero |name=Example Hero |expansion=DJ07 |archetype=Mage |race=example-race |image=Hero_-_Zyla.png |speed=5 |health=8 |stamina=5 |defense=Grey |willpower=3 |might=3 |knowledge=3 |awareness=3 |ability=I can do something... |feat=I'm not useless |quote=Catch me if you can}}{{documentation}}</noinclude>

Navigation menu