Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}} the {{{class|}}}
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}} the {{{class|}}}
|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Basic infromation:'''
| colspan=3 align=center bgcolor={{green 2}} | '''Basic information:'''
|-  
|-  
| rowspan=3 | [[File: Hero {{{picture|{{PAGENAME}}}}}.png|82px|{{{name|{{PAGENAME}}}}}]]
| rowspan=3 | [[File: Hero {{{picture|{{PAGENAME}}}}}.png|82px|{{{name|{{PAGENAME}}}}}]]
Line 57: Line 57:
{{{nowar|{{!}} [[File:{{{warmachine|}}}.png|82px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}}
{{{nowar|{{!}} [[File:{{{warmachine|}}}.png|82px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}}
{{{nowar|{{!}} colspan=2 {{!}} [[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}}
{{{nowar|{{!}} colspan=2 {{!}} [[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}}
|}{{{notext|'''{{{name|{{PAGENAME}}}}}''' the [[{{{class}}}]] is a [[List of heroes|hero]] from [[{{{town}}} town]]. {{{nospell|{{{name|By default, {{PAGENAME}}}}} starts with a [[spell book]] and knows the [[{{{spell|}}}]] spell.}}} }}}<noinclude>
|}{{{notext|'''{{{name|{{PAGENAME}}}}}''' the [[{{{class}}}]] is a [[List of heroes|hero]] from [[{{{town}}}]]. {{{nospell|{{{name|{{PAGENAME}}}}} starts with a [[spell book]] and the spell [[{{{spell|}}}]].}}} }}}<noinclude>


== How to use ==
== How to use ==
Line 103: Line 103:
  | town      = Castle
  | town      = Castle
  | class      = Cleric
  | class      = Cleric
  | gender    = female
  | gender    = Female
  | spieces    = human
  | race      = Human
| biography  = 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
  | s_text    = Casts [[Frost Ring]] with increased effect, based on hero level compared to the level of the target unit.
  | s_text    = Casts [[Frost Ring]] with increased effect, based on hero level compared to the level of the target unit.
Line 110: Line 111:
  | oneskill  =  
  | oneskill  =  
  | spell      = Frost Ring
  | spell      = Frost Ring
| troop_1    = Pikeman
| troop_2    = Archer
| troop_3    = Griffin
| nmb_1      = 10–20
| nmb_2      = 4–7
| nmb_3      = 2–3 
| nowar      =
}}
}}
|}
|}


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

Revision as of 05:46, 11 January 2018

Hero the
Basic information:
Hero Class: [[]]
Gender:
Race:
'
Specialty: [[]]
Specialty
Starting secondary skill(s):
[[File:.png link={{{skill_1}}}]]  [[]]
[[File:.png link=]]  [[]]
Starting troops:
[[File: Creature portrait {{{troop_1}}} small.gif|{{{troop_1}}}|link={{{troop_1}}}]] [[{{{troop_1}}}|{{{troop_1}}}]] Always
[[File: Creature portrait {{{troop_2}}} small.gif|{{{troop_2}}}|link={{{troop_2}}}]] [[{{{troop_2}}}|{{{troop_2}}}]] 3/4
[[File: Creature portrait {{{troop_3}}} small.gif|{{{troop_3}}}|link={{{troop_3}}}]] [[{{{troop_3}}}|{{{troop_3}}}]] 1/4
Starting spell:
82px link={{{spell}}} [[{{{spell}}}|{{{spell}}}]]
Starts with:
82px link={{{warmachine}}} [[{{{warmachine}}}|{{{warmachine}}}]]

Hero the [[{{{class}}}]] is a hero from [[{{{town}}}]]. Hero starts with a spell book and the spell [[]].

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

If the hero does not have a starting spell or war machine then the following parameters should be defined without any value:

| nospell    =
| nowar      =

If for some reason pictures of hero or specialty does not appear automatically, you can add the following rows:

 | picture       = 
 | specialty_pic = 

Also, the following lines are available:

 | name          = 
This is an example what the page will look like.
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 secondary skill(s):
Advanced Wisdom  Advanced Wisdom
Starting troops:
Pikeman Pikeman 10–20 Always
Archer Archer 4–7 3/4
Griffin Griffin 2–3 1/4
Starting spell:
Frost Ring Frost Ring
Adelaide the Cleric is a hero from Castle. Adelaide starts with a spell book and the spell Frost Ring.