User:ShushMaster/Test2: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
ShushMaster (talk | contribs)
No edit summary
ShushMaster (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>| {{-}}{{{1}}}{{-}}
<includeonly>{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; margin-right: 15px; float:{{{float|left}}}"
| valign=middle align=middle |
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:white" | {{{name|{{PAGENAME}}}}} the {{{class|}}}
{| style="text-align:center; background:{{Grey 4}};"
|-
| [[Image: Creature portrait {{{2}}} small.gif|{{{2}}}|link={{{2}}}]]<br>{{{3}}}
| colspan=3 align=center bgcolor={{green 2}} | '''Basic information:'''
| {{{T1|[[Image: Creature portrait {{{4}}} small.gif|{{{4}}}|link={{{4}}}]]<br>{{{5}}}}}}
|-
| {{{T1|{{{T2|[[Image: Creature portrait {{{6}}} small.gif|{{{6}}}|link={{{6}}}]]<br>{{{7}}}}}}}}}
| rowspan=3 | [[File: Hero {{{picture|{{PAGENAME}}}}}.png|82px|{{{name|{{PAGENAME}}}}}]]
| {{{T1|{{{T2|{{{T3|[[Image: Creature portrait {{{8}}} small.gif|{{{8}}}|link={{{8}}}]]<br>{{{9}}}}}}}}}}}}
| style="padding-left:5px" width=10 | '''Class:'''
| {{{T1|{{{T2|{{{T3|{{{T4|[[Image: Creature portrait {{{10}}} small.gif|{{{10}}}|link={{{10}}}]]<br>{{{11}}}}}}}}}}}}}}}
| style="padding-left:5px"          | [[{{{class|}}}]]
|-
| style="padding-left:5px"         | '''Gender:'''
| style="padding-left:5px"          | {{{gender|}}}
|-
| style="padding-left:5px"          | '''Race:'''
| style="padding-left:5px"          | {{{race|}}}
|-
| colspan=3 valign=top style="padding-left:3px; padding-right:3px; font-size:90%;" | ''{{{biography|}}}''
|-
| 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|}}}]]
|}
 
|-
{{{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}}}
|}
|}
| {{{12|{{{10|{{{8|{{{6|{{{4}}}}}}}}}}}}}}}
{{{no_hota_starting_troops|
|-</includeonly><noinclude>
{{!-}}
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting troops {{withhota}}:'''
{{!-}}
{{!}} colspan=3 {{!}}  


{{Creature bank}}
{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;"
{{Creature bank row|''<Chance percentage>''|Pikeman|''<Number of creatures>''|''<Informative text>''}}
{{!}} {{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>


== See also ==
== How to use ==
* [[:Template: Creature bank]]
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      =
| chance_2  = 75%
| hota_nmb_1 = 300–999
| hota_nmb_2 = 44–777
| hota_nmb_3 = 20–30
}}
|}


[[Category: Table templates|{{PAGENAME}}]]
[[Category: Hero templates]]
</noinclude>
[[Category: Misc templates|Hero]]</noinclude>

Revision as of 05:21, 28 August 2018


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:
AdelaideAdelaide 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 RingSpecialty Frost Ring Casts Frost Ring with increased effect, based on hero level compared to the level of the target unit.
Level:
  Level  
Primary Skills:
Attack 1 Defense 0 Spell Power 2 Knowledge 2
Secondary Skills:
Wisdom Advanced Wisdom
[[File:{{{skill_2}}} _small.png link=]] {{{skill_2}}} [[]]
[[File:{{{skill_3}}} _small.png link=]] {{{skill_3}}} [[]]
[[File:{{{skill_4}}} _small.png link=]] {{{skill_4}}} [[]]
[[File:{{{skill_5}}} _small.png link=]] {{{skill_5}}} [[]]
[[File:{{{skill_6}}} _small.png link=]] {{{skill_6}}} [[]]
[[File:{{{skill_7}}} _small.png link=]] {{{skill_7}}} [[]]
[[File:{{{skill_8}}} _small.png link=]] {{{skill_8}}} [[]]
Troops:
PikemanPikeman Pikeman 10–20 Always
ArcherArcher Archer 4–7 75%
GriffinGriffin Griffin 2–3 Always Horn of the Abyss25% Shadow of Death
[[File:Mini Portrait {{{troop_4}}} (HotA).png|{{{troop_4}}}|link={{{troop_4}}}]][[File:Mini Portrait {{{troop_4}}}.png|{{{troop_4}}}|link={{{troop_4}}}]] [[{{{troop_4}}}|{{{troop_4}}}]] Always
[[File:Mini Portrait {{{troop_5}}} (HotA).png|{{{troop_5}}}|link={{{troop_5}}}]][[File:Mini Portrait {{{troop_5}}}.png|{{{troop_5}}}|link={{{troop_5}}}]] [[{{{troop_5}}}|{{{troop_5}}}]] Always
[[File:Mini Portrait {{{troop_6}}} (HotA).png|{{{troop_6}}}|link={{{troop_6}}}]][[File:Mini Portrait {{{troop_6}}}.png|{{{troop_6}}}|link={{{troop_6}}}]] [[{{{troop_6}}}|{{{troop_6}}}]] Always
[[File:Mini Portrait {{{troop_7}}} (HotA).png|{{{troop_7}}}|link={{{troop_7}}}]][[File:Mini Portrait {{{troop_7}}}.png|{{{troop_7}}}|link={{{troop_7}}}]] [[{{{troop_7}}}|{{{troop_7}}}]] Always
Spell:
Frost Ring Frost Ring
War Machine:
[[File:Mini Portrait .png link=]][[File:Mini Portrait .png link=]] [[|]] Always Horn of the Abyss88% Shadow of Death
Starting Movement Points: