Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 61: Line 61:
| style="padding-left:5px" | {{{chance_3|1/4}}}
| style="padding-left:5px" | {{{chance_3|1/4}}}
|}
|}
{{{no_hota_starting_troops|
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Starting troops {{withhota}}:'''
|-
| colspan=3 |


{| border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
| {{Cn|{{{hota_troop_1|{{{troop_1}}}}}}}}
| style="padding-left:5px" | {{{hota_nmb_1|}}}
| style="padding-left:5px" | {{{hota_chance_1|Always}}}
|-
| {{{notroop_2|{{Cn|{{{hota_troop_1|{{{troop_2}}}}}}}}
{{!}} style="padding-left:5px; padding-right:5px" {{!}} {{{hota_nmb_2|}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_2|Always}}}
{{!-}}
{{!}} }}}{{Cn|{{{hota_troop_1|{{{troop_3}}}}}}}}
| style="padding-left:5px" | {{{hota_nmb_3|}}}
| style="padding-left:5px" | {{{hota_chance_3|Always}}}
|}
}}}
|-
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}}
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}}

Revision as of 00:53, 23 May 2018


How to use

The code is copied at the beginning of the hero's article, and fill in the missing information. It should be noticed, that the factors below are case sensitive meaning, that "Town" is not the same as "town".

{{Hero
 | town       = 
 | class      = 
 | gender     = 
 | race       = 
 | specialty  = 
 | s_text     = 
 | skill_1    = 
 | skill_2    = 
 | spell      =
 | warmachine =
}}

If the hero does not have a starting spell or war machine then the following parameters should be defined without any value:

| nospell    =
| nowar      =

If for some reason pictures of hero or specialty does not appear automatically, you can add the following rows:

 | picture       = 
 | specialty_pic = 

Also, the following lines are available:

 | name          = 
This is an example what the page will look like.
Adelaide the Cleric
Basic information:
Adelaide Class: Cleric
Gender: Female
Race: Human
Caught at sea during a storm, Adelaide was shipwrecked on the shores of Vori, home of the Snow Elves. She trained with them for some twenty years, and upon her return to Erathia discovered that no time had passed in her absence.
Specialty: Frost Ring
Specialty Frost Ring Casts Frost Ring with increased effect, based on hero level compared to the level of the target unit.
Starting secondary skill(s):
Advanced Wisdom  Advanced Wisdom
Starting troops:
Pikeman Pikeman 10–20 Always
Archer Archer 4–7 75%
Griffin Griffin 2–3 1/4


Starting spell:
Frost Ring Frost Ring
Adelaide the Cleric is a hero from Castle. Adelaide starts with a spell book and the spell Frost Ring.