Template:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
(return to old one)
Line 1: Line 1:
{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:500px; float:{{{float|left}}}"  
{{{notext|'''{{{name|{{PAGENAME}}}}}''' the [[{{{class}}}]] is a [[List of heroes|hero]] from [[{{{town}}} town]].
! colspan=4 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}}
 
}}}{| border=0 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}}}}} the {{{class|}}}
|-
| 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}}}}}]]
| style="padding-left:5px;; padding-right:5px;"   | '''Class:'''  
| style="padding-left:5px" width=10 | '''Class:'''  
| style="padding-left:5px; padding-right:5px;"     | [[{{{class|}}}]]
| style="padding-left:5px"         | [[{{{class|}}}]]
| rowspan=3 style="font-size:90%;padding-left:5px" | '''Biography:''' ''{{{biography|}}}''
|-  
|-  
| style="padding-left:5px; padding-right:5px;"     | '''Gender:'''  
| style="padding-left:5px"         | '''Gender:'''  
| style="padding-left:5px; padding-right:5px;"     | {{{gender|}}}
| style="padding-left:5px"         | {{{gender|}}}
|-  
|-  
| style="padding-left:5px; padding-right:5px;"     | '''Race:'''
| style="padding-left:5px"         | '''Race:'''
| style="padding-left:5px; padding-right:5px;"     | {{{race|}}}
| style="padding-left:5px"          | {{{race|}}}
|-
| colspan=3 valign=top style="padding-left:5px; font-size:90%;" | '''Biography:'''<br>{{{biography|}}}  
|-
|-
| colspan=3 align=center bgcolor={{green 2}} | '''[[Hero specialty|Specialty]]:''' [[{{{specialty|}}}]]
| colspan=3 align=center bgcolor={{green 2}} | '''[[Hero specialty|Specialty]]:''' [[{{{specialty|}}}]]
Line 18: Line 23:
| colspan=3 valign=top style="border-left: 5px solid #{{Green 3}}; font-size:90%;" | {{{s_text|}}}
| colspan=3 valign=top style="border-left: 5px solid #{{Green 3}}; font-size:90%;" | {{{s_text|}}}
|-
|-
| colspan=4 align=center bgcolor={{green 2}} | '''Starting secondary skill(s):'''
| colspan=3 align=center bgcolor={{green 2}} | '''Starting secondary skill(s):'''
|-
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}]]
| valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]
|-
|-
| colspan=4 |
{| border=0 cellspacing=0 cellpadding=0
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}]]
| {{-}}[[{{{skill_1|}}}]]
{{{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}} | '''Starting troops:'''
| colspan=3 align=center bgcolor={{green 2}} | '''Starting troops:'''
Line 58: Line 59:
{{{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]].
|}<noinclude>
 
}}}<noinclude>


== How to use ==
== How to use ==

Revision as of 12:02, 9 February 2017

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

Hero the
Basic infromation:
Hero Class: [[]]
Gender:
Race:
Biography:
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}}}]] ~75%
[[File: Creature portrait {{{troop_3}}} small.gif|{{{troop_3}}}|link={{{troop_3}}}]] [[{{{troop_3}}}|{{{troop_3}}}]] ~25%
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 the Cleric
Basic infromation:
Adelaide Class: Cleric
Gender: female
Race:
Biography:
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}}}]] ~75%
[[File: Creature portrait {{{troop_3}}} small.gif|{{{troop_3}}}|link={{{troop_3}}}]] [[{{{troop_3}}}|{{{troop_3}}}]] ~25%
Starting spell:
Frost Ring Frost Ring
Starts with:
82px link={{{warmachine}}} [[{{{warmachine}}}|{{{warmachine}}}]]