Template:Infobox hero: Difference between revisions

Jump to navigation Jump to search
Undo revision 17023 by Psymia (talk) keep using the herosheet argument. change color in type color template
(move race plural to own variable)
(Undo revision 17023 by Psymia (talk) keep using the herosheet argument. change color in type color template)
(5 intermediate revisions by the same user not shown)
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]]
      |Dwarf=Dwarves
      |Orrukasi=Orrukasi
       |#default={{#var: race}}s
     }}
     }}
   |}}
   |}}
Line 65: Line 67:
<div style="margin:5px -10px -5px -10px;">{{{feat|}}}</div>
<div style="margin:5px -10px -5px -10px;">{{{feat|}}}</div>
</div>
</div>
{{#if:{{{quote|}}}|<div style="margin:auto">''{{{quote|}}}''</div>|}}
{{#if:{{{quote|}}}|<div style="margin:auto; max-width:470px;">''{{{quote|}}}''</div>|}}
</div>
</div>
</div>
</div>

Navigation menu