Template:Hero: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(skill_1+ var added) |
||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; margin-right: | <includeonly>{| border=0 cellpadding=0 cellspacing=0 style="background:#{{green 3}}; border: 1px solid; width:250px; margin-right: 20px; 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|}}} | ||
|- | |- | ||
Line 32: | Line 32: | ||
{| cellpadding=0 cellspacing=0 | {| cellpadding=0 cellspacing=0 | ||
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}|50px]] | | [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}|50px]] | ||
| valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]] | | valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]{{{skill_1+|}}} | ||
|} | |} | ||
Line 61: | Line 61: | ||
| style="padding-left:5px" | {{{chance_3|1/4}}} | | 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:'''}}} | | colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}} | ||
Line 133: | Line 151: | ||
| nmb_3 = 2–3 | | nmb_3 = 2–3 | ||
| nowar = | | nowar = | ||
| chance_2 = | | chance_2 = 75% | ||
| hota_nmb_1 = 300–999 | |||
| hota_nmb_2 = 44–777 | |||
| hota_nmb_3 = 20–30 | |||
}} | }} | ||
|} | |} | ||
[[Category: Hero templates]] | |||
[[Category: Misc templates|Hero]]</noinclude> | [[Category: Misc templates|Hero]]</noinclude> |
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|