Template:Hero: Difference between revisions
mNo edit summary |
|||
(27 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<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: | <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:#{{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 align=center bgcolor={{green 2}} | '''Basic information:''' | ||
|- | |- | ||
| rowspan=3 | [[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}}}}}]]}} | ||
| style="padding-left:5px" | '''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= | | 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=}} | |||
|- | |- | ||
Line 44: | Line 49: | ||
| colspan=3 align=center bgcolor={{green 2}} | '''Starting secondary skill{{#if:{{{skill_2|}}}|s|}}:''' | | colspan=3 align=center bgcolor={{green 2}} | '''Starting secondary skill{{#if:{{{skill_2|}}}|s|}}:''' | ||
|- | |- | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_1}}}| |1|2}}|{{#explode:{{{skill_1}}}| |0}}}}{{{skill_1+|}}} | ||
|- {{#if: {{{skill_2|}}} | | style="display: none;"}} | |- {{#if: {{{skill_2|}}} | | style="display: none;"}} | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_2}}}| |1|2}}|{{#explode:{{{skill_2}}}| |0}}}}{{{skill_2+|}}} | ||
|- {{#if: {{{skill_3|}}} | | style="display: none;"}} | |- {{#if: {{{skill_3|}}} | | style="display: none;"}} | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_3}}}| |1|2}}|{{#explode:{{{skill_3}}}| |0}}}}{{{skill_3+|}}} | ||
|- {{#if: {{{skill_4|}}} | | style="display: none;"}} | |- {{#if: {{{skill_4|}}} | | style="display: none;"}} | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_4}}}| |1|2}}|{{#explode:{{{skill_4}}}| |0}}}} | ||
|- {{#if: {{{skill_5|}}} | | style="display: none;"}} | |- {{#if: {{{skill_5|}}} | | style="display: none;"}} | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_5}}}| |1|2}}|{{#explode:{{{skill_5}}}| |0}}}} | ||
|- {{#if: {{{skill_6|}}} | | style="display: none;"}} | |- {{#if: {{{skill_6|}}} | | style="display: none;"}} | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_6}}}| |1|2}}|{{#explode:{{{skill_6}}}| |0}}}} | ||
|- {{#if: {{{skill_7|}}} | | style="display: none;"}} | |- {{#if: {{{skill_7|}}} | | style="display: none;"}} | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_7}}}| |1|2}}|{{#explode:{{{skill_7}}}| |0}}}} | ||
|- {{#if: {{{skill_8|}}} | | style="display: none;"}} | |- {{#if: {{{skill_8|}}} | | style="display: none;"}} | ||
| colspan=3 | {{ | | colspan=3 | {{Ss3|{{#explode:{{{skill_8}}}| |1|2}}|{{#explode:{{{skill_8}}}| |0}}}} | ||
|- | |- | ||
Line 66: | Line 71: | ||
{| 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" | {{{chance_1|Always}}} | | style="padding-left:5px" | {{{chance_1|Always}}} | ||
|- {{#if: {{{troop_2|}}} | | style="display: none;"}} | |- {{#if: {{{troop_2|}}} | | style="display: none;"}} | ||
| {{Cn|{{{troop_2}}}}} | | {{Cn|{{{troop_2}}}|image={{{troop_2_img|{{{troop_2}}}}}}}} | ||
| style="padding-left:5px" | {{{nmb_2|}}} | | style="padding-left:5px" | {{{nmb_2|}}} | ||
| style="padding-left:5px" | {{{chance_2|88%}}}{{#if:{{{hota_same_troops|}}}|{{-}}''(Always{{-wh}})''|}} | | style="padding-left:5px" | {{{chance_2|88%}}}{{#if:{{{hota_same_troops|}}}|{{showwithhota|{{-}}''(Always{{-wh}})''}}|}} | ||
|- {{#if: {{{troop_3|}}} | | style="display: none;"}} | |- {{#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" | {{{chance_3|25%}}}{{#if:{{{hota_same_troops|}}}|{{-}}''(Always{{-wh}})''|}} | | style="padding-left:5px" | {{{chance_3|25%}}}{{#if:{{{hota_same_troops|}}}|{{showwithhota|{{-}}''(Always{{-wh}})''}}|}} | ||
|- {{#if: {{{troop_4|}}} | | style="display: none;"}} | |- {{#if: {{{troop_4|}}} | | style="display: none;"}} | ||
| {{Cn|{{{troop_4}}}}} | | {{Cn|{{{troop_4}}}|image={{{troop_4_img|{{{troop_4}}}}}}}} | ||
| style="padding-left:5px" | {{{nmb_4|}}} | | style="padding-left:5px" | {{{nmb_4|}}} | ||
| style="padding-left:5px" | {{{chance_4|Always}}} | | style="padding-left:5px" | {{{chance_4|Always}}} | ||
|- {{#if: {{{troop_5|}}} | | style="display: none;"}} | |- {{#if: {{{troop_5|}}} | | style="display: none;"}} | ||
| {{Cn|{{{troop_5}}}}} | | {{Cn|{{{troop_5}}}|image={{{troop_5_img|{{{troop_5}}}}}}}} | ||
| style="padding-left:5px" | {{{nmb_5|}}} | | style="padding-left:5px" | {{{nmb_5|}}} | ||
| style="padding-left:5px" | {{{chance_5|Always}}} | | style="padding-left:5px" | {{{chance_5|Always}}} | ||
|- {{#if: {{{troop_6|}}} | | style="display: none;"}} | |- {{#if: {{{troop_6|}}} | | style="display: none;"}} | ||
| {{Cn|{{{troop_6}}}}} | | {{Cn|{{{troop_6}}}|image={{{troop_6_img|{{{troop_6}}}}}}}} | ||
| style="padding-left:5px" | {{{nmb_6|}}} | | style="padding-left:5px" | {{{nmb_6|}}} | ||
| style="padding-left:5px" | {{{chance_6|Always}}} | | style="padding-left:5px" | {{{chance_6|Always}}} | ||
|- {{#if: {{{troop_7|}}} | | style="display: none;"}} | |- {{#if: {{{troop_7|}}} | | style="display: none;"}} | ||
| {{Cn|{{{troop_7}}}}} | | {{Cn|{{{troop_7}}}|image={{{troop_7_img|{{{troop_7}}}}}}}} | ||
| style="padding-left:5px" | {{{nmb_7|}}} | | style="padding-left:5px" | {{{nmb_7|}}} | ||
| style="padding-left:5px" | {{{chance_7|Always}}} | | style="padding-left:5px" | {{{chance_7|Always}}} | ||
|} | |} | ||
{{{no_hota_starting_troops| | {{{no_hota_starting_troops| | ||
{{!-}} | {{!-}} class='onlyhota' | ||
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting troops {{withhota}}:''' | {{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting troops {{withhota}}:''' | ||
{{!-}} | {{!-}} class='onlyhota' | ||
{{!}} colspan=3 {{!}} | {{!}} colspan=3 {{!}} | ||
Line 104: | Line 109: | ||
{{!}} style="padding-left:5px; {{#if:{{{hota_nmb_1|}}}|font-weight:bold;|}}" {{!}} {{{hota_nmb_1|{{{nmb_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}}} | {{!}} style="padding-left:5px" {{!}} {{{hota_chance_1|Always}}} | ||
{{!-}} | {{!-}} class='onlyhota' | ||
{{!}} {{{hota_notroop_2|{{{notroop_2|{{Cn|{{{hota_troop_2|{{{troop_2}}}}}}}} | {{!}} {{{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; padding-right:5px; {{#if:{{{hota_nmb_2|}}}|font-weight:bold;|}}" {{!}} {{{hota_nmb_2|{{{nmb_2|}}}}}} | ||
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_2|Always}}} | {{!}} style="padding-left:5px" {{!}} {{{hota_chance_2|Always}}} | ||
{{!-}} | {{!-}} class='onlyhota' | ||
{{!}} }}}}}}{{Cn|{{{hota_troop_3|{{{troop_3}}}}}}}} | {{!}} }}}}}}{{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; {{#if:{{{hota_nmb_3|}}}|font-weight:bold;|}}" {{!}} {{{hota_nmb_3|{{{nmb_3|}}}}}} | ||
Line 121: | Line 126: | ||
| colspan=3 align=center bgcolor={{green 2}} | {{{nowar|'''Starts with:'''}}} | | colspan=3 align=center bgcolor={{green 2}} | {{{nowar|'''Starts with:'''}}} | ||
|- | |- | ||
{{{nowar|{{!}} [[File:{{{warmachine|}}}. | {{{nowar|{{!}} [[File:Creature portrait {{{warmachine|}}} small.gif|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}} | ||
{{{nowar|{{!}} <center>[[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}} | {{{nowar|{{!}} <center>[[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}} | ||
{{{nowar|{{!}} <center>{{{hota_wm|88%<br />''(Always{{-wh}})''}}}}}} | {{{nowar|{{!}} <center>{{{hota_wm|88%<br />{{showwithhota|''(Always{{-wh}})''}}}}}}}} | ||
|- | |- | ||
Line 135: | Line 140: | ||
{{!}} align=center width=89 {{!}} {{{s_min|Minimum}}} | {{!}} align=center width=89 {{!}} {{{s_min|Minimum}}} | ||
{{!}} align=center width=85 {{!}} {{{s_max|Maximum}}} | {{!}} align=center width=85 {{!}} {{{s_max|Maximum}}} | ||
{{!}} align=center width=89 {{!}} {{{s_hota|HotA}}} {{withhota}} | {{!}} class='onlyhota' align=center width=89 {{!}} {{{s_hota|HotA}}} {{withhota}} | ||
{{!-}} | {{!-}} | ||
{{!}} align=center width=89 {{!}} {{{min_mp|}}} | {{!}} align=center width=89 {{!}} {{{min_mp|}}} | ||
{{!}} align=center width=85 {{!}} {{{max_mp|}}} | {{!}} align=center width=85 {{!}} {{{max_mp|}}} | ||
{{!}} align=center width=89 {{!}} {{{hota_mp|}}} | {{!}} class='onlyhota' align=center width=89 {{!}} {{{hota_mp|}}} | ||
{{!}}} }}} | {{!}}} }}} | ||
|- | |- | ||
Line 180: | Line 185: | ||
* '''nowar''': No War Machine | * '''nowar''': No War Machine | ||
* '''notext''': No Intro text to the right (useful for showing different flavors of a hero). | * '''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 === | === HotA Movement Points === | ||
Line 188: | Line 194: | ||
=== Optional components === | === 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. | * '''flavor''': The scenario name or version of the hero that appears in a different scenario. | ||
* '''atk''': Custom primary skill stat (attack) | * '''atk''': Custom primary skill stat (attack) | ||
Line 195: | Line 204: | ||
* '''skill_#''': Replace # with the skill number 1-8 | * '''skill_#''': Replace # with the skill number 1-8 | ||
* '''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. | |||
** '''nmb_#''': The number of creatures in this troop | ** '''nmb_#''': The number of creatures in this troop | ||
** '''chance_#''': The chance that this troop appears in the hero's army | ** '''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 === | === Other Options === | ||
Line 206: | Line 219: | ||
|} | |} | ||
== | == Examples == | ||
=== Normal Case === | === Normal Case === | ||
{{Hero | {{Hero | ||
Line 221: | Line 234: | ||
| spell = Frost Ring | | spell = Frost Ring | ||
| troop_1 = Pikeman | | troop_1 = Pikeman | ||
| troop_1_img= Pikeman (HotA) | |||
| troop_2 = Archer | | troop_2 = Archer | ||
| troop_3 = Griffin | | troop_3 = Griffin | ||
Line 279: | Line 293: | ||
| gender = Male | | gender = Male | ||
| race = Human | | race = Human | ||
| specialty = Liches | | 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). | | 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). | ||
Line 312: | Line 325: | ||
| gender = Male | | gender = Male | ||
| race = Human | | race = Human | ||
| biography = 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. | | 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 | | specialty = Ballista | ||
| s_text = Increases the Attack and Defense skills of any Ballista by 5% for every 5 levels (rounded up). | | 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_1 = Expert Leadership | ||
| skill_2 = Advanced Luck | | skill_2 = Advanced Luck | ||
Line 338: | Line 352: | ||
| s_hota2_mp = 1560 | | s_hota2_mp = 1560 | ||
| no_hota_starting_troops = | | 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_2 = Archer | |||
| troop_3 = Griffin | |||
| nmb_1 = 10–20 | |||
| nmb_2 = 4–7 | |||
| 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 = | |||
| hota_nmb_1 = 20-30 | |||
| hota_nmb_2 = 6-8 | |||
| s_hota_mp = | |||
| s_hota2_mp = 1560 | |||
}} | }} | ||
[[Category: Hero templates]]</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 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 = |
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: | |||||||||||
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 | |||||||||||
| |||||||||||
Starting primary skills: | |||||||||||
| |||||||||||
Starting secondary skill: | |||||||||||
Advanced Wisdom | |||||||||||
Starting troops: | |||||||||||
| |||||||||||
Starting troops : | |||||||||||
| |||||||||||
Starting spell: | |||||||||||
Frost Ring | |||||||||||
Starting movement points: | |||||||||||
|
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: | ||||||||||
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 | ||||||||||
| ||||||||||
Starting primary skills: | ||||||||||
| ||||||||||
Starting secondary skills: | ||||||||||
Basic Necromancy | ||||||||||
Basic Armorer | ||||||||||
Starting troops: | ||||||||||
| ||||||||||
Starting spell: | ||||||||||
Shield | ||||||||||
Starting movement points: | ||||||||||
|
Boyd the Death Knight (Tomb Raiders) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Basic information: | |||||||||||
Class: | Death Knight | ||||||||||
Gender: | Male | ||||||||||
Race: | Human | ||||||||||
Specialty: Liches | |||||||||||
| |||||||||||
Starting primary skills: | |||||||||||
| |||||||||||
Starting secondary skills: | |||||||||||
Advanced Fire Magic | |||||||||||
Advanced Earth Magic | |||||||||||
Starting troops: | |||||||||||
| |||||||||||
Starting spell: | |||||||||||
Stone Skin | |||||||||||
Starting movement points: | |||||||||||
|
Advanced Case[edit | hide]
Sir Michael the Knight | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic information: | |||||||||||||||||
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 | |||||||||||||||||
| |||||||||||||||||
Starting Level: | |||||||||||||||||
Level 11 | |||||||||||||||||
Starting primary skills: | |||||||||||||||||
| |||||||||||||||||
Starting secondary skills: | |||||||||||||||||
Expert Leadership | |||||||||||||||||
Advanced Luck | |||||||||||||||||
Advanced Ballistics | |||||||||||||||||
Expert Artillery | |||||||||||||||||
Advanced Offense | |||||||||||||||||
Advanced Armorer | |||||||||||||||||
Starting troops: | |||||||||||||||||
| |||||||||||||||||
Starts with: | |||||||||||||||||
(Always ) | |||||||||||||||||
Starting movement points: | |||||||||||||||||
|
Sir Michael the Knight is a Castle hero.
Gem the Sorceress | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Basic information: | ||||||||||
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 | ||||||||||
| ||||||||||
Starting primary skills: | ||||||||||
| ||||||||||
Starting secondary skills: | ||||||||||
Basic First Aid | ||||||||||
Basic Wisdom | ||||||||||
Starting troops: | ||||||||||
| ||||||||||
Starting spell: | ||||||||||
Lightning Bolt | ||||||||||
Starts with: | ||||||||||
(Always ) | ||||||||||
Starting movement points: | ||||||||||
|
Content Switch image/specialty[edit | hide]
Sir Mullich the Knight | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Basic information: | |||||||||||
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 | |||||||||||
| |||||||||||
Starting primary skills: | |||||||||||
| |||||||||||
Starting secondary skill: | |||||||||||
Advanced Leadership | |||||||||||
Starting troops: | |||||||||||
| |||||||||||
Starting movement points: | |||||||||||
|
Sir Mullich the Knight is a Castle hero.
Mutare the Overlord | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Basic information: | |||||||||||
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 | |||||||||||
| |||||||||||
Starting primary skills: | |||||||||||
| |||||||||||
Starting secondary skills: | |||||||||||
Basic Tactics | |||||||||||
Basic Estates | |||||||||||
Starting troops: | |||||||||||
| |||||||||||
Starting troops : | |||||||||||
| |||||||||||
Starting spell: | |||||||||||
Magic Arrow | |||||||||||
Starting movement points: | |||||||||||
|
Mutare the Overlord is a Dungeon hero. Mutare starts with a spell book and the spell Magic Arrow.