Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Remove the need for placeholder)
(Add example, hide base template)
Line 1: Line 1:
{| cellspacing=0 cellpadding=0 border=0 style="border:1px solid; border-color:rgba(0,0,0,0); background-color:#{{blue 3}}; width:240px; float:{{{float|right}}}; margin-left: {{{m_left|10px}}}; margin-right: {{{m_right|0px}}};"
<includeonly>{| cellspacing=0 cellpadding=0 border=0 style="border:1px solid; border-color:rgba(0,0,0,0); background-color:#{{blue 3}}; width:240px; float:{{{float|right}}}; margin-left: {{{m_left|10px}}}; margin-right: {{{m_right|0px}}};"
! colspan=2 bgcolor={{blue 1}} style="color:white; height:25px;" | {{{Statistics|Statistics}}}
! colspan=2 bgcolor={{blue 1}} style="color:white; height:25px;" | {{{Statistics|Statistics}}}
|-
|-
Line 108: Line 108:
{{!-}}
{{!-}}
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{U_special|{{{Special|}}}}}} }}} }}}
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{U_special|{{{Special|}}}}}} }}} }}}
|}<noinclude>
|}</includeonly><noinclude>
==Example==
{{Creature
| AI_Value  = 126
| Name      = Archer
| Attack    = 6
| Defense  = 3
| Speed    = 4
| Growth    = 9
| Damage    = 2–3
| Health    = 10
| Shots    = 12
| Cost      = 100
| Special  = • [[Ranged attack]]
| U_AI_Value= 184
| U_name    = Marksman
| U_speed  = '''6'''
| U_damage  = 2–3 '''(x2)'''
| U_shots  = '''24'''
| U_cost    = 150
| U_special = • [[Ranged attack]]<br>• '''[[Double attack]]'''
}}
[[Category: Creature templates]]</noinclude>
[[Category: Creature templates]]</noinclude>

Revision as of 15:33, 12 December 2023

Example

Statistics
Archer
 Cost per troop 

100

Attack 6
Defense 3
Damage 2–3
Health 10
Speed 4
Movement Ground
Size 1
Shots 12
Growth 9
AI Value 126
 Special abilities:
Ranged attack
Marksman
 Cost per troop 

150

Attack 6
Defense 3
Damage 2–3 (x2)
Health 10
Speed 6
Movement Ground
Size 1
Shots 24
Growth 9
AI Value 184
 Special abilities:
Ranged attack
Double attack