Krellion and Template:Hero: Difference between pages

From Heroes 3 wiki
(Difference between pages)
Jump to navigation Jump to search
No edit summary
 
(skill_1+ var added)
 
Line 1: Line 1:
{{Stronghold heroes}}{{Hero
<includeonly>{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; margin-right: 20px; float:{{{float|left}}}"
  | town      = Stronghold
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}} the {{{class|}}}
  | class      = Barbarian
|-
  | gender    = male
| colspan=3 align=center bgcolor={{green 2}} | '''Basic information:'''
  | race      = ogre
|-
  | biography = Krellion originally joined the army as a prizefighter, and became so well known that his fans insisted he be made to lead them into battle.  While probably not the smartest decision, Krellion has proven to be an exceptional leader, especially among ogrekind.
| rowspan=3 | [[File: Hero {{{picture|{{PAGENAME}}}}}.png|82px|{{{name|{{PAGENAME}}}}}]]
  | specialty = Ogres
| style="padding-left:5px" width=10 | '''Class:'''
  | s_text     = Increases the attack and defense skills of any [[Ogre and ogre mage|ogre or ogre mage]] for each level attained after 4th level.
| style="padding-left:5px"          | [[{{{class|}}}]]
  | skill_1    = Basic Offense
|-
  | skill_2    = Basic Resistance
| style="padding-left:5px"          | '''Gender:'''
  | troop_1    = Goblin
| style="padding-left:5px"          | {{{gender|}}}
  | troop_2    = Wolf Rider
|-
  | troop_3    = Orc
| style="padding-left:5px"          | '''Race:'''
  | nmb_1      = 15–25
| style="padding-left:5px"          | {{{race|}}}
  | nmb_2      = 5–7
|-
  | nmb_3      = 4–6
| colspan=3 valign=top style="padding-left:3px; padding-right:3px; font-size:90%;" | ''{{{biography|}}}''
| nospell    =
|-
| colspan=3 align=center bgcolor={{green 2}} | '''[[Hero specialty|<span style="color:black">Specialty</span>]]:''' [[{{{specialty|}}}]]
|-
| colspan=3 |
 
{| cellpadding=0 cellspacing=0
| valign=top | [[File: Specialty {{{specialty_pic|{{{specialty|}}}}}}.png|Specialty {{{specialty|}}}|link=Hero specialty|50px]]
| valign=top style="border-left: 5px solid #{{Green 3}}; font-size:90%;" | {{{s_text|}}}
|}
 
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Starting secondary skill(s):'''
|-
| colspan=3 |
 
{| cellpadding=0 cellspacing=0
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}|50px]]
| valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]{{{skill_1+|}}}
|}
 
|-
{{{oneskill|{{!}} colspan=3 {{!}}
 
{{!T}} cellpadding=0 cellspacing=0
{{!}} [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2|}}}|50px]]
{{!}} valign=middle colspan=2 {{!}}{{-}}[[{{{skill_2|}}}]]
{{T!}} }}}
 
|-
| colspan=3 align=center bgcolor={{green 2}} | '''Starting troops:'''
|-
| colspan=3 |
 
{| border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
| {{Cn|{{{troop_1}}}}}
| style="padding-left:5px" | {{{nmb_1|}}}
| style="padding-left:5px" | {{{chance_1|Always}}}
|-
| {{{notroop_2|{{Cn|{{{troop_2}}}}}
{{!}} style="padding-left:5px; padding-right:5px" {{!}} {{{nmb_2|}}}
{{!}} style="padding-left:5px" {{!}} {{{chance_2|3/4}}}
{{!-}}
{{!}} }}}{{Cn|{{{troop_3}}}}}
| style="padding-left:5px" | {{{nmb_3|}}}
| style="padding-left:5px" | {{{chance_3|1/4}}}
|}
{{{no_hota_starting_troops|
{{!-}}
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting troops {{withhota}}:'''
{{!-}}
{{!}} colspan=3 {{!}}
 
{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
{{!}} {{Cn|{{{hota_troop_1|{{{troop_1}}}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_nmb_1|{{{nmb_1|}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_1|Always}}}
{{!-}}
{{!}} {{{hota_notroop_2|{{{notroop_2|{{Cn|{{{hota_troop_2|{{{troop_2}}}}}}}}
{{!}} style="padding-left:5px; padding-right:5px" {{!}} {{{hota_nmb_2|{{{nmb_2|}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_2|Always}}}
{{!-}}
{{!}} }}}}}}{{Cn|{{{hota_troop_3|{{{troop_3}}}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_nmb_3|{{{nmb_3|}}}}}}
{{!}} style="padding-left:5px" {{!}} {{{hota_chance_3|Always}}}
{{!}}} }}}
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}}
|-
{{{nospell|{{!}} [[File:{{{spell|}}}.png|82px|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]}}}
{{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}}
|-
| colspan=3 align=center bgcolor={{green 2}} | {{{nowar|'''Starts with:'''}}}
|-
{{{nowar|{{!}} [[File:{{{warmachine|}}}.png|50px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}}
{{{nowar|{{!}} colspan=2 {{!}} [[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}}
|}{{{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|}}}]].}}} }}}</includeonly><noinclude>
 
== 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".
 
{|
| <pre>{{Hero
  | town      =  
  | class      =  
  | gender    =  
  | race      =  
  | specialty  =
| s_text    =
| skill_1    =
| skill_2    =
| spell      =
  | warmachine =
}}</pre>
|}
 
If the hero does not have a starting spell or [[war machine]] then the following parameters should be defined without any value:
{|
| <pre>
| nospell    =
| nowar      =</pre>
|}
 
If for some reason pictures of ''hero'' or ''specialty'' does not appear automatically, you can add the following rows:
{|
|<pre> | picture      =
| specialty_pic = </pre>
|}
 
Also, the following lines are available:
{|
|<pre> | name          = </pre>
|}
 
{|  style="width:100%"
| This is an example what the page will look like.
|-
| style="border: 1px solid" | {{Hero
| name      = Adelaide
  | picture    = Adelaide
| town      = Castle
  | class      = Cleric
  | gender     = Female
| 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
| s_text    = Casts [[Frost Ring]] with increased effect, based on hero level compared to the level of the target unit.
  | skill_1    = Advanced Wisdom
| oneskill  =
  | 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      =  
  | nowar      =  
}}
| chance_2   = 75%
 
  | hota_nmb_1 = 300–999
== Specialty ==
| hota_nmb_2 = 44–777
{{hcs table
| hota_nmb_3 = 20–30
| hero = Krellion
| cr   = Ogre
| ucr = Ogre Mage
| batt = 13
| bdef = 7
| ubatt= 13
| ubdef= 7
}}
}}
{{hcs table row|4|1|1|1|1}}
{{hcs table row|8|2|1|2|1}}
{{hcs table row|12|2|2|2|2}}
{{hcs table row|16|3|2|3|2}}
{{hcs table row|20|4|2|4|2}}
{{hcs table row|24|4|3|4|3}}
{{hcs table row|28|5|3|5|3}}
{{hcs table row|32|6|3|6|3}}
{{hcs table row|36|6|4|6|4}}
{{hcs table row|40|7|4|7|4}}
{{hcs table row|44|8|4|8|4}}
{{hcs table row|48|8|5|8|5}}
{{hcs table row|52|9|5|9|5}}
{{hcs table row|56|10|5|10|5}}
{{hcs table row|60|10|6|10|6}}
{{hcs table row|64|11|6|11|6}}
{{hcs table row|68|12|6|12|6}}
{{hcs table row|72|12|7|12|7}}
{{hcs table row|75/88|15|8|15|8}}
|}
|}


{{hero 'see also'}}
[[Category: Hero templates]]
 
[[Category: Misc templates|Hero]]</noinclude>
[[Category: Barbarians]]
__NOTOC__

Revision as of 18:12, 27 March 2020


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 75%
Griffin Griffin 2–3 1/4
Starting troops Horn of the Abyss:
Pikeman Pikeman 300–999 Always
Archer Archer 44–777 Always
Griffin Griffin 20–30 Always
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.