Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; margin-right: 15px; float:{{{float|left}}}"  
{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; margin-right: 15px; float:{{{float|left}}}"  
! 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 information:'''
| colspan=3 align=center bgcolor={{green 2}} | '''Basic infromation:'''
|-  
|-  
| 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}}}}}''' is a [[{{{town}}}]] [[{{{class}}}]]{{{nospell| and starts with the spell [[{{{spell|}}}]]}}}. }}}</includeonly><noinclude>
|}{{{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>


== How to use ==
== How to use ==
Line 103: Line 103:
  | town      = Castle
  | town      = Castle
  | class      = Cleric
  | class      = Cleric
  | gender    = Female
  | gender    = female
  | race      = Human
  | spieces    = 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 111: Line 110:
  | 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:38, 11 January 2018

Hero the
Basic infromation:
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}}} town]]. By default, Hero starts with a spell book and knows 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 infromation:
Adelaide Class: Cleric
Gender: female
Race:
'
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:
[[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:
Frost Ring Frost Ring
Starts with:
82px link={{{warmachine}}} [[{{{warmachine}}}|{{{warmachine}}}]]
Adelaide the Cleric is a hero from Castle town. Adelaide starts with a spell book and knows the Frost Ring spell.