Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(add customizable primary stats)
(add extra secondary skills)
Line 45: Line 45:
|-
|-
| colspan=3 |
| colspan=3 |
{| cellpadding=0 cellspacing=0
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}|48px]]
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}|48px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]{{{skill_1+|}}}
| valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]{{{skill_1+|}}}
|}
|}
 
|- {{#if: {{{skill_2|}}} |  | style="display: none;"}}
|-
| colspan=3 |
{{{oneskill|{{!}} colspan=3 {{!}}
{| cellpadding=0 cellspacing=0
 
| [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2}}}|48px]]
{{!T}} cellpadding=0 cellspacing=0
| valign=middle colspan=2 | {{-}}[[{{{skill_2|}}}]]
{{!}} [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2|}}}|48px]]
|}
{{!}} valign=middle colspan=2 {{!}}{{-}}[[{{{skill_2|}}}]]  
|- {{#if: {{{skill_3|}}} |  | style="display: none;"}}
{{T!}} }}}
| colspan=3 |
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_3|}}}.png|{{{skill_3|}}}|link={{{skill_3}}}|48px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_3|}}}]]
|}
|- {{#if: {{{skill_4|}}} |  | style="display: none;"}}
| colspan=3 |
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_4|}}}.png|{{{skill_4|}}}|link={{{skill_4}}}|48px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_4|}}}]]
|}
|- {{#if: {{{skill_5|}}} |  | style="display: none;"}}
| colspan=3 |
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_5|}}}.png|{{{skill_5|}}}|link={{{skill_5}}}|48px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_5|}}}]]
|}
|- {{#if: {{{skill_6|}}} |  | style="display: none;"}}
| colspan=3 |
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_6|}}}.png|{{{skill_6|}}}|link={{{skill_6}}}|48px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_6|}}}]]
|}
|- {{#if: {{{skill_7|}}} |  | style="display: none;"}}
| colspan=3 |
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_7|}}}.png|{{{skill_7|}}}|link={{{skill_7}}}|48px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_7|}}}]]
|}
|- {{#if: {{{skill_8|}}} |  | style="display: none;"}}
| colspan=3 |
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_8|}}}.png|{{{skill_8|}}}|link={{{skill_8}}}|48px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_8|}}}]]
|}


|-
|-
Line 223: Line 256:


{{clear|left}}
{{clear|left}}
=== Advanced Case ===
=== Flavor Case ===
{{Hero
{{Hero
  | name      = Boyd
  | name      = Boyd
Line 281: Line 314:
  | no_hota_starting_troops =
  | no_hota_starting_troops =
  | notext    =
  | notext    =
}}
{{clear|left}}
=== Advanced Case ===
{{Castle heroes}}{{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]] 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).
| 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    = Pikeman
| troop_3    = Griffin
| nmb_1      = 10–20
| nmb_3      = 2–3 
| notroop_2  =
| warmachine = Ballista
| nospell    =
| s_hota_mp  =
| s_hota2_mp = 1560
| hota_same_troops = 1
| no_hota_starting_troops =
}}
}}


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

Revision as of 19:01, 25 April 2024


How to use

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

{{Hero
 | town       = 
 | class      = 
 | gender     = 
 | race       = 
 | specialty  = 
 | s_text     = 
 | skill_1    = 
 | skill_2    = 
 | spell      =
 | warmachine =
 | min_mp     =
 | max_mp     =
 | hota_mp    =
 | s_mp       =
}}

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).

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 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

  • 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)

Other Options

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

 | picture       = 
 | specialty_pic = 
 | name          = 

Example

Normal Case

Adelaide the Cleric
Basic information:
Adelaide Class: Cleric
Gender: Female
Race: Human
Caught at sea during a storm, Adelaide was shipwrecked on the shores of Vori, home of the Snow Elves. She trained with them for some twenty years, and upon her return to Erathia discovered that no time had passed in her absence.
Specialty: Frost Ring
Specialty Frost Ring Casts Frost Ring with increased effect, based on hero level compared to the level of the target unit.
Starting primary skills:
Attack 1 Defense 0 Spell Power 2 Knowledge 2
Starting secondary skill:
Advanced Wisdom  Advanced Wisdom
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
Starting troops:
Pikeman Pikeman 10–20 Always
Archer Archer 4–7 75%
Griffin Griffin 2–3 25%
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.

Lorem ipsum

  • text 1
  • text 2
  • text 3

Flavor Case

Boyd the Death Knight
(Dead or Alive)
Basic information:
Boyd 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 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 primary skills:
Attack 1 Defense 2 Spell Power 2 Knowledge 1
Starting secondary skills:
Basic Necromancy  Basic Necromancy
Basic Armorer  Basic Armorer
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
Starting troops:
Skeleton Skeleton 78 Always
Sandworm Sandworm 9 Always
Starting spell:
Shield Shield
Starting movement points:
Boyd the Death Knight
(Tomb Raiders)
Basic information:
Boyd Class: Death Knight
Gender: Male
Race: Human
 
Specialty: Liches
Specialty 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 primary skills:
Attack 20 Defense 21 Spell Power 22 Knowledge 23
Starting secondary skills:
Advanced Fire Magic  Advanced Fire Magic
Advanced Earth Magic  Advanced Earth Magic
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
Starting troops:
Skeleton Warrior Skeleton Warrior 910 Always
Ghost Dragon Ghost Dragon 12 Always
Olgoi-Khorkhoi Olgoi-Khorkhoi 96 Always
Starting spell:
Stone Skin Stone Skin
Starting movement points:

Advanced Case

Castle
Knights
Christian Christian
Edric Edric
Lord Haart Lord Haart Restoration of Erathia
Orrin Orrin
Sorsha Sorsha
Sylvia Sylvia
Tyris Tyris
Valeska Valeska
Catherine Catherine Map Editor
Roland Roland Armageddon's BladeMap Editor
Sir Mullich Sir Mullich Armageddon's Blade
Beatrice Beatrice Horn of the Abyss
Clerics
Adela Adela
Adelaide Adelaide
Caitlin Caitlin
Cuthbert Cuthbert
Ingham Ingham
Loynis Loynis
Rion Rion
Sanya Sanya
Towns
Castle Rampart Tower
Inferno Necropolis Dungeon
Stronghold Fortress Conflux
Cove Factory
Sir Michael the Knight
Basic information:
Sir 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 Ballista Increases the Attack and Defense skills of any Ballista by 5% for every 5 levels (rounded up).
Starting primary skills:
Attack 2 Defense 2 Spell Power 1 Knowledge 1
Starting secondary skills:
Expert Leadership  Expert Leadership
Advanced Luck  Advanced Luck
Advanced Ballistics  Advanced Ballistics
Expert Artillery  Expert Artillery
Advanced Offense  Advanced Offense
Advanced Armorer  Advanced Armorer
[[File:.png 48px]]  [[]]
[[File:.png 48px]]  [[]]
Starting troops:
Pikeman Pikeman 10–20 Always
Griffin Griffin 2–3 25% (Always Horn of the Abyss)
Starts with:
Ballista
Ballista
88%
(Always Horn of the Abyss)
Starting movement points:
1560

Sir Michael the Knight is a Castle hero.