Template:Infobox hero: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(add race plural of dwarf as dwarves)
(the quote may only be max 470px wide (same as ability/feat))
Line 66: Line 66:
<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>

Revision as of 21:30, 4 August 2017

Example Hero

Speed: 5

Health: 8

Stamina: 5

Defense: Grey

Willpower: 3

Might: 3

Knowledge: 3

Awareness: 3

Hero Ability
I can do something...
Heroic Feat
I'm not useless
Catch me if you can
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is intended to display an infobox about a hero card.
The page will be automatically added to the various categories depending on the arguments of the template.
Syntax, all possible arguments
{{Infobox hero
|name      = <required>
|expansion = <optional>
|archetype = <required>
|race      = <optional>
|image     = <optional, use when image to show has a different name than: Hero_-_<name>.png>
|speed     = <required>
|health    = <required>
|stamina   = <required>
|defense   = <required>
|willpower = <required>
|might     = <required>
|knowledge = <required>
|awareness = <required>
|ability   = <required>
|feat      = <required>
|quote     = <optional>
}}

Visit Template:Infobox hero/doc to edit this text! (How does this work?)