Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(add sk1only/sk2only for content switching)
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:#{{Green 2}};" | {{{name|{{PAGENAME}}}}} the {{{classname|{{{class|}}}}}}{{#switch: {{{flavor|}}}| = | <br>({{{flavor|}}})}}
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:#{{Green 2}};" | {{{name|{{PAGENAME}}}}} the {{{classname|{{{class|}}}}}}{{#switch: {{{flavor|}}}| = | <br>({{{flavor|}}})}}
|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Basic information:'''
! colspan=3 bgcolor={{green 2}} | Basic Information:
|-  
|-  
| rowspan=3 | {{swh|noicon=|[[File: Hero {{{picture|{{PAGENAME}}}}}{{{hpicture|}}}.png|{{{name|{{PAGENAME}}}}}]]|[[File: Hero {{{picture|{{PAGENAME}}}}}.png|{{{name|{{PAGENAME}}}}}]]}}
| rowspan=3 | {{swh|noicon=|[[File: Hero {{{picture|{{PAGENAME}}}}}{{{hpicture|}}}.png|{{{name|{{PAGENAME}}}}}]]|[[File: Hero {{{picture|{{PAGENAME}}}}}.png|{{{name|{{PAGENAME}}}}}]]}}
Line 15: Line 15:
|- {{#if: {{{biography|}}} |  | style="display: none;"}}
|- {{#if: {{{biography|}}} |  | style="display: none;"}}
| colspan=3 valign=top style="padding-left:3px; padding-right:3px; font-size:90%;" | ''{{{biography|}}}''
| colspan=3 valign=top style="padding-left:3px; padding-right:3px; font-size:90%;" | ''{{{biography|}}}''
|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''[[Hero specialty|<span style="color:black">Specialty</span>]]:''' [[{{{specialty|}}}]]
! colspan=3 bgcolor={{green 2}} | [[Hero specialty|<span style="color:darkolivegreen">Specialty</span>]]: [[{{{specialty|}}}]]
|-
|-
| colspan=3 |
| colspan=3 |
Line 26: Line 27:


|- {{#if: {{{level|}}} |  | style="display: none;"}}
|- {{#if: {{{level|}}} |  | style="display: none;"}}
| colspan=3 align=center bgcolor={{green 2}} | '''Starting Level:'''
! colspan=3 bgcolor={{green 2}} | Level:
|- {{#if: {{{level|}}} |  | style="display: none;"}}
|- {{#if: {{{level|}}} |  | style="display: none;"}}
| colspan=3 align=center| {{Exp2|0=}} Level {{{level|}}} {{Exp2|0=}}
| colspan=3 align=center| {{Exp2|0=}} Level {{{level|}}} {{Exp2|0=}}


|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Starting primary skills:'''
! colspan=3 bgcolor={{green 2}} | Primary Skills:
|-
|-
| colspan=3 |
| colspan=3 |
Line 47: Line 48:


|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Starting secondary skill{{#if:{{{skill_2|}}}|s|}}:'''
! colspan=3 bgcolor={{green 2}} | Secondary Skills:
|- class='{{sourceToggle||{{{sk1only}}}}}'
|- class='{{sourceToggle||{{{sk1only}}}}}'
| colspan=3 | {{Ss3|{{#explode:{{{skill_1}}}| |1|2}}|{{#explode:{{{skill_1}}}| |0}}}}{{{skill_1+|}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_1}}}| |1|2}}|{{#explode:{{{skill_1}}}| |0}}}}{{{skill_1+|}}}
|- {{#if: {{{skill_2|}}} | class='{{sourceToggle||{{{sk2only}}}}}' | style="display: none;"}}
|- {{#if: {{{skill_2|}}} | class='{{sourceToggle||{{{sk2only}}}}}' | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_2}}}| |1|2}}|{{#explode:{{{skill_2}}}| |0}}}}{{{skill_2+|}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_2}}}| |1|2}}|{{#explode:{{{skill_2}}}| |0}}}}{{{skill_2+|}}}
|- {{#if: {{{skill_3|}}} | | style="display: none;"}}
|- {{#if: {{{skill_3|}}} | class='{{sourceToggle||{{{sk3only}}}}}' | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_3}}}| |1|2}}|{{#explode:{{{skill_3}}}| |0}}}}{{{skill_3+|}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_3}}}| |1|2}}|{{#explode:{{{skill_3}}}| |0}}}}{{{skill_3+|}}}
|- {{#if: {{{skill_4|}}} | | style="display: none;"}}
|- {{#if: {{{skill_4|}}} | class='{{sourceToggle||{{{sk4only}}}}}' | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_4}}}| |1|2}}|{{#explode:{{{skill_4}}}| |0}}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_4}}}| |1|2}}|{{#explode:{{{skill_4}}}| |0}}}}
|- {{#if: {{{skill_5|}}} | | style="display: none;"}}
|- {{#if: {{{skill_5|}}} | class='{{sourceToggle||{{{sk5only}}}}}' | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_5}}}| |1|2}}|{{#explode:{{{skill_5}}}| |0}}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_5}}}| |1|2}}|{{#explode:{{{skill_5}}}| |0}}}}
|- {{#if: {{{skill_6|}}} | | style="display: none;"}}
|- {{#if: {{{skill_6|}}} | class='{{sourceToggle||{{{sk6only}}}}}' | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_6}}}| |1|2}}|{{#explode:{{{skill_6}}}| |0}}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_6}}}| |1|2}}|{{#explode:{{{skill_6}}}| |0}}}}
|- {{#if: {{{skill_7|}}} | | style="display: none;"}}
|- {{#if: {{{skill_7|}}} | class='{{sourceToggle||{{{sk7only}}}}}' | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_7}}}| |1|2}}|{{#explode:{{{skill_7}}}| |0}}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_7}}}| |1|2}}|{{#explode:{{{skill_7}}}| |0}}}}
|- {{#if: {{{skill_8|}}} | | style="display: none;"}}
|- {{#if: {{{skill_8|}}} | class='{{sourceToggle||{{{sk8only}}}}}' | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_8}}}| |1|2}}|{{#explode:{{{skill_8}}}| |0}}}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_8}}}| |1|2}}|{{#explode:{{{skill_8}}}| |0}}}}


|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Starting troops:'''
! colspan=3 bgcolor={{green 2}} | Troops:
|-
|-
| colspan=3 |  
| colspan=3 |  
{| border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
{| border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
|-
|-
| {{Cn|{{{troop_1}}}|image={{{troop_1_img|{{{troop_1}}}}}}}}
| width=170px | {{Cn|{{{troop_1}}}|image={{{troop_1_img|{{{troop_1}}}}}}}}
| style="padding-left:5px" | {{{nmb_1|}}}
| width=65px  | {{{nmb_1|}}}
| style="padding-left:5px" | {{{chance_1|Always}}}
| {{{chance_1|Always}}}
|- {{#if: {{{troop_2|}}} |  | style="display: none;"}}
|- {{#if: {{{troop_2|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_2}}}|image={{{troop_2_img|{{{troop_2}}}}}}}}
| {{Cn|{{{troop_2}}}|image={{{troop_2_img|{{{troop_2}}}}}}}}
| style="padding-left:5px" | {{{nmb_2|}}}
| {{{nmb_2|}}}
| style="padding-left:5px" | {{{chance_2|88%}}}{{#if:{{{hota_same_troops|}}}|{{showwithhota|{{-}}''(Always{{-wh}})''}}|}}
| {{{chance_2|{{swh|Always|88%}}}}}
|- {{#if: {{{troop_3|}}} |  | style="display: none;"}}
|- {{#if: {{{troop_3|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_3}}}|image={{{troop_3_img|{{{troop_3}}}}}}}}
| {{Cn|{{{troop_3}}}|image={{{troop_3_img|{{{troop_3}}}}}}}}
| style="padding-left:5px" | {{{nmb_3|}}}
| {{{nmb_3|}}}
| style="padding-left:5px" | {{{chance_3|25%}}}{{#if:{{{hota_same_troops|}}}|{{showwithhota|{{-}}''(Always{{-wh}})''}}|}}
| {{{chance_3|{{swh|Always|25%}}}}}
|- {{#if: {{{troop_4|}}} |  | style="display: none;"}}
|- {{#if: {{{troop_4|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_4}}}|image={{{troop_4_img|{{{troop_4}}}}}}}}
| {{Cn|{{{troop_4}}}|image={{{troop_4_img|{{{troop_4}}}}}}}}
| style="padding-left:5px" | {{{nmb_4|}}}
| {{{nmb_4|}}}
| style="padding-left:5px" | {{{chance_4|Always}}}
| {{{chance_4|Always}}}
|- {{#if: {{{troop_5|}}} |  | style="display: none;"}}
|- {{#if: {{{troop_5|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_5}}}|image={{{troop_5_img|{{{troop_5}}}}}}}}
| {{Cn|{{{troop_5}}}|image={{{troop_5_img|{{{troop_5}}}}}}}}
| style="padding-left:5px" | {{{nmb_5|}}}
| {{{nmb_5|}}}
| style="padding-left:5px" | {{{chance_5|Always}}}
| {{{chance_5|Always}}}
|- {{#if: {{{troop_6|}}} |  | style="display: none;"}}
|- {{#if: {{{troop_6|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_6}}}|image={{{troop_6_img|{{{troop_6}}}}}}}}
| {{Cn|{{{troop_6}}}|image={{{troop_6_img|{{{troop_6}}}}}}}}
| style="padding-left:5px" | {{{nmb_6|}}}
| {{{nmb_6|}}}
| style="padding-left:5px" | {{{chance_6|Always}}}
| {{{chance_6|Always}}}
|- {{#if: {{{troop_7|}}} |  | style="display: none;"}}
|- {{#if: {{{troop_7|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_7}}}|image={{{troop_7_img|{{{troop_7}}}}}}}}
| {{Cn|{{{troop_7}}}|image={{{troop_7_img|{{{troop_7}}}}}}}}
| style="padding-left:5px" | {{{nmb_7|}}}
| {{{nmb_7|}}}
| style="padding-left:5px" | {{{chance_7|Always}}}
| {{{chance_7|Always}}}
|}
|}
{{{no_hota_starting_troops|
{{!-}} class='onlyhota'
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting troops {{withhota}}:'''
{{!-}} class='onlyhota'
{{!}} colspan=3 {{!}}


{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
|- {{#if: {{{spell|}}} | | style="display: none;"}}
{{!}} {{Cn|{{{hota_troop_1|{{{troop_1}}}}}}}}
! colspan=3 bgcolor={{green 2}} | Spell:
{{!}} style="padding-left:5px; {{#if:{{{hota_nmb_1|}}}|font-weight:bold;|}}" {{!}} {{{hota_nmb_1|{{{nmb_1|}}}}}}
|- {{#if: {{{spell|}}} | | style="display: none;"}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_1|Always}}}
| [[File:{{{spell|}}}.png|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]
{{!-}} class='onlyhota'
| colspan=2 | [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]
{{!}} {{{hota_notroop_2|{{{notroop_2|{{Cn|{{{hota_troop_2|{{{troop_2}}}}}}}}
{{!}} style="padding-left:5px; padding-right:5px; {{#if:{{{hota_nmb_2|}}}|font-weight:bold;|}}" {{!}} {{{hota_nmb_2|{{{nmb_2|}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_2|Always}}}
{{!-}} class='onlyhota'
{{!}} }}}}}}{{Cn|{{{hota_troop_3|{{{troop_3}}}}}}}}
{{!}} style="padding-left:5px; {{#if:{{{hota_nmb_3|}}}|font-weight:bold;|}}" {{!}} {{{hota_nmb_3|{{{nmb_3|}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_3|Always}}}
{{!}}} }}}
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}}
|-
{{{nospell|{{!}} [[File:{{{spell|}}}.png|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]}}}
{{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}}
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nowar|'''Starts with:'''}}}
|-
{{{nowar|{{!}} [[File:Creature portrait {{{warmachine|}}} small.gif|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}}
{{{nowar|{{!}} <center>[[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}}
{{{nowar|{{!}} <center>{{{hota_wm|88%<br />{{showwithhota|''(Always{{-wh}})''}}}}}}}}
|-


{{{s_hota_mp|
|- {{#if: {{{warmachine|}}} |  | style="display: none;"}}
{{!-}}
! colspan=3 bgcolor={{green 2}} | War Machine:
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting [[Movement|movement points]]:'''
|- {{#if: {{{warmachine|}}} | | style="display: none;"}}
{{!-}}
| colspan=2 | {{Cn|{{{warmachine|}}}}}
{{!}} colspan=3 {{!}}  
| {{{hota_wm| {{swh|Always|88%}}}}}


{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
{{!}} align=center width=89 {{!}} {{{s_min|Minimum}}}
{{!}} align=center width=85 {{!}} {{{s_max|Maximum}}}
{{!}} class='onlyhota' align=center width=89 {{!}} {{{s_hota|HotA}}} {{withhota}}
{{!-}}
{{!}} align=center width=89 {{!}} {{{min_mp|}}}
{{!}} align=center width=85 {{!}} {{{max_mp|}}}
{{!}} class='onlyhota' align=center width=89 {{!}} {{{hota_mp|}}}
{{!}}} }}}
|-
|-
{{{s_mp|
! colspan=3 bgcolor={{green 2}} | Starting [[Movement|Movement Points]]:
{{!-}}
|-
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting [[Movement|movement points]]:'''
| colspan=3 style="text-align:center;" | {{{s_mp|}}}
{{!-}}
{{!}} colspan=3 {{!}}


{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
|}</includeonly><noinclude>
{{!}} align=center width=250 {{!}} {{{s_hota2_mp|}}}
{{!}}} }}}
|}{{{notext|'''{{{name|{{PAGENAME}}}}}''' the [[{{{class}}}]] is {{#ifeq:{{{town}}}|Inferno|an|a}} [[{{{town}}}]] [[List of heroes|hero]]. {{{nospell|{{{name|{{PAGENAME}}}}} starts with a [[spell book]] and the spell [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]].}}} }}}</includeonly><noinclude>


== How to use ==
== How to use ==
Line 173: Line 135:
  | spell      =
  | spell      =
  | warmachine =
  | warmachine =
| min_mp    =
| max_mp    =
| hota_mp    =
  | s_mp      =
  | s_mp      =
}}</pre>
}}</pre>
|}
=== Hide components ===
The following parameters defined without any value hide certain elements of the template:
* '''nospell''': No spell
* '''nowar''': No War Machine
* '''notext''': No Intro text to the right (useful for showing different flavors of a hero).
* '''no_hota_starting_troops''': HotA troops are the same as normal troops.
=== HotA Movement Points ===
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]]{{-wh}} 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{{-wh}} parameter s_mp must be replaced with s_hota_mp with defined value.
{|
| <pre> | s_hota_mp = </pre>
|}
|}


Line 204: Line 150:
* '''skill_#''': Replace # with the skill number 1-8
* '''skill_#''': Replace # with the skill number 1-8
** '''skill_#+''': Extra test to add to the skill row (e.g. for expansion symbols)
** '''skill_#+''': Extra test to add to the skill row (e.g. for expansion symbols)
** '''sk1only/sk2only''': Set to the expansion (e.g. sod/hota) that you want to ONLY show the row for
** '''sk#only''': Set to the expansion (e.g. sod/hota) that you want to ONLY show the row for
* '''troop_#''': Replace # with the troop number 1-8
* '''troop_#''': Replace # with the troop number 1-8
** '''troop_#_img''': Display an alternate (e.g. HotA) image for this troop.
** '''troop_#_img''': Display an alternate (e.g. HotA) image for this troop.
Line 220: Line 166:
  | name          = </pre>
  | name          = </pre>
|}
|}
=== HotA Movement Points ===
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]]{{-wh}} all heroes are guaranteed to start with a certain set of creatures, so their starting movement points are constant.


== Examples ==
== Examples ==
Line 239: Line 188:
  | troop_2    = Archer
  | troop_2    = Archer
  | troop_3    = Griffin
  | troop_3    = Griffin
  | nmb_1      = 10–20  
  | nmb_1      = {{swh|300-999|10–20}}
  | nmb_2      = 4–7
  | nmb_2      = {{swh|44-777|4–7}}
  | nmb_3      = 2–3  
  | nmb_3      = {{swh|20-30|2–3}}
| nowar      =
  | chance_2  = 75%
  | chance_2  = 75%
| hota_nmb_1 = 300–999
  | s_mp      = 1560
| hota_nmb_2 = 44–777
| hota_nmb_3 = 20–30
| min_mp    = 1560
| max_mp    = 1560
| hota_mp    = 1560
  | s_mp      =
}}
}}


Line 274: Line 216:
  | skill_2    = Basic Armorer
  | skill_2    = Basic Armorer
  | troop_1    = Skeleton
  | troop_1    = Skeleton
| notroop_2  = 
  | troop_3    = Sandworm
  | troop_3    = Sandworm
  | nmb_1      = 78
  | nmb_1      = 78
Line 282: Line 223:
  | chance_3  = Always
  | chance_3  = Always
  | spell      = Shield
  | spell      = Shield
  | s_hota_mp =
  | s_mp      = 1234
| nowar      =
| no_hota_starting_troops =
  | notext    =
  | notext    =
}}
}}
Line 305: Line 244:
  | troop_1    = Skeleton Warrior
  | troop_1    = Skeleton Warrior
  | troop_2    = Ghost Dragon
  | troop_2    = Ghost Dragon
  | troop_3 = Olgoi-Khorkhoi
  | troop_3   = Olgoi-Khorkhoi
| troop_4    = Bellwether Armadillo
  | nmb_1      = 910
  | nmb_1      = 910
  | nmb_2      = 12
  | nmb_2      = 12
  | nmb_3      = 96
  | nmb_3      = 96
| nmb_4      = {{swh|20-30|30-40}}
  | chance_2  = Always
  | chance_2  = Always
  | chance_3  = Always
  | chance_3  = {{swh|Always|76%}}
  | spell      = Stone Skin
  | spell      = Stone Skin
  | s_hota_mp =
  | s_mp      = 1234
| nowar      =
| no_hota_starting_troops =
  | notext    =
  | notext    =
}}
}}
Line 350: Line 289:
  | chance_3  = Always
  | chance_3  = Always
  | warmachine = Ballista
  | warmachine = Ballista
  | nospell    =
  | s_mp      = 1560
| s_hota_mp  =
  | notext    =
| s_hota2_mp = 1560
  | no_hota_starting_troops =
}}
}}
{{Hero
{{Hero
Line 374: Line 311:
  | spell      = Lightning Bolt
  | spell      = Lightning Bolt
  | troop_1    = Centaur
  | troop_1    = Centaur
| notroop_2  =
  | troop_3    = Wood Elf
  | troop_3    = Wood Elf
  | nmb_1      = 12–24  
  | nmb_1      = 12–24  
  | nmb_3      = 3–6   
  | nmb_3      = 3–6   
  | warmachine = First Aid Tent
  | warmachine = First Aid Tent
  | s_hota_mp  =
  | s_mp      = 1700
| s_hota2_mp = 1700
| hota_same_troops = 1
| no_hota_starting_troops =
  | notext    =
  | notext    =
}}
}}
Line 405: Line 338:
  | nmb_1      = 10–20  
  | nmb_1      = 10–20  
  | nmb_2      = 4–7
  | nmb_2      = 4–7
  | nmb_3      = 2–3  
  | nmb_3      = 2–3
  | oneskill  =
  | s_mp      = 1560
| nospell    =
  | notext    =
| nowar      =
| s_hota_mp  =
| s_hota2_mp = 1560
  | hota_same_troops = 1
| no_hota_starting_troops =
}}
}}
{{Hero
{{Hero
Line 430: Line 358:
  | troop_2    = Harpy
  | troop_2    = Harpy
  | troop_3    = Beholder
  | troop_3    = Beholder
  | nmb_1      = 30–40
  | nmb_1      = {{swh|20-30|30–40}}
  | nmb_2      = 4–6
  | nmb_2      = {{swh|6-8|4–6}}
  | nmb_3      = 3–4
  | nmb_3      = 3–4
  | spell      = Magic Arrow
  | spell      = Magic Arrow
  | nowar      =  
  | s_mp      = 1560
  | hota_nmb_1 = 20-30
  | notext    =
| hota_nmb_2 = 6-8
| s_hota_mp  =
| s_hota2_mp = 1560
}}
}}
{{Hero
{{Hero
Line 462: Line 387:
  | nmb_1      = 12–24  
  | nmb_1      = 12–24  
  | nmb_2      = 3–5
  | nmb_2      = 3–5
  | nmb_3      = 3–6
  | nmb_3      = {{swh|2-4|3–6}}
| hota_nmb_3 = 2-4  
  | s_mp      = {{swh|1500|1500-1700}}
| nospell    =
  | notext    =
  | nowar      =
| min_mp    = 1500
| max_mp    = 1700
  | hota_mp    = 1500
| s_mp      =  
}}
}}


[[Category: Hero templates]]</noinclude>
[[Category: Hero templates]]</noinclude>

Latest revision as of 16:54, 8 December 2024


How to use[edit | hide | hide all]

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 =
 | s_mp       =
}}

Optional components[edit | hide]

  • classname: An override to the displayed class name
  • hpicture: set to "_(HotA)" if there is a hota version of the hero picture
  • hspec: set to "_(HotA)" if there is a hota version of the specialty image
  • flavor: The scenario name or version of the hero that appears in a different scenario.
  • atk: Custom primary skill stat (attack)
  • def: Custom primary skill stat (defense)
  • sp: Custom primary skill stat (spell power)
  • know: Custom primary skill stat (knowledge)
  • skill_#: Replace # with the skill number 1-8
    • skill_#+: Extra test to add to the skill row (e.g. for expansion symbols)
    • sk#only: Set to the expansion (e.g. sod/hota) that you want to ONLY show the row for
  • troop_#: Replace # with the troop number 1-8
    • troop_#_img: Display an alternate (e.g. HotA) image for this troop.
    • nmb_#: The number of creatures in this troop
    • chance_#: The chance that this troop appears in the hero's army
  • biography: If left out, removes the blank space created by an empty biography.
  • marginR: Used to set a different right margin (useful for showing different flavors of a hero).
  • level: Starting hero level

Other Options[edit | hide]

If for some reason certain parameters do not appear automatically, you can add the following rows:

 | picture       = 
 | specialty_pic = 
 | name          = 

HotA Movement Points[edit | hide]

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 Horn of the Abyss all heroes are guaranteed to start with a certain set of creatures, so their starting movement points are constant.

Examples[edit | hide]

Normal Case[edit | hide]

Adelaide the Cleric
Basic Information:
AdelaideAdelaide 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 RingSpecialty Frost Ring Casts Frost Ring with increased effect, based on hero level compared to the level of the target unit.
Level:
  Level  
Primary Skills:
Attack 1 Defense 0 Spell Power 2 Knowledge 2
Secondary Skills:
Wisdom Advanced Wisdom
[[File:{{{skill_2}}} _small.png link=]] {{{skill_2}}} [[]]
[[File:{{{skill_3}}} _small.png link=]] {{{skill_3}}} [[]]
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Pikeman Pikeman 300-999 Horn of the Abyss10–20 Shadow of Death Always
Archer Archer 44-777 Horn of the Abyss4–7 Shadow of Death 75%
Griffin Griffin 20-30 Horn of the Abyss2–3 Shadow of Death Always Horn of the Abyss25% Shadow of Death
[[File: Creature portrait {{{troop_4}}} small.gif|{{{troop_4}}}|link={{{troop_4}}}]] [[{{{troop_4}}}|{{{troop_4}}}]] Always
[[File: Creature portrait {{{troop_5}}} small.gif|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
Frost Ring Frost Ring
War Machine:
[[File: Creature portrait small.gif link=]] [[|]] Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1560

Blah Blah Blah

  • text 1
  • text 2
  • text 3

Flavor Case[edit | hide]

Boyd the Death Knight
(Dead or Alive)
Basic Information:
BoydBoyd Class: Death Knight
Gender: Male
Race: Human
All scary stories feature a horseman who had been hanged, stabbed or even beheaded and now rides by night, intending to exact revenge on his killers. Nonsense, a necromancer would say, a dead man risen by himself cannot have memory or will. It may well be so, but then Boyd has scores to settle not only with the traitor who slayed him, but also with the one who denied him rest in peace.
Specialty: Skeletons
Specialty SkeletonsSpecialty Skeletons Increases the speed of Skeletons or Skeleton Warriors by 1 and their Attack and Defense skills for each level attained after 1st level.
Level:
  Level  
Primary Skills:
Attack 1 Defense 2 Spell Power 2 Knowledge 1
Secondary Skills:
Necromancy Basic Necromancy
Armorer Basic Armorer
[[File:{{{skill_3}}} _small.png link=]] {{{skill_3}}} [[]]
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Skeleton Skeleton 78 Always
[[File: Creature portrait {{{troop_2}}} small.gif|{{{troop_2}}}|link={{{troop_2}}}]] [[{{{troop_2}}}|{{{troop_2}}}]] 9 Always
Sandworm Sandworm 9 Always
[[File: Creature portrait {{{troop_4}}} small.gif|{{{troop_4}}}|link={{{troop_4}}}]] [[{{{troop_4}}}|{{{troop_4}}}]] Always
[[File: Creature portrait {{{troop_5}}} small.gif|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
Shield Shield
War Machine:
[[File: Creature portrait small.gif link=]] [[|]] Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1234
Boyd the Death Knight
(Tomb Raiders)
Basic Information:
BoydBoyd Class: Death Knight
Gender: Male
Race: Human
'
Specialty: Liches
Specialty LichesSpecialty Liches Increases the speed of Liches or Power Liches by 1 and their Attack and Defense skills by 5% for every 5 levels (rounded up).
Level:
  Level  
Primary Skills:
Attack 20 Defense 21 Spell Power 22 Knowledge 23
Secondary Skills:
Fire Magic Advanced Fire Magic
Earth Magic Advanced Earth Magic
[[File:{{{skill_3}}} _small.png link=]] {{{skill_3}}} [[]]
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Skeleton Warrior Skeleton Warrior 910 Always
Ghost Dragon Ghost Dragon 12 Always
Olgoi-Khorkhoi Olgoi-Khorkhoi 96 Always Horn of the Abyss76% Shadow of Death
Bellwether Armadillo Bellwether Armadillo 20-30 Horn of the Abyss30-40 Shadow of Death Always
[[File: Creature portrait {{{troop_5}}} small.gif|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
Stone Skin Stone Skin
War Machine:
[[File: Creature portrait small.gif link=]] [[|]] Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1234

Advanced Case[edit | hide]

Sir Michael the Knight
Basic Information:
Sir MichaelSir Michael Class: Knight
Gender: Male
Race: Human
Christian was always more of a frontiersman than a Knight, having set foot in nearly every part of Enroth before finally settling into military service in Erathia. Though a wanderer and a bit of a dreamer, his battlefield tactics are feared throughout the world.
Specialty: Ballista
Specialty BallistaSpecialty Ballista Increases the Attack and Defense skills of any Ballista by 5% for every 5 levels (rounded up).
Level:
  Level 11  
Primary Skills:
Attack 2 Defense 2 Spell Power 1 Knowledge 1
Secondary Skills:
Leadership Expert Leadership
Luck Advanced Luck
Ballistics Advanced Ballistics
Artillery Expert Artillery
Offense Advanced Offense
Armorer Advanced Armorer
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Halberdier Halberdier 37 Always
Marksman Marksman 22 Always
Royal Griffin Royal Griffin 8 Always
Crusader Crusader 6 Always
Zealot Zealot 3 Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
[[File:.png link={{{spell}}}]] [[{{{spell}}}|{{{spell}}}]]
War Machine:
Ballista Ballista Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1560
Gem the Sorceress
Basic Information:
GemGem Class: Sorceress
Gender: Female
Race: Human
After her Deyjan raiders campaign, Gem agrees to help a wizard's anti-necromancy research by getting an Amulet of the Undertaker.
Specialty: First Aid
Specialty First AidSpecialty First Aid Receives a 5% per level bonus to First Aid skill.
Level:
  Level  
Primary Skills:
Attack 0 Defense 2 Spell Power 1 Knowledge 2
Secondary Skills:
First Aid Basic First Aid
Wisdom Basic Wisdom
[[File:{{{skill_3}}} _small.png link=]] {{{skill_3}}} [[]]
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Centaur Centaur 12–24 Always
[[File: Creature portrait {{{troop_2}}} small.gif|{{{troop_2}}}|link={{{troop_2}}}]] [[{{{troop_2}}}|{{{troop_2}}}]] Always Horn of the Abyss88% Shadow of Death
Wood Elf Wood Elf 3–6 Always Horn of the Abyss25% Shadow of Death
[[File: Creature portrait {{{troop_4}}} small.gif|{{{troop_4}}}|link={{{troop_4}}}]] [[{{{troop_4}}}|{{{troop_4}}}]] Always
[[File: Creature portrait {{{troop_5}}} small.gif|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
Lightning Bolt Lightning Bolt
War Machine:
First Aid Tent First Aid Tent Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1700

Content Switch image/specialty/skills[edit | hide]

Sir Mullich the Knight
Basic Information:
Sir MullichSir Mullich Class: Knight
Gender: Male
Race: Human
Generally stoic, Sir Mullich is prone to spasmodic fits of uncoordinated excitement believed to intimidate his troops into working faster.
Specialty: Speed
Specialty SpeedSpecialty Speed All creatures receive +2 Speed.
Level:
  Level  
Primary Skills:
Attack 2 Defense 2 Spell Power 1 Knowledge 1
Secondary Skills:
Leadership Advanced Leadership
[[File:{{{skill_2}}} _small.png link=]] {{{skill_2}}} [[]]
[[File:{{{skill_3}}} _small.png link=]] {{{skill_3}}} [[]]
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Pikeman Pikeman 10–20 Always
Archer Archer 4–7 Always Horn of the Abyss88% Shadow of Death
Griffin Griffin 2–3 Always Horn of the Abyss25% Shadow of Death
[[File: Creature portrait {{{troop_4}}} small.gif|{{{troop_4}}}|link={{{troop_4}}}]] [[{{{troop_4}}}|{{{troop_4}}}]] Always
[[File: Creature portrait {{{troop_5}}} small.gif|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
[[File:.png link={{{spell}}}]] [[{{{spell}}}|{{{spell}}}]]
War Machine:
[[File: Creature portrait small.gif link=]] [[|]] Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1560
Mutare the Overlord
Basic Information:
MutareMutare Class: Overlord
Gender: Female
Race: Human
With her uncanny talent for commanding dragons on the field of combat, many have noticed Mutare's quick rise among the current overlords of Nighon.
Specialty: Dragons
Specialty DragonsSpecialty Dragons All Dragons receive +5 Attack and +5 Defense.
Level:
  Level  
Primary Skills:
Attack 2 Defense 2 Spell Power 1 Knowledge 1
Secondary Skills:
Tactics Basic Tactics
Estates Basic Estates
[[File:{{{skill_3}}} _small.png link=]] {{{skill_3}}} [[]]
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Troglodyte Troglodyte 20-30 Horn of the Abyss30–40 Shadow of Death Always
Harpy Harpy 6-8 Horn of the Abyss4–6 Shadow of Death Always Horn of the Abyss88% Shadow of Death
Beholder Beholder 3–4 Always Horn of the Abyss25% Shadow of Death
[[File: Creature portrait {{{troop_4}}} small.gif|{{{troop_4}}}|link={{{troop_4}}}]] [[{{{troop_4}}}|{{{troop_4}}}]] Always
[[File: Creature portrait {{{troop_5}}} small.gif|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
Magic Arrow Magic Arrow
War Machine:
[[File: Creature portrait small.gif link=]] [[|]] Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1560
Clancy the Ranger
Basic Information:
ClancyClancy Class: Ranger
Gender: Male
Race: Dwarf
It was by pure accident that Clancy discovered he could communicate with Unicorns, but this unique ability has served him well as he worked his way through the ranks of AvLee's Military Elite.
Specialty: Unicorns
Specialty UnicornsSpecialty Unicorns Increases the speed of any Unicorns or War Unicorns by 1 and their Attack and Defense skills by 5% for every 6 levels (rounded up).
Level:
  Level  
Primary Skills:
Attack 1 Defense 3 Spell Power 1 Knowledge 1
Secondary Skills:
Resistance Basic Resistance Shadow of Death
Interference Basic Interference Horn of the Abyss
Pathfinding Basic Pathfinding
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
Centaur Centaur 12–24 Always
Dwarf Dwarf 3–5 Always Horn of the Abyss88% Shadow of Death
Wood Elf Wood Elf 2-4 Horn of the Abyss3–6 Shadow of Death Always Horn of the Abyss25% Shadow of Death
[[File: Creature portrait {{{troop_4}}} small.gif|{{{troop_4}}}|link={{{troop_4}}}]] [[{{{troop_4}}}|{{{troop_4}}}]] Always
[[File: Creature portrait {{{troop_5}}} small.gif|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File: Creature portrait {{{troop_6}}} small.gif|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File: Creature portrait {{{troop_7}}} small.gif|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
[[File:.png link={{{spell}}}]] [[{{{spell}}}|{{{spell}}}]]
War Machine:
[[File: Creature portrait small.gif link=]] [[|]] Always Horn of the Abyss88% Shadow of Death
Starting Movement Points:
1500 Horn of the Abyss1500-1700 Shadow of Death