无编辑摘要 |
无编辑摘要 |
||
第2行: | 第2行: | ||
! colspan=3 style="height: 25px; background:#{{Green 1}}; color:lightgreen;" | {{{name|{{PAGENAME}}}}} the {{{classname|{{{class|}}}}}} | ! colspan=3 style="height: 25px; background:#{{Green 1}}; color:lightgreen;" | {{{name|{{PAGENAME}}}}} the {{{classname|{{{class|}}}}}} | ||
|- | |- | ||
| colspan=3 align=center bgcolor={{green 2}} | ''' | | colspan=3 align=center bgcolor={{green 2}} | ''' 基本信息:''' | ||
|- | |- | ||
| rowspan=3 | [[File: Hero {{{picture|{{PAGENAME}}}}}.png|58px|{{{name|{{PAGENAME}}}}}]] | | rowspan=3 | [[File: Hero {{{picture|{{PAGENAME}}}}}.png|58px|{{{name|{{PAGENAME}}}}}]] | ||
| style="padding-left:5px" | ''' | | style="padding-left:5px" | ''' 类型:''' | ||
| style="padding-left:5px" | [[{{{class|}}}]] | | style="padding-left:5px" | [[{{{class|}}}]] | ||
|- | |- | ||
| style="padding-left:5px" | ''' | | style="padding-left:5px" | ''' 性别:''' | ||
| style="padding-left:5px" | {{{gender|}}} | | style="padding-left:5px" | {{{gender|}}} | ||
|- | |- | ||
| style="padding-left:5px" | ''' | | style="padding-left:5px" | ''' 种族:''' | ||
| 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 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"> | | colspan=3 align=center bgcolor={{green 2}} | '''[[Hero specialty|<span style="color:black"> 特长</span>]] :''' [[{{{specialty|}}}]] | ||
|- | |- | ||
| colspan=3 | | | colspan=3 | | ||
第26行: | 第26行: | ||
|- | |- | ||
| colspan=3 align=center bgcolor={{green 2}} | ''' | | colspan=3 align=center bgcolor={{green 2}} | ''' 初始基本技能:''' | ||
|- | |- | ||
| colspan=3 | | | colspan=3 | | ||
第42行: | 第42行: | ||
|- | |- | ||
| colspan=3 align=center bgcolor={{green 2}} | ''' | | colspan=3 align=center bgcolor={{green 2}} | ''' 初始辅助技能:''' | ||
|- | |- | ||
| colspan=3 | | | colspan=3 | | ||
第60行: | 第60行: | ||
|- | |- | ||
| colspan=3 align=center bgcolor={{green 2}} | ''' | | colspan=3 align=center bgcolor={{green 2}} | ''' 初始兵力:''' | ||
|- | |- | ||
| colspan=3 | | | colspan=3 | | ||
第79行: | 第79行: | ||
{{{no_hota_starting_troops| | {{{no_hota_starting_troops| | ||
{{!-}} | {{!-}} | ||
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} ''' | {{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} ''' 初始兵力 {{withhota}} :''' | ||
{{!-}} | {{!-}} | ||
{{!}} colspan=3 {{!}} | {{!}} colspan=3 {{!}} | ||
第97行: | 第97行: | ||
{{!}}} }}} | {{!}}} }}} | ||
|- | |- | ||
| colspan=3 align=center bgcolor={{green 2}} | {{{nospell|''' | | colspan=3 align=center bgcolor={{green 2}} | {{{nospell|''' 初始技能:'''}}} | ||
|- | |- | ||
{{{nospell|{{!}} [[File:{{{spell|}}}.png|82px|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]}}} | {{{nospell|{{!}} [[File:{{{spell|}}}.png|82px|{{{spell|}}}|link={{{s_link|{{{spell}}}}}}]]}}} | ||
{{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}} | {{{nospell|{{!}} colspan=2 {{!}} [[{{{s_link|{{{spell}}}}}}|{{{spell}}}]]}}} | ||
|- | |- | ||
| colspan=3 align=center bgcolor={{green 2}} | {{{nowar|''' | | colspan=3 align=center bgcolor={{green 2}} | {{{nowar|''' 初始拥有:'''}}} | ||
|- | |- | ||
{{{nowar|{{!}} [[File:{{{warmachine|}}}.png|50px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}} | {{{nowar|{{!}} [[File:{{{warmachine|}}}.png|50px|{{{warmachine|}}}|link={{{s_link|{{{warmachine}}}}}}]]}}} | ||
第111行: | 第111行: | ||
{{{s_hota_mp| | {{{s_hota_mp| | ||
{{!-}} | {{!-}} | ||
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} ''' | {{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} ''' 初始[[ 移动| 移动点数]] :''' | ||
{{!-}} | {{!-}} | ||
{{!}} colspan=3 {{!}} | {{!}} colspan=3 {{!}} | ||
{{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;" | {{{!}} border=0 cellspacing=0 cellpadding=0 style="border: 0px solid;" | ||
{{!}} align=center width=89 {{!}} {{{s_min| | {{!}} align=center width=89 {{!}} {{{s_min| 最小值}}} | ||
{{!}} align=center width=85 {{!}} {{{s_max| | {{!}} align=center width=85 {{!}} {{{s_max| 最大值}}} | ||
{{!}} align=center width=89 {{!}} {{{s_hota| | {{!}} align=center width=89 {{!}} {{{s_hota| 深渊号角}}} {{withhota}} | ||
{{!-}} | {{!-}} | ||
{{!}} align=center width=89 {{!}} {{{min_mp|}}} | {{!}} align=center width=89 {{!}} {{{min_mp|}}} | ||
第127行: | 第127行: | ||
{{{s_mp| | {{{s_mp| | ||
{{!-}} | {{!-}} | ||
{{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} ''' | {{!}} colspan=3 align=center bgcolor={{green 2}} {{!}} ''' 初始[[ 移动| 移动点数]] :''' | ||
{{!-}} | {{!-}} | ||
{{!}} colspan=3 {{!}} | {{!}} colspan=3 {{!}} | ||
第244行: | 第244行: | ||
| hota_mp = Integer | | hota_mp = Integer | ||
| s_mp = String | | s_mp = String | ||
| warmachine = String | |||
}} | }} | ||
[[Category: Hero templates]] | [[Category: Hero templates]] | ||
[[Category: Misc templates|Hero]]</noinclude> | [[Category: Misc templates|Hero]]</noinclude> |
2023年7月7日 (五) 03:13的版本
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”。 查看表格.