Template:Hero: Difference between revisions
m (specialty images are now normal size and not stretched) |
m (secondary skills to 48px for smoother downscaling, spells no longer have size adjustment) |
||
Line 47: | Line 47: | ||
{| cellpadding=0 cellspacing=0 | {| cellpadding=0 cellspacing=0 | ||
| [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}| | | [[File:{{{skill_1|}}}.png|{{{skill_1|}}}|link={{{skill_1}}}|48px]] | ||
| valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]{{{skill_1+|}}} | | valign=middle colspan=2 | {{-}}[[{{{skill_1|}}}]]{{{skill_1+|}}} | ||
|} | |} | ||
Line 55: | Line 55: | ||
{{!T}} cellpadding=0 cellspacing=0 | {{!T}} cellpadding=0 cellspacing=0 | ||
{{!}} [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2|}}}| | {{!}} [[File:{{{skill_2|}}}.png|{{{skill_2|}}}|link={{{skill_2|}}}|48px]] | ||
{{!}} valign=middle colspan=2 {{!}}{{-}}[[{{{skill_2|}}}]] | {{!}} valign=middle colspan=2 {{!}}{{-}}[[{{{skill_2|}}}]] | ||
{{T!}} }}} | {{T!}} }}} | ||
Line 99: | Line 99: | ||
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}} | | colspan=3 align=center bgcolor={{green 2}} | {{{nospell|'''Starting spell:'''}}} | ||
|- | |- | ||
{{{nospell|{{!}} [[File:{{{spell|}}}.png | {{{nospell|{{!}} [[File:{{{spell|}}}.png|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]}}} | ||
{{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}} | {{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}} | ||
|- | |- |
Revision as of 13:35, 26 January 2024
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 introduced 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|