Template:Hero: Difference between revisions
(skill_1+ var added) |
No edit summary |
||
Line 90: | Line 90: | ||
{{{nowar|{{!}} [[File:{{{warmachine|}}}.png|50px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}} | {{{nowar|{{!}} [[File:{{{warmachine|}}}.png|50px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}} | ||
{{{nowar|{{!}} colspan=2 {{!}} [[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}} | {{{nowar|{{!}} colspan=2 {{!}} [[{{{s_link|{{{warmachine}}}}}}|{{{warmachine}}}]]}}} | ||
{{{s_hota_mp| | |||
{{!-}} | |||
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting [[Movement|movement points]]:''' | |||
{{!-}} | |||
{{!}} colspan=3 {{!}} | |||
{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;" | |||
{{!}} align=center width=85 {{!}} {{{s_min|Minimum}}} | |||
{{!}} align=center width=80 {{!}} {{{s_max|Maximum}}} | |||
{{!}} align=center width=85 {{!}} {{{s_hota|HotA}}} {{withhota}} | |||
{{!-}} | |||
{{!}} align=center width=85 {{!}} {{{min_mp|}}} | |||
{{!}} align=center width=80 {{!}} {{{max_mp|}}} | |||
{{!}} align=center width=85 {{!}} {{{hota_mp|}}} | |||
{{!}}} }}} | |||
|- | |||
{{{s_mp| | |||
{{!-}} | |||
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} '''Starting [[Movement|movement points]]:''' | |||
{{!-}} | |||
{{!}} colspan=3 {{!}} | |||
{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;" | |||
{{!}} align=center width=250 {{!}} {{{s_hota_mp|}}} | |||
{{!}}} }}} | |||
|}{{{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> | |}{{{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> | ||
Line 107: | Line 133: | ||
| spell = | | spell = | ||
| warmachine = | | warmachine = | ||
| min_mp = | |||
| max_mp = | |||
| hota_mp = | |||
| s_mp = | |||
}}</pre> | }}</pre> | ||
|} | |} | ||
Line 115: | Line 145: | ||
| nospell = | | nospell = | ||
| nowar =</pre> | | nowar =</pre> | ||
|} | |||
For all heroes amount of starting movement points depends on their starting army: if they got a slow creature in starting army - they start with less movement points. In [[HotA]]{{-wh}} all heroes are guaranteed to start with a certain set of creatures, so their starting movement points are constant. For all heroes that were intouced in HotA{{-wh}} parameter s_mp must be replaced with s_hota_mp with defined value. | |||
{| | |||
| <pre> | s_hota_mp = </pre> | |||
|} | |} | ||
Line 155: | Line 190: | ||
| hota_nmb_2 = 44–777 | | hota_nmb_2 = 44–777 | ||
| hota_nmb_3 = 20–30 | | hota_nmb_3 = 20–30 | ||
}} | | min_mp = 1560 | ||
| max_mp = 1560 | |||
| hota_mp = 1560 | |||
| s_mp = 1560 | |||
}} | |||
|} | |} | ||
[[Category: Hero templates]] | [[Category: Hero templates]] | ||
[[Category: Misc templates|Hero]]</noinclude> | [[Category: Misc templates|Hero]]</noinclude> |
Revision as of 22:12, 31 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 = | min_mp = | max_mp = | hota_mp = | s_mp = }} |
If the hero does not have a starting spell or war machine then the following parameters should be defined without any value:
| nospell = | nowar = |
For all heroes amount of starting movement points depends on their starting army: if they got a slow creature in starting army - they start with less movement points. In HotA all heroes are guaranteed to start with a certain set of creatures, so their starting movement points are constant. For all heroes that were intouced in HotA parameter s_mp must be replaced with s_hota_mp with defined value.
| s_hota_mp = |
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1560
|