Template:Hero: Difference between revisions
Jump to navigation
Jump to search
m (Spacing) |
|||
(One intermediate revision by the same user not shown) | |||
Line 72: | Line 72: | ||
{| border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;" | {| border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;" | ||
|- | |- | ||
| width=170px | {{Cn|{{{troop_1}}}|image={{{troop_1_img|{{{troop_1}}}}}}}} | | width=170px | {{Cn|{{{troop_1}}}|name={{{troop_1_nam|{{{troop_1}}}}}}|image={{{troop_1_img|{{{troop_1}}}}}}}} | ||
| width=65px | {{{nmb_1|}}} | | width=65px | {{{nmb_1|}}} | ||
| {{{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}}}|name={{{troop_2_nam|{{{troop_2}}}}}}|image={{{troop_2_img|{{{troop_2}}}}}}}} | ||
| {{{nmb_2|}}} | | {{{nmb_2|}}} | ||
| {{{chance_2|{{swh|Always|88%}}}}} | | {{{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}}}|name={{{troop_3_nam|{{{troop_3}}}}}}|image={{{troop_3_img|{{{troop_3}}}}}}}} | ||
| {{{nmb_3|}}} | | {{{nmb_3|}}} | ||
| {{{chance_3|{{swh|Always|25%}}}}} | | {{{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}}}|name={{{troop_4_nam|{{{troop_4}}}}}}|image={{{troop_4_img|{{{troop_4}}}}}}}} | ||
| {{{nmb_4|}}} | | {{{nmb_4|}}} | ||
| {{{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}}}|name={{{troop_5_nam|{{{troop_5}}}}}}|image={{{troop_5_img|{{{troop_5}}}}}}}} | ||
| {{{nmb_5|}}} | | {{{nmb_5|}}} | ||
| {{{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}}}|name={{{troop_6_nam|{{{troop_6}}}}}}|image={{{troop_6_img|{{{troop_6}}}}}}}} | ||
| {{{nmb_6|}}} | | {{{nmb_6|}}} | ||
| {{{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}}}|name={{{troop_7_nam|{{{troop_7}}}}}}|image={{{troop_7_img|{{{troop_7}}}}}}}} | ||
| {{{nmb_7|}}} | | {{{nmb_7|}}} | ||
| {{{chance_7|Always}}} | | {{{chance_7|Always}}} | ||
Line 152: | Line 152: | ||
** '''sk#only''': 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_#_nam''': Display an alternate name for this troop (e.g. Halfling (Factory) -> Halfling). | |||
** '''troop_#_img''': Display an alternate (e.g. HotA) image for this troop. | ** '''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 | ||
Line 320: | Line 321: | ||
{{clear|left}} | {{clear|left}} | ||
=== Content Switch image/specialty/skills === | === Content Switch image/specialty/skills/names === | ||
{{Hero | {{Hero | ||
| name = Sir Mullich | | name = Sir Mullich | ||
Line 390: | Line 391: | ||
| s_mp = {{swh|1500|1500-1700}} | | s_mp = {{swh|1500|1500-1700}} | ||
| notext = | | notext = | ||
}} | |||
{{Hero | |||
| name = Henrietta | |||
| picture = Henrietta | |||
| town = Factory | |||
| class = Mercenary | |||
| gender = Female | |||
| race = [[Halfling (Factory)|Halfling]] | |||
| biography = Even a humble halfling from the [[Eeofol]] backwoods is capable of a feat when an unprecedented calamity knocks at the door. The new world, devoid of thatched roofs, carrot beds, or the incessant grumbling of geezers, has changed Henrietta, and she is now ready to change it herself. [[Kreegan]] fire reduces her homeland to ashes and scorched her heart, but she used it to forge herself a steel will. | |||
| specialty = Halflings | |||
| s_text = Increases the [[Speed]] of allied [[Halfling and Halfling Grenadier|Halflings and Halfling Grenadiers]] by 1 and their [[Attack]] and [[Defense]] skills by 10% for every level (rounded up). | |||
| skill_1 = Basic Leadership | |||
| skill_2 = Basic Luck | |||
| troop_1 = Halfling (Factory) | |||
| troop_1_nam= Halfling | |||
| troop_2 = Halfling (Factory) | |||
| troop_2_nam= Halfling | |||
| troop_3 = Halfling (Factory) | |||
| troop_3_nam= Halfling | |||
| nmb_1 = 15-25 | |||
| nmb_2 = 15-25 | |||
| nmb_3 = 15-25 | |||
| chance_2 = Always | |||
| chance_3 = Always | |||
| s_mp = 1700 | |||
}} | }} | ||
[[Category: Hero templates]]</noinclude> | [[Category: Hero templates]]</noinclude> |
Latest revision as of 00:33, 1 January 2025
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_#_nam: Display an alternate name for this troop (e.g. Halfling (Factory) -> Halfling).
- 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 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: | |||||||||||
![]() ![]() |
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 | |||||||||||
| |||||||||||
Primary Skills: | |||||||||||
| |||||||||||
Secondary Skills: | |||||||||||
![]() | |||||||||||
Troops: | |||||||||||
| |||||||||||
Spell: | |||||||||||
![]() |
Frost Ring | ||||||||||
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: | ||||||||||
![]() ![]() |
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 | ||||||||||
| ||||||||||
Primary Skills: | ||||||||||
| ||||||||||
Secondary Skills: | ||||||||||
![]() | ||||||||||
![]() | ||||||||||
Troops: | ||||||||||
| ||||||||||
Spell: | ||||||||||
![]() |
Shield | |||||||||
Starting Movement Points: | ||||||||||
1234 |
Boyd the Death Knight (Tomb Raiders) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic Information: | ||||||||||||||
![]() ![]() |
Class: | Death Knight | ||||||||||||
Gender: | Male | |||||||||||||
Race: | Human | |||||||||||||
Specialty: Liches | ||||||||||||||
| ||||||||||||||
Primary Skills: | ||||||||||||||
| ||||||||||||||
Secondary Skills: | ||||||||||||||
![]() | ||||||||||||||
![]() | ||||||||||||||
Troops: | ||||||||||||||
| ||||||||||||||
Spell: | ||||||||||||||
![]() |
Stone Skin | |||||||||||||
Starting Movement Points: | ||||||||||||||
1234 |
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 | |||||||||||||||||
| |||||||||||||||||
Level: | |||||||||||||||||
![]() ![]() | |||||||||||||||||
Primary Skills: | |||||||||||||||||
| |||||||||||||||||
Secondary Skills: | |||||||||||||||||
![]() | |||||||||||||||||
![]() | |||||||||||||||||
![]() | |||||||||||||||||
![]() | |||||||||||||||||
![]() | |||||||||||||||||
![]() | |||||||||||||||||
Troops: | |||||||||||||||||
| |||||||||||||||||
War Machine: | |||||||||||||||||
![]() |
Always ![]() ![]() | ||||||||||||||||
Starting Movement Points: | |||||||||||||||||
1560 |
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 | ||||||||||
| ||||||||||
Primary Skills: | ||||||||||
| ||||||||||
Secondary Skills: | ||||||||||
![]() | ||||||||||
![]() | ||||||||||
Troops: | ||||||||||
| ||||||||||
Spell: | ||||||||||
![]() |
Lightning Bolt | |||||||||
War Machine: | ||||||||||
![]() |
Always ![]() ![]() | |||||||||
Starting Movement Points: | ||||||||||
1700 |
Content Switch image/specialty/skills/names[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 | |||||||||||
| |||||||||||
Primary Skills: | |||||||||||
| |||||||||||
Secondary Skills: | |||||||||||
![]() | |||||||||||
Troops: | |||||||||||
| |||||||||||
Starting Movement Points: | |||||||||||
1560 |
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 | |||||||||||
| |||||||||||
Primary Skills: | |||||||||||
| |||||||||||
Secondary Skills: | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
Troops: | |||||||||||
| |||||||||||
Spell: | |||||||||||
![]() |
Magic Arrow | ||||||||||
Starting Movement Points: | |||||||||||
1560 |
Clancy the Ranger | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Basic Information: | |||||||||||
![]() ![]() |
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 | |||||||||||
| |||||||||||
Primary Skills: | |||||||||||
| |||||||||||
Secondary Skills: | |||||||||||
![]() ![]() | |||||||||||
![]() ![]() | |||||||||||
![]() | |||||||||||
Troops: | |||||||||||
| |||||||||||
Starting Movement Points: | |||||||||||
1500 ![]() ![]() |
Henrietta the Mercenary | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Basic Information: | |||||||||||
![]() ![]() |
Class: | Mercenary | |||||||||
Gender: | Female | ||||||||||
Race: | Halfling | ||||||||||
Even a humble halfling from the Eeofol backwoods is capable of a feat when an unprecedented calamity knocks at the door. The new world, devoid of thatched roofs, carrot beds, or the incessant grumbling of geezers, has changed Henrietta, and she is now ready to change it herself. Kreegan fire reduces her homeland to ashes and scorched her heart, but she used it to forge herself a steel will. | |||||||||||
Specialty: Halflings | |||||||||||
| |||||||||||
Primary Skills: | |||||||||||
| |||||||||||
Secondary Skills: | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
Troops: | |||||||||||
| |||||||||||
Starting Movement Points: | |||||||||||
1700 |