Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{{notext|'''{{{name|{{PAGENAME}}}}}''' the [[{{{class}}}]] is a [[List of heroes|hero]] from [[{{{town}}} town]].
{{{notext|'''{{{name|{{PAGENAME}}}}}''' the [[{{{class}}}]] is a [[List of heroes|hero]] from [[{{{town}}} town]].


}}}{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; float:{{{float|right}}}"  
}}}{| border=1 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; float:{{{float|right}}}"  
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}}
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}}
|-  
|-  
Line 26: Line 26:
{{{oneskill|{{!}} [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2|}}}]]
{{{oneskill|{{!}} [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2|}}}]]
{{!}} valign=middle colspan=2 {{!}}{{-}}[[{{{skill_2|}}}]] }}}
{{!}} valign=middle colspan=2 {{!}}{{-}}[[{{{skill_2|}}}]] }}}
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting troops:'''}}}
|-
| {{{onetroop|{{Cn|troop_1}}
| {{{nmb_1|1}}}
| ~75% w00000000t
|-
| {{Cn|troop_2}}
| {{{nmb_2|1}}}
| ~75%
|-
| {{Cn|troop_3}} }}}
| {{{nmb_3|1}}}
|-
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}}
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}}

Revision as of 07:19, 3 February 2017

Hero the [[{{{class}}}]] is a hero from [[{{{town}}} town]].

Hero
Hero Class: [[]]
Gender:
Race:
Specialty: [[]]
Specialty
Starting secondary skill(s):
[[File:.png link={{{skill_1}}}]]  [[]]
[[File:.png link=]]  [[]]
Starting troops:
troop_1 troop_1 1
Starting spell:
[[File:.png link={{{spell}}}]] [[{{{spell}}}|{{{spell}}}]]
Starts with:
82px link={{{warmachine}}} [[{{{warmachine}}}|{{{warmachine}}}]]

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 is a hero from Castle town.
Adelaide
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:
troop_1 troop_1 1
Starting spell:
Frost Ring Frost Ring
Starts with:
82px link={{{warmachine}}} [[{{{warmachine}}}|{{{warmachine}}}]]