Template:Infobox hero: Difference between revisions
Jump to navigation
Jump to search
(use the standard background color as background) |
(Add all heroes to the category heroes) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
#vardefine: expansionlogo | {{ValidateExpansionLogo|{{{expansion|}}}}} | #vardefine: expansionlogo | {{ValidateExpansionLogo|{{{expansion|}}}}} | ||
}}{{ | }}{{ | ||
#vardefine: backgroundcolor | {{Type Color|type={{#var: archetype}} | #vardefine: backgroundcolor | {{Type Color|type={{#var: archetype}}_herosheet}} | ||
}}{{ | }}{{ | ||
#vardefine: archetype_icon | Icon - {{#var: archetype}}.png | #vardefine: archetype_icon | Icon - {{#var: archetype}}.png | ||
| Line 74: | Line 74: | ||
|}}{{#if:{{#var: expansion}}|[[Category:{{#var: expansion}}]] | |}}{{#if:{{#var: expansion}}|[[Category:{{#var: expansion}}]] | ||
|}}{{#if:{{#var: race}}|[[Category:{{#var: racePlural}}]] | |}}{{#if:{{#var: race}}|[[Category:{{#var: racePlural}}]] | ||
|}}</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> | |}}[[Category:Heroes]]</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> | ||
Latest revision as of 07:04, 25 January 2018
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?)
