Template:Hero: Difference between revisions
No edit summary |
No edit summary |
||
Line 71: | Line 71: | ||
| {{{notroop_2|{{Cn|{{{troop_2}}}}} | | {{{notroop_2|{{Cn|{{{troop_2}}}}} | ||
{{!}} style="padding-left:5px; padding-right:5px" {{!}} {{{nmb_2|}}} | {{!}} style="padding-left:5px; padding-right:5px" {{!}} {{{nmb_2|}}} | ||
{{!}} style="padding-left:5px" {{!}} {{{chance_2|88%}}} | {{!}} style="padding-left:5px" {{!}} {{{chance_2|88%}}}{{#if:{{{hota_same_troops|}}}|{{-}}''(Always{{-wh}})''|}} | ||
{{!-}} | {{!-}} | ||
{{!}} }}}{{Cn|{{{troop_3}}}}} | {{!}} }}}{{Cn|{{{troop_3}}}}} | ||
| style="padding-left:5px" | {{{nmb_3|}}} | | style="padding-left:5px" | {{{nmb_3|}}} | ||
| style="padding-left:5px" | {{{chance_3|25%}}} | | style="padding-left:5px" | {{{chance_3|25%}}}{{#if:{{{hota_same_troops|}}}|{{-}}''(Always{{-wh}})''|}} | ||
|} | |} | ||
{{{no_hota_starting_troops| | {{{no_hota_starting_troops| |
Revision as of 04:43, 20 December 2022
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 = | min_mp = | max_mp = | hota_mp = | s_mp = }} |
If the hero does not have a starting spell or war machine then the following parameters should be defined without any value:
| nospell = | nowar = |
For all heroes amount of starting movement points depends on their starting army: if they got a slow creature in starting army - they start with less movement points. In HotA all heroes are guaranteed to start with a certain set of creatures, so their starting movement points are constant. For all heroes that were introduced in HotA parameter s_mp must be replaced with s_hota_mp with defined value.
| s_hota_mp = |
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|