Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (Formatting)
(add flavor param)
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: 20px; 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: 20px; float:{{{float|left}}}"  
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:lightgreen;" | {{{name|{{PAGENAME}}}}} the {{{classname|{{{class|}}}}}}
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:lightgreen;" | {{{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:'''
Line 169: Line 169:
| <pre> | s_hota_mp = </pre>
| <pre> | s_hota_mp = </pre>
|}
|}
=== Optional components ===
* '''flavor''': The scenario name or version of the hero that appears in a different scenario.


=== Other Options ===
=== Other Options ===
Line 220: Line 223:
  | name      = Boyd
  | name      = Boyd
  | picture    = Boyd
  | picture    = Boyd
| flavor    = Dead or Alive
  | town      = Factory
  | town      = Factory
  | class      = Death Knight
  | class      = Death Knight
Line 238: Line 242:
  | chance_3  = Always
  | chance_3  = Always
  | spell      = Shield
  | spell      = Shield
| s_hota_mp =
  | nowar      =
  | nowar      =
  | no_hota_starting_troops =
  | no_hota_starting_troops =
Line 245: Line 250:
  | name      = Boyd
  | name      = Boyd
  | picture    = Boyd
  | picture    = Boyd
| flavor    = Tomb Raiders
  | town      = Necropolis
  | town      = Necropolis
  | class      = Death Knight
  | class      = Death Knight
Line 263: Line 269:
  | chance_3  = Always
  | chance_3  = Always
  | spell      = Stone Skin
  | spell      = Stone Skin
| s_hota_mp =
  | nowar      =
  | nowar      =
  | no_hota_starting_troops =
  | no_hota_starting_troops =

Revision as of 18:27, 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.

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

Advanced 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
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 1 Defense 2 Spell Power 2 Knowledge 1
Starting secondary skills:
Advanced Fire Magic  Advanced Fire Magic
Advanced Earth Magic  Advanced Earth Magic
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: