无编辑摘要 |
无编辑摘要 |
||
第134行: | 第134行: | ||
{{!}} align=center width=250 {{!}} {{{s_hota2_mp|}}} | {{!}} align=center width=250 {{!}} {{{s_hota2_mp|}}} | ||
{{!}}} }}} | {{!}}} }}} | ||
|}{{{notext|'''{{{name_zh|{{PAGENAME}}}}}''' - [[{{{class}}}]]是一位来自[[{{{town}}}]]的[[英雄列表|英雄]]。{{{nospell|{{{name_zh|{{PAGENAME}}}}}开局时携带[[魔法书]]及技能[[{{{spell|}}}]]。}}} }}}</includeonly><noinclude> | |}{{{notext|'''{{{name_zh|{{PAGENAME}}}}}''' - [[{{{class}}}]]是一位来自[[{{{town}}}]]的[[英雄列表|英雄]]。{{{nospell|{{{name_zh|{{PAGENAME}}}}}开局时携带[[魔法书]]及技能[[{{{spell|}}}]]。}}} }}}{{#cargo_store: | ||
_table = hero | |||
| name = {{{name}}} | |||
| picture = [[File: Hero {{{picture|{{PAGENAME}}}}}.png|58px|{{{name_zh|{{PAGENAME}}}}}]] | |||
| town = {{{town}}} | |||
| class = {{{class}}} | |||
| gender = {{{gender}}} | |||
| race = {{{race}}} | |||
| biography = {{{biography}}} | |||
| specialty = {{{specialty}}} | |||
| s_text = {{{s_text}}} | |||
| skill_1 = {{{oneskill}}} | |||
| oneskill = {{{oneskill}}} | |||
| spell = {{{spell}}} | |||
| troop_1 = {{{troop_1}}} | |||
| troop_2 = {{{troop_2}}} | |||
| troop_3 = {{{troop_3}}} | |||
| nmb_1 = {{{nmb_1}}} | |||
| nmb_2 = {{{nmb_2}}} | |||
| nmb_3 = {{{nmb_3}}} | |||
| nowar = {{{nowar}}} | |||
| chance_2 = {{{chance_2}}} | |||
| hota_nmb_1 = {{{hota_nmb_1}}} | |||
| hota_nmb_2 = {{{hota_nmb_2}}} | |||
| hota_nmb_3 = {{{hota_nmb_3}}} | |||
| min_mp = {{{min_mp}}} | |||
| max_mp = {{{max_mp}}} | |||
| hota_mp = {{{hota_mp}}} | |||
| s_mp = {{{s_mp}}} | |||
| warmachine = {{{warmachine}}} | |||
| name_zh = {{{name_zh}}} | |||
| biography_zh = {{{biography_zh}}} | |||
| s_text_zh = {{{s_text_zh}}} | |||
}}</includeonly><noinclude> | |||
== How to use == | == How to use == | ||
第218行: | 第251行: | ||
_table = hero | _table = hero | ||
| name = String | | name = String | ||
| picture = | | picture = Wikitext string | ||
| town = String | | town = String | ||
| class = Cleric | | class = Cleric |
2023年7月7日 (五) 04:12的版本
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
此模板定义表格“hero”。 查看表格.