Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
 
(120 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; margin-right: 15px; float:{{{float|left}}}"  
<includeonly>{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; color:darkolivegreen; border:1px solid; border-color:rgba(0,0,0,0); width:300px; margin-right: {{{marginR|20}}}px; float:{{{float|left}}}"  
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}} the {{{class|}}}
! 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 align=center bgcolor={{green 2}} | '''Basic information:'''
|-  
|-  
| rowspan=3 | [[File: Hero {{{picture|{{PAGENAME}}}}}.png|82px|{{{name|{{PAGENAME}}}}}]]
| rowspan=3 | {{swh|noicon=|[[File: Hero {{{picture|{{PAGENAME}}}}}{{{hpicture|}}}.png|{{{name|{{PAGENAME}}}}}]]|[[File: Hero {{{picture|{{PAGENAME}}}}}.png|{{{name|{{PAGENAME}}}}}]]}}
| style="padding-left:5px" width=10 | '''Class:'''  
| style="padding-left:5px"         | '''[[Hero class|Class:]]'''  
| style="padding-left:5px"          | [[{{{class|}}}]]
| style="padding-left:5px"          | [[{{{class|}}}{{#if:{{{classname|}}}|{{!}}{{{classname}}}}}]]
|-  
|-  
| style="padding-left:5px"          | '''Gender:'''  
| style="padding-left:5px"          | '''Gender:'''  
| style="padding-left:5px"          | {{{gender|}}}
| style="padding-left:5px"          | {{{gender|}}}
|-  
|-  
| style="padding-left:5px"          | '''Race:'''
| style="padding-left:5px"          | '''[[Hero race|Race:]]'''
| style="padding-left:5px"          | {{{race|}}}
| style="padding-left:5px"          | {{{race|}}}
|-
|- {{#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|}}}''
|-
|-
Line 21: Line 21:


{| cellpadding=0 cellspacing=0
{| cellpadding=0 cellspacing=0
| valign=top | [[File: Specialty {{{specialty_pic|{{{specialty|}}}}}}.png|Specialty {{{specialty|}}}|link=Hero specialty|50px]]
| valign=center | {{swh|noicon=|[[File: Specialty {{{specialty_pic|{{{specialty|}}}}}}{{{hspec|}}}.png|Specialty {{{specialty|}}}|link=Hero specialty]]|[[File: Specialty {{{specialty_pic|{{{specialty|}}}}}}.png|Specialty {{{specialty|}}}|link=Hero specialty]]}}
| valign=top style="border-left: 5px solid #{{Green 3}}; font-size:90%;" | {{{s_text|}}}
| valign=top style="border-left: 5px solid #{{Green 3}}; font-size:90%;" | {{{s_text|}}}
|}
|}
|- {{#if: {{{level|}}} |  | style="display: none;"}}
| colspan=3 align=center bgcolor={{green 2}} | '''Starting Level:'''
|- {{#if: {{{level|}}} |  | style="display: none;"}}
| colspan=3 align=center| {{Exp2|0=}} Level {{{level|}}} {{Exp2|0=}}


|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Starting secondary skill(s):'''
| colspan=3 align=center bgcolor={{green 2}} | '''Starting primary skills:'''
|-
|-
| colspan=3 |
| colspan=3 |


{| cellpadding=0 cellspacing=0
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}|50px]]
| style="width:34px;"| [[File: Attack small.png|Attack|link=Primary skill]]
| valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]
| style="width:37px; padding-left:12px;"| {{{atk|{{#switch: {{{class|}}}| Knight = 2 | Cleric = 1 | Ranger = 1 | Druid = 0 | Alchemist = 1 | Wizard = 0 | Demoniac = 2 | Heretic = 1 | Death Knight = 1 | Necromancer = 1 | Overlord = 2 | Warlock = 0 | Barbarian = 4 | Battle Mage = 2| Beastmaster = 0 | Witch = 0 | Planeswalker = 3 | Elementalist = 0 | Captain = 3 | Navigator = 2 | Artificer = 0 | Mercenary = 3 | Sorceress&nbsp;(Campaign) = 0 | }}}}}
| style="width:34px;"| [[File: Defense small.png|Defense|link=Primary skill]]
| style="width:37px; padding-left:12px;"| {{{def|{{#switch: {{{class|}}}| Knight = 2 | Cleric = 0 | Ranger = 3 | Druid = 2 | Alchemist = 1 | Wizard = 0 | Demoniac = 2 | Heretic = 1 | Death Knight = 2 | Necromancer = 0 | Overlord = 2 | Warlock = 0 | Barbarian = 0 | Battle Mage = 1| Beastmaster = 4 | Witch = 1 | Planeswalker = 1 | Elementalist = 0 | Captain = 0 | Navigator = 0 | Artificer = 1 | Mercenary = 1 | Sorceress&nbsp;(Campaign) = 2 | }}}}}
| style="width:34px;"| [[File: Power small.png|Spell Power|link=Primary skill]]
| style="width:37px; padding-left:12px;"| {{{sp|{{#switch: {{{class|}}}| Knight = 1 | Cleric = 2 | Ranger = 1 | Druid = 1 | Alchemist = 2 | Wizard = 2 | Demoniac = 1 | Heretic = 2 | Death Knight = 2 | Necromancer = 2 | Overlord = 1 | Warlock = 3 | Barbarian = 1 | Battle Mage = 1| Beastmaster = 1 | Witch = 2 | Planeswalker = 1 | Elementalist = 3 | Captain = 2 | Navigator = 1 | Artificer = 2 | Mercenary = 1 | Sorceress&nbsp;(Campaign) = 1 | }}}}}
| style="width:34px;"| [[File: Knowledge small.png|Knowledge|link=Primary skill]]
| style="width:37px; padding-left:12px;"| {{{know|{{#switch: {{{class|}}}| Knight = 1 | Cleric = 2 | Ranger = 1 | Druid = 2 | Alchemist = 2 | Wizard = 3 | Demoniac = 1 | Heretic = 1 | Death Knight = 1 | Necromancer = 2 | Overlord = 1 | Warlock = 2 | Barbarian = 1 | Battle Mage = 1| Beastmaster = 1 | Witch = 2 | Planeswalker = 1 | Elementalist = 3 | Captain = 1 | Navigator = 2 | Artificer = 2 | Mercenary = 1 | Sorceress&nbsp;(Campaign) = 2 | }}}}}
|}
|}


|-
|-
{{{oneskill|{{!}} colspan=3 {{!}}
| colspan=3 align=center bgcolor={{green 2}} | '''Starting secondary skill{{#if:{{{skill_2|}}}|s|}}:'''
 
|-
{{!T}} cellpadding=0 cellspacing=0
| colspan=3 | {{Ss3|{{#explode:{{{skill_1}}}| |1|2}}|{{#explode:{{{skill_1}}}| |0}}}}{{{skill_1+|}}}
{{!}} [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2|}}}|50px]]
|- {{#if: {{{skill_2|}}} |  | style="display: none;"}}
{{!}} valign=middle colspan=2 {{!}}{{-}}[[{{{skill_2|}}}]]
| colspan=3 | {{Ss3|{{#explode:{{{skill_2}}}| |1|2}}|{{#explode:{{{skill_2}}}| |0}}}}{{{skill_2+|}}}
{{T!}} }}}
|- {{#if: {{{skill_3|}}} |  | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_3}}}| |1|2}}|{{#explode:{{{skill_3}}}| |0}}}}{{{skill_3+|}}}
|- {{#if: {{{skill_4|}}} |  | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_4}}}| |1|2}}|{{#explode:{{{skill_4}}}| |0}}}}
|- {{#if: {{{skill_5|}}} |  | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_5}}}| |1|2}}|{{#explode:{{{skill_5}}}| |0}}}}
|- {{#if: {{{skill_6|}}} | | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_6}}}| |1|2}}|{{#explode:{{{skill_6}}}| |0}}}}
|- {{#if: {{{skill_7|}}} |  | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_7}}}| |1|2}}|{{#explode:{{{skill_7}}}| |0}}}}
|- {{#if: {{{skill_8|}}} |  | style="display: none;"}}
| colspan=3 | {{Ss3|{{#explode:{{{skill_8}}}| |1|2}}|{{#explode:{{{skill_8}}}| |0}}}}


|-
|-
Line 47: Line 69:
|-
|-
| 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}}}}}
| {{Cn|{{{troop_1}}}|image={{{troop_1_img|{{{troop_1}}}}}}}}
| style="padding-left:5px" | {{{nmb_1|}}}
| style="padding-left:5px" | {{{nmb_1|}}}
| style="padding-left:5px" | Always  
| style="padding-left:5px" | {{{chance_1|Always}}}
|-
|- {{#if: {{{troop_2|}}} |  | style="display: none;"}}
| {{{notroop_2|{{Cn|{{{troop_2}}}}}
| {{Cn|{{{troop_2}}}|image={{{troop_2_img|{{{troop_2}}}}}}}}
{{!}} style="padding-left:5px; padding-right:5px" {{!}} {{{nmb_2|}}}
| style="padding-left:5px" | {{{nmb_2|}}}
{{!}} style="padding-left:5px" {{!}} 3/4
| style="padding-left:5px" | {{{chance_2|88%}}}{{#if:{{{hota_same_troops|}}}|{{showwithhota|{{-}}''(Always{{-wh}})''}}|}}
{{!-}}  
|- {{#if: {{{troop_3|}}} |  | style="display: none;"}}
{{!}} }}}{{Cn|{{{troop_3}}}}}
| {{Cn|{{{troop_3}}}|image={{{troop_3_img|{{{troop_3}}}}}}}}
| style="padding-left:5px" | {{{nmb_3|}}}
| style="padding-left:5px" | {{{nmb_3|}}}
| style="padding-left:5px" | 1/4
| style="padding-left:5px" | {{{chance_3|25%}}}{{#if:{{{hota_same_troops|}}}|{{showwithhota|{{-}}''(Always{{-wh}})''}}|}}
|- {{#if: {{{troop_4|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_4}}}|image={{{troop_4_img|{{{troop_4}}}}}}}}
| style="padding-left:5px" | {{{nmb_4|}}}
| style="padding-left:5px" | {{{chance_4|Always}}}
|- {{#if: {{{troop_5|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_5}}}|image={{{troop_5_img|{{{troop_5}}}}}}}}
| style="padding-left:5px" | {{{nmb_5|}}}
| style="padding-left:5px" | {{{chance_5|Always}}}
|- {{#if: {{{troop_6|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_6}}}|image={{{troop_6_img|{{{troop_6}}}}}}}}
| style="padding-left:5px" | {{{nmb_6|}}}
| style="padding-left:5px" | {{{chance_6|Always}}}
|- {{#if: {{{troop_7|}}} |  | style="display: none;"}}
| {{Cn|{{{troop_7}}}|image={{{troop_7_img|{{{troop_7}}}}}}}}
| style="padding-left:5px" | {{{nmb_7|}}}
| style="padding-left:5px" | {{{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;"
{{!}} {{Cn|{{{hota_troop_1|{{{troop_1}}}}}}}}
{{!}} style="padding-left:5px; {{#if:{{{hota_nmb_1|}}}|font-weight:bold;|}}" {{!}} {{{hota_nmb_1|{{{nmb_1|}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_1|Always}}}
{{!-}} class='onlyhota'
{{!}} {{{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:'''}}}
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}}
|-
|-
{{{nospell|{{!}} [[File:{{{spell|}}}.png|82px|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]}}}
{{{nospell|{{!}} [[File:{{{spell|}}}.png|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]}}}
{{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}}
{{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}}
|-
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nowar|'''Starts with:'''}}}
| colspan=3 align=center bgcolor={{green 2}} | {{{nowar|'''Starts with:'''}}}
|-
|-
{{{nowar|{{!}} [[File:{{{warmachine|}}}.png|50px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}}
{{{nowar|{{!}} [[File:Creature portrait {{{warmachine|}}} small.gif|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}}
{{{nowar|{{!}} colspan=2 {{!}} [[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}}
{{{nowar|{{!}} <center>[[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}}
|}{{{notext|'''{{{name|{{PAGENAME}}}}}''' the [[{{{class}}}]] is a [[List of heroes|hero]] from [[{{{town}}}]]. {{{nospell|{{{name|{{PAGENAME}}}}} starts with a [[spell book]] and the spell [[{{{spell|}}}]].}}} }}}</includeonly><noinclude>
{{{nowar|{{!}} <center>{{{hota_wm|88%<br />{{showwithhota|''(Always{{-wh}})''}}}}}}}}
|-
 
{{{s_hota_mp|
{{!-}}
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting [[Movement|movement points]]:'''
{{!-}}
{{!}} colspan=3 {{!}}
 
{{{!}} 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 align=center bgcolor={{green 2}} {{!}} '''Starting [[Movement|movement points]]:'''
{{!-}}
{{!}} colspan=3 {{!}}
 
{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
{{!}} 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 89: Line 173:
  | spell      =
  | spell      =
  | warmachine =
  | warmachine =
| min_mp    =
| max_mp    =
| hota_mp    =
| s_mp      =
}}</pre>
}}</pre>
|}
|}


If the hero does not have a starting spell or [[war machine]] then the following parameters should be defined without any value:
=== 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>
| <pre> | s_hota_mp = </pre>
| nospell    =
| nowar      =</pre>
|}
|}


If for some reason pictures of ''hero'' or ''specialty'' does not appear automatically, you can add the following rows:
=== Optional components ===
* '''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
* '''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 ===
If for some reason certain parameters do not appear automatically, you can add the following rows:
{|
{|
|<pre> | picture      =  
|<pre> | picture      =  
  | specialty_pic = </pre>
  | specialty_pic =  
|}
| name          = </pre>
 
Also, the following lines are available:
{|
|<pre> | name          = </pre>
|}
|}


{|  style="width:100%"
== Examples ==
| This is an example what the page will look like.
=== Normal Case ===
|-
{{Hero
| style="border: 1px solid" | {{Hero
  | name      = Adelaide
  | name      = Adelaide
  | picture    = Adelaide
  | picture    = Adelaide
Line 124: Line 232:
  | s_text    = Casts [[Frost Ring]] with increased effect, based on hero level compared to the level of the target unit.
  | s_text    = Casts [[Frost Ring]] with increased effect, based on hero level compared to the level of the target unit.
  | skill_1    = Advanced Wisdom
  | skill_1    = Advanced Wisdom
| oneskill  =
  | spell      = Frost Ring
  | spell      = Frost Ring
| troop_1    = Pikeman
| troop_1_img= Pikeman (HotA)
| troop_2    = Archer
| troop_3    = Griffin
| nmb_1      = 10–20
| nmb_2      = 4–7
| nmb_3      = 2–3 
| nowar      =
| chance_2  = 75%
| hota_nmb_1 = 300–999
| hota_nmb_2 = 44–777
| hota_nmb_3 = 20–30
| min_mp    = 1560
| max_mp    = 1560
| hota_mp    = 1560
| s_mp      =
}}
'''Blah Blah Blah'''
* text 1
* text 2
* text 3
{{clear|left}}
=== Flavor Case ===
{{Hero
| name      = Boyd
| picture    = Boyd
| flavor    = {{link|#{{Green 3}}|Dead or Alive}}
| town      = Factory
| class      = Death Knight
| gender    = Male
| race      = Human
| biography  = 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
| s_text    = Increases the [[speed]] of [[Skeleton and Skeleton Warrior|Skeletons or Skeleton Warriors]] by 1 and their [[Attack]] and [[Defense]] skills for each level attained after 1st level.
| skill_1    = Basic Necromancy
| skill_2    = Basic Armorer
| troop_1    = Skeleton
| notroop_2  = 
| troop_3    = Sandworm
| nmb_1      = 78
| nmb_2      = 9
| nmb_3      = 9
| chance_2  = Always
| chance_3  = Always
| spell      = Shield
| s_hota_mp =
| nowar      =
| no_hota_starting_troops =
| notext    =
}}
{{Hero
| name      = Boyd
| picture    = Boyd
| flavor    = {{link|#{{Green 3}}|Tomb Raiders}}
| town      = Necropolis
| class      = Death Knight
| gender    = Male
| race      = Human
| specialty  = Liches
| s_text    = Increases the [[speed]] of [[Lich and Power Lich|Liches or Power Liches]] by 1 and their [[Attack]] and [[Defense]] skills by 5% for every 5 levels (rounded up).
| atk        = 20
| def        = 21
| sp        = 22
| know      = 23
| skill_1    = Advanced Fire Magic
| skill_2    = Advanced Earth Magic
| troop_1    = Skeleton Warrior
| troop_2    = Ghost Dragon
| troop_3  =  Olgoi-Khorkhoi
| nmb_1      = 910
| nmb_2      = 12
| nmb_3      = 96
| chance_2  = Always
| chance_3  = Always
| spell      = Stone Skin
| s_hota_mp =
| nowar      =
| no_hota_starting_troops =
| notext    =
}}
{{clear|left}}
=== Advanced Case ===
{{Hero
| name      = Sir Michael
| picture    = Christian
| town      = Castle
| class      = Knight
| gender    = Male
| race      = Human
| biography  = Christian was always more of a frontiersman than a Knight, having set foot in nearly every part of [[Enroth (planet)|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
| s_text    = Increases the Attack and Defense skills of any Ballista by 5% for every 5 levels (rounded up).
| level      = 11
| skill_1    = Expert Leadership
| skill_2    = Advanced Luck
| skill_3    = Advanced Ballistics
| skill_4    = Expert Artillery
| skill_5    = Advanced Offense
| skill_6    = Advanced Armorer
| troop_1    = Halberdier
| troop_2    = Marksman
| troop_3    = Royal Griffin
| troop_4    = Crusader
| troop_5    = Zealot
| nmb_1      = 37
| nmb_2      = 22
| nmb_3      = 8
| nmb_4      = 6
| nmb_5      = 3
| chance_2  = Always
| chance_3  = Always
| warmachine = Ballista
| nospell    =
| s_hota_mp  =
| s_hota2_mp = 1560
| no_hota_starting_troops =
}}
{{Hero
| town      = Rampart
| name      = Gem
| class      = Sorceress{{-}}(Campaign){{-}}
| classname  = Sorceress
| gender    = Female
| picture    = Gem Sorceress
| race      = Human
| biography  = After her [[Deyja]]n raiders campaign, Gem agrees to help a wizard's anti-necromancy research by getting an [[Amulet of the Undertaker]].
| specialty  = First Aid
| s_text    = Receives a 5% per level bonus to [[First Aid]] skill.
| atk        = 0
| def        = 2
| sp        = 1
| know      = 2
| skill_1    = Basic First Aid
| skill_2    = Basic Wisdom
| spell      = Lightning Bolt
| troop_1    = Centaur
| notroop_2  =
| troop_3    = Wood Elf
| nmb_1      = 12–24
| nmb_3      = 3–6 
| warmachine = First Aid Tent
| s_hota_mp  =
| s_hota2_mp = 1700
| hota_same_troops = 1
| no_hota_starting_troops =
| notext    =
}}
{{clear|left}}
=== Content Switch image/specialty ===
{{Hero
| name      = Sir Mullich
| picture    = Sir Mullich
| hpicture  = _(HotA)
| town      = Castle
| class      = Knight
| gender    = Male
| race      = Human
| biography  = Generally stoic, Sir Mullich is prone to spasmodic fits of uncoordinated excitement believed to intimidate his troops into working faster.
| specialty  = Speed
| s_text    = All creatures receive +2 [[Speed]].
| skill_1    = Advanced Leadership
  | troop_1    = Pikeman
  | troop_1    = Pikeman
  | troop_2    = Archer
  | troop_2    = Archer
Line 132: Line 404:
  | nmb_2      = 4–7
  | nmb_2      = 4–7
  | nmb_3      = 2–3   
  | nmb_3      = 2–3   
| oneskill  =
| nospell    =
| nowar      =
| s_hota_mp  =
| s_hota2_mp = 1560
| hota_same_troops = 1
| no_hota_starting_troops =
}}
{{Hero
| name      = Mutare
| picture    = Mutare
| town      = Dungeon
| class      = Overlord
| gender    = Female
| race      = Human
| biography  = 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
| hspec      = _(HotA)
| s_text    = All [[Dragon]]s receive +5 [[Attack]] and +5 [[Defense]].
| skill_1    = Basic Tactics
| skill_2    = Basic Estates
| troop_1    = Troglodyte
| troop_2    = Harpy
| troop_3    = Beholder
| nmb_1      = 30–40
| nmb_2      = 4–6
| nmb_3      = 3–4
| spell      = Magic Arrow
  | nowar      =  
  | nowar      =  
| hota_nmb_1 = 20-30
| hota_nmb_2 = 6-8
| s_hota_mp  =
| s_hota2_mp = 1560
}}
}}
|}


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

Latest revision as of 22:33, 31 October 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 =
 | min_mp     =
 | max_mp     =
 | hota_mp    =
 | s_mp       =
}}

Hide components[edit | hide]

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[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. For all heroes that were introduced in HotA Horn of the Abyss parameter s_mp must be replaced with s_hota_mp with defined value.

 | s_hota_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
  • 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          = 

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.
Starting Level:
  Level  
Starting primary skills:
Attack 1 Defense 0 Spell Power 2 Knowledge 2
Starting secondary skill:
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}}} [[]]
Starting troops:
Pikeman Pikeman 10–20 Always
Archer Archer 4–7 75%
Griffin Griffin 2–3 25%
[[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
Starting troops Horn of the Abyss:
Pikeman Pikeman 300–999 Always
Archer Archer 44–777 Always
Griffin Griffin 20–30 Always
Starting spell:
Frost Ring Frost Ring
Starting movement points:
Minimum Maximum HotA Horn of the Abyss
1560 1560 1560

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

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.
Starting Level:
  Level  
Starting primary skills:
Attack 1 Defense 2 Spell Power 2 Knowledge 1
Starting 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}}} [[]]
Starting 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
Starting spell:
Shield Shield
Starting movement points:
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).
Starting Level:
  Level  
Starting primary skills:
Attack 20 Defense 21 Spell Power 22 Knowledge 23
Starting 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}}} [[]]
Starting troops:
Skeleton Warrior Skeleton Warrior 910 Always
Ghost Dragon Ghost Dragon 12 Always
Olgoi-Khorkhoi Olgoi-Khorkhoi 96 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
Starting spell:
Stone Skin Stone Skin
Starting movement points:

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).
Starting Level:
  Level 11  
Starting primary skills:
Attack 2 Defense 2 Spell Power 1 Knowledge 1
Starting 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}}} [[]]
Starting 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
Starts with:
Ballista
Ballista
88%
(Always Horn of the Abyss)
Starting movement points:
1560

Sir Michael the Knight is a Castle hero.

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.
Starting Level:
  Level  
Starting primary skills:
Attack 0 Defense 2 Spell Power 1 Knowledge 2
Starting 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}}} [[]]
Starting troops:
Centaur Centaur 12–24 Always
[[File: Creature portrait {{{troop_2}}} small.gif|{{{troop_2}}}|link={{{troop_2}}}]] [[{{{troop_2}}}|{{{troop_2}}}]] 88% (Always Horn of the Abyss)
Wood Elf Wood Elf 3–6 25% (Always Horn of the Abyss)
[[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
Starting spell:
Lightning Bolt Lightning Bolt
Starts with:
First Aid Tent
First Aid Tent
88%
(Always Horn of the Abyss)
Starting movement points:
1700

Content Switch image/specialty[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.
Starting Level:
  Level  
Starting primary skills:
Attack 2 Defense 2 Spell Power 1 Knowledge 1
Starting secondary skill:
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}}} [[]]
Starting troops:
Pikeman Pikeman 10–20 Always
Archer Archer 4–7 88% (Always Horn of the Abyss)
Griffin Griffin 2–3 25% (Always Horn of the Abyss)
[[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
Starting movement points:
1560

Sir Mullich the Knight is a Castle hero.

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.
Starting Level:
  Level  
Starting primary skills:
Attack 2 Defense 2 Spell Power 1 Knowledge 1
Starting 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}}} [[]]
Starting troops:
Troglodyte Troglodyte 30–40 Always
Harpy Harpy 4–6 88%
Beholder Beholder 3–4 25%
[[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
Starting troops Horn of the Abyss:
Troglodyte Troglodyte 20-30 Always
Harpy Harpy 6-8 Always
Beholder Beholder 3–4 Always
Starting spell:
Magic Arrow Magic Arrow
Starting movement points:
1560

Mutare the Overlord is a Dungeon hero. Mutare starts with a spell book and the spell Magic Arrow.