Template:Hero: Difference between revisions
Jump to navigation
Jump to search
m (content switch war machine %) |
mNo edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
! 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 bgcolor={{green 2}} | Basic Information: | |||
|- | |- | ||
| rowspan=3 | {{swh|noicon=|[[File: Hero {{{picture|{{PAGENAME}}}}}{{{hpicture|}}}.png|{{{name|{{PAGENAME}}}}}]]|[[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}}}}}]]}} | ||
Line 15: | Line 15: | ||
|- {{#if: {{{biography|}}} | | style="display: none;"}} | |- {{#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|}}}'' | ||
|- | |- | ||
! colspan=3 bgcolor={{green 2}} | [[Hero specialty|<span style="color:darkolivegreen">Specialty</span>]]: [[{{{specialty|}}}]] | |||
|- | |- | ||
| colspan=3 | | | colspan=3 | | ||
Line 26: | Line 27: | ||
|- {{#if: {{{level|}}} | | style="display: none;"}} | |- {{#if: {{{level|}}} | | style="display: none;"}} | ||
! colspan=3 bgcolor={{green 2}} | Level: | |||
|- {{#if: {{{level|}}} | | style="display: none;"}} | |- {{#if: {{{level|}}} | | style="display: none;"}} | ||
| colspan=3 align=center| {{Exp2|0=}} Level {{{level|}}} {{Exp2|0=}} | | colspan=3 align=center| {{Exp2|0=}} Level {{{level|}}} {{Exp2|0=}} | ||
|- | |- | ||
! colspan=3 bgcolor={{green 2}} | Primary Skills: | |||
|- | |- | ||
| colspan=3 | | | colspan=3 | | ||
Line 47: | Line 48: | ||
|- | |- | ||
! colspan=3 bgcolor={{green 2}} | Secondary Skills: | |||
|- class='{{sourceToggle||{{{sk1only}}}}}' | |- class='{{sourceToggle||{{{sk1only}}}}}' | ||
| colspan=3 | {{Ss3|{{#explode:{{{skill_1}}}| |1|2}}|{{#explode:{{{skill_1}}}| |0}}}}{{{skill_1+|}}} | | colspan=3 | {{Ss3|{{#explode:{{{skill_1}}}| |1|2}}|{{#explode:{{{skill_1}}}| |0}}}}{{{skill_1+|}}} | ||
Line 66: | Line 67: | ||
|- | |- | ||
! colspan=3 bgcolor={{green 2}} | Troops: | |||
|- | |- | ||
| 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}}}|image={{{troop_1_img|{{{troop_1}}}}}}}} | | width=170px | {{Cn|{{{troop_1}}}|image={{{troop_1_img|{{{troop_1}}}}}}}} | ||
| | | width=65px | {{{nmb_1|}}} | ||
| {{{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}}}|image={{{troop_2_img|{{{troop_2}}}}}}}} | ||
| {{{nmb_2|}}} | |||
| {{{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}}}|image={{{troop_3_img|{{{troop_3}}}}}}}} | ||
| {{{nmb_3|}}} | |||
| {{{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}}}|image={{{troop_4_img|{{{troop_4}}}}}}}} | ||
| {{{nmb_4|}}} | |||
| {{{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}}}|image={{{troop_5_img|{{{troop_5}}}}}}}} | ||
| {{{nmb_5|}}} | |||
| {{{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}}}|image={{{troop_6_img|{{{troop_6}}}}}}}} | ||
| {{{nmb_6|}}} | |||
| {{{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}}}|image={{{troop_7_img|{{{troop_7}}}}}}}} | ||
| {{{nmb_7|}}} | |||
| {{{chance_7|Always}}} | |||
|} | |} | ||
|- | |- {{#if: {{{spell|}}} | | style="display: none;"}} | ||
! colspan=3 bgcolor={{green 2}} | Spell: | |||
|- {{#if: {{{spell|}}} | | style="display: none;"}} | |||
| [[File:{{{spell|}}}.png|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]] | |||
| colspan=2 | [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]] | |||
| | |||
| | |||
{{{ | |- {{#if: {{{warmachine|}}} | | style="display: none;"}} | ||
{{ | ! colspan=3 bgcolor={{green 2}} | War Machine: | ||
|- {{#if: {{{warmachine|}}} | | style="display: none;"}} | |||
{{ | | colspan=2 | {{Cn|{{{warmachine|}}}}} | ||
{{ | | {{{hota_wm| {{swh|Always|88%}}}}} | ||
|- | |- | ||
! colspan=3 bgcolor={{green 2}} | Starting [[Movement|Movement Points]]: | |||
|- | |||
| colspan=3 style="text-align:center;" | {{{s_mp|}}} | |||
|}</includeonly><noinclude> | |||
== How to use == | == How to use == | ||
Line 155: | Line 135: | ||
| spell = | | spell = | ||
| warmachine = | | warmachine = | ||
| s_mp = | | s_mp = | ||
}}</pre> | }}</pre> | ||
|} | |} | ||
Line 202: | Line 166: | ||
| name = </pre> | | name = </pre> | ||
|} | |} | ||
=== 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. | |||
== Examples == | == Examples == | ||
Line 224: | Line 191: | ||
| nmb_2 = {{swh|44-777|4–7}} | | nmb_2 = {{swh|44-777|4–7}} | ||
| nmb_3 = {{swh|20-30|2–3}} | | nmb_3 = {{swh|20-30|2–3}} | ||
| chance_2 = 75% | | chance_2 = 75% | ||
| s_mp = 1560 | |||
| s_mp = | |||
}} | }} | ||
Line 253: | Line 216: | ||
| skill_2 = Basic Armorer | | skill_2 = Basic Armorer | ||
| troop_1 = Skeleton | | troop_1 = Skeleton | ||
| troop_3 = Sandworm | | troop_3 = Sandworm | ||
| nmb_1 = 78 | | nmb_1 = 78 | ||
Line 261: | Line 223: | ||
| chance_3 = Always | | chance_3 = Always | ||
| spell = Shield | | spell = Shield | ||
| | | s_mp = 1234 | ||
| notext = | | notext = | ||
}} | }} | ||
Line 284: | Line 244: | ||
| troop_1 = Skeleton Warrior | | troop_1 = Skeleton Warrior | ||
| troop_2 = Ghost Dragon | | troop_2 = Ghost Dragon | ||
| troop_3 | | troop_3 = Olgoi-Khorkhoi | ||
| troop_4 = Bellwether Armadillo | |||
| nmb_1 = 910 | | nmb_1 = 910 | ||
| nmb_2 = 12 | | nmb_2 = 12 | ||
| nmb_3 = 96 | | nmb_3 = 96 | ||
| nmb_4 = {{swh|20-30|30-40}} | |||
| chance_2 = Always | | chance_2 = Always | ||
| chance_3 = Always | | chance_3 = {{swh|Always|76%}} | ||
| spell = Stone Skin | | spell = Stone Skin | ||
| | | s_mp = 1234 | ||
| notext = | | notext = | ||
}} | }} | ||
Line 329: | Line 289: | ||
| chance_3 = Always | | chance_3 = Always | ||
| warmachine = Ballista | | warmachine = Ballista | ||
| | | s_mp = 1560 | ||
| notext = | |||
| | |||
}} | }} | ||
{{Hero | {{Hero | ||
Line 353: | Line 311: | ||
| spell = Lightning Bolt | | spell = Lightning Bolt | ||
| troop_1 = Centaur | | troop_1 = Centaur | ||
| troop_3 = Wood Elf | | troop_3 = Wood Elf | ||
| nmb_1 = 12–24 | | nmb_1 = 12–24 | ||
| nmb_3 = 3–6 | | nmb_3 = 3–6 | ||
| warmachine = First Aid Tent | | warmachine = First Aid Tent | ||
| | | s_mp = 1700 | ||
| notext = | | notext = | ||
}} | }} | ||
Line 384: | Line 338: | ||
| nmb_1 = 10–20 | | nmb_1 = 10–20 | ||
| nmb_2 = 4–7 | | nmb_2 = 4–7 | ||
| nmb_3 = 2–3 | | nmb_3 = 2–3 | ||
| | | s_mp = 1560 | ||
| notext = | |||
| | |||
}} | }} | ||
{{Hero | {{Hero | ||
Line 409: | Line 358: | ||
| troop_2 = Harpy | | troop_2 = Harpy | ||
| troop_3 = Beholder | | troop_3 = Beholder | ||
| nmb_1 = 30–40 | | nmb_1 = {{swh|20-30|30–40}} | ||
| nmb_2 = 4–6 | | nmb_2 = {{swh|6-8|4–6}} | ||
| nmb_3 = 3–4 | | nmb_3 = 3–4 | ||
| spell = Magic Arrow | | spell = Magic Arrow | ||
| | | s_mp = 1560 | ||
| | | notext = | ||
}} | }} | ||
{{Hero | {{Hero | ||
Line 441: | Line 387: | ||
| nmb_1 = 12–24 | | nmb_1 = 12–24 | ||
| nmb_2 = 3–5 | | nmb_2 = 3–5 | ||
| nmb_3 = | | nmb_3 = {{swh|2-4|3–6}} | ||
| s_mp = {{swh|1500|1500-1700}} | |||
| notext = | |||
| | |||
| | |||
}} | }} | ||
[[Category: Hero templates]]</noinclude> | [[Category: Hero templates]]</noinclude> |
Latest revision as of 16:54, 8 December 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 = | 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_#_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: | |||||||||||
Advanced Wisdom | |||||||||||
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: | ||||||||||
Basic Necromancy | ||||||||||
Basic Armorer | ||||||||||
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: | ||||||||||||||
Advanced Fire Magic | ||||||||||||||
Advanced Earth Magic | ||||||||||||||
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: | |||||||||||||||||
Level 11 | |||||||||||||||||
Primary Skills: | |||||||||||||||||
| |||||||||||||||||
Secondary Skills: | |||||||||||||||||
Expert Leadership | |||||||||||||||||
Advanced Luck | |||||||||||||||||
Advanced Ballistics | |||||||||||||||||
Expert Artillery | |||||||||||||||||
Advanced Offense | |||||||||||||||||
Advanced Armorer | |||||||||||||||||
Troops: | |||||||||||||||||
| |||||||||||||||||
War Machine: | |||||||||||||||||
Ballista | Always 88% | ||||||||||||||||
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: | ||||||||||
Basic First Aid | ||||||||||
Basic Wisdom | ||||||||||
Troops: | ||||||||||
| ||||||||||
Spell: | ||||||||||
Lightning Bolt | ||||||||||
War Machine: | ||||||||||
First Aid Tent | Always 88% | |||||||||
Starting Movement Points: | ||||||||||
1700 |
Content Switch image/specialty/skills[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: | |||||||||||
Advanced Leadership | |||||||||||
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: | |||||||||||
Basic Tactics | |||||||||||
Basic Estates | |||||||||||
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: | |||||||||||
Basic Resistance | |||||||||||
Basic Interference | |||||||||||
Basic Pathfinding | |||||||||||
Troops: | |||||||||||
| |||||||||||
Starting Movement Points: | |||||||||||
1500 1500-1700 |