Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
m (increased width of overall box and creature image box)
 
(164 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| style="background-color: #CCCCFF; border-width: 0px; float: {{{float|right}}};" cellpadding="3";
<includeonly>{| cellspacing=0 cellpadding=0 border=0 style="border:1px solid; border-color:rgba(0,0,0,0); background-color:#{{blue 3}}; width:280px; float:{{{float|right}}}; margin-left: {{{m_left|10px}}}; margin-right: {{{m_right|0px}}};"
! colspan=2 bgcolor={{blue 1a}} style="color:white; height:25px;" | {{{Statistics|Statistics}}}
|-
|-
| colspan=5 align=center bgcolor=3250FF style="color:#FFFFFF" | {{{Neutral|'''Level {{{lvl}}} creatures of [[{{{Town}}}|<span style="color:#FFFFFF">{{{Town}}}</span>]]''' }}} <br><span style="color:#FFFFFF; font-size:90%; ">''[[Growth|<span style="color:#FFFFFF">Basic growth</span>]]: {{{Growth}}}''</span>
! bgcolor={{blue 2}} colspan=2 style="color:white;" | {{{Name|{{PAGENAME}}}}}
|-
|-
| colspan="5" align="center" | '''{{{Name}}}'''
| rowspan=2 valign=center style="border: 5px solid #{{blue 3}}; width: 120px"|
 
{| cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
| {{{Image|[[File:Creature {{{Name|{{PAGENAME}}}}}.png]]}}} {{exist|File:Creature {{{Name|}}} (HotA).png|[[File:Creature {{{Name|}}} (HotA).png]]{{-wh}}|}}
|}
 
{| cellspacing=0 cellpadding=0 align=center style="border:1px solid #{{blue 2}}; text-align:center; background-color: #{{Blue 3}}"
! colspan=2 bgcolor={{blue 2}} style="color:white;" | {{-}}Cost per troop{{-}}
|-
| [[File:Resource Gold 20x18.gif]]<br>{{{Cost}}}
| {{{No_res|{{{Res|}}}<br>{{{ResCost|}}} }}}
|}
 
|-
|
 
{| border=0 cellspacing=0 cellpadding=0 style="border:5px solid {{blue 3}}; text-align:left; background-color: #{{Blue 3}}; width:100%"
| [[Primary skill#Attack skill|Attack]]
| {{{Attack|}}}
|-
|-
| rowspan="4" align=center valign=center | [[Image:Creature {{{Image|{{{Name}}}}}}.gif]]
| [[Primary skill#defense skill|Defense]]  
| '''[[Primary skill#attack skill|Attack]]'''
| {{{Defense|}}}
| {{{Attack}}}
| '''[[Speed]]'''
| {{{Speed}}}
|-
|-
| '''[[Primary skill#defense skill|Defense]]'''
| [[Damage]]  
| {{{Defense|{{{Defence}}}}}}
| {{{Damage|}}}
| '''[[Movement (combat)|Movement]]'''
| {{{Movement|}}}  
|-
|-
| '''[[Damage]]'''
| [[Health]]
| {{{Damage}}}
| {{{Health|}}}
| {{{No_shots|'''[[Shots]]'''}}}
| {{{Shots|}}}
|- valign="top"
| '''[[Health]]'''
| {{{Health}}}
| '''[[Cost]]'''
| {{{Cost}}} {{Gold}}
|-
|-
| colspan="5" width=300 | {{{No_spec|'''Special:''' {{{Special}}}}}}  
| [[Speed]]
| {{{Speed|}}}
|-
|-
| colspan="5" align="center" | {{{Onlyone|'''{{{U_name|<noinclude>-</noinclude>}}}'''}}}
| Movement
| {{{Movement|Ground}}}  
|-
|-
| rowspan="4" align=center valign=center | {{{Onlyone|[[Image:Creature {{{U_image|{{{U_name|}}}}}}.gif]] }}}
| Size
| {{{Onlyone|'''[[Primary skill#attack skill|Attack]]''' }}}
| {{{Size|1}}}
| {{{Onlyone|{{{U_attack}}} }}}
{{{No_shots|{{!-}}
| {{{Onlyone|'''[[Speed]]''' }}}
{{!}} [[Shots]]
| {{{Onlyone|{{{U_speed}}} }}}
{{!}} {{{Shots|''N/A''}}} }}}
|-
|-
| {{{Onlyone|'''[[Primary skill#defense skill|Defense]]''' }}}
| Growth
| {{{Onlyone|{{{U_defense|{{{U_defence}}}}}} }}}
| {{{Growth|}}}
| {{{Onlyone|'''[[Movement (combat)|Movement]]''' }}}
| {{{Onlyone|{{{U_movement|}}} }}}
|-
|-
| {{{Onlyone|'''[[Damage]]''' }}}
| [[AI Value]]
| {{{Onlyone|{{{U_damage}}} }}}
| {{{AI_Value|}}}
| {{{Onlyone|{{{No_shots|'''[[Shots]]'''}}} }}}
|}
| {{{Onlyone|{{{U_shots|}}}
 
|- valign="top"
| {{{Onlyone|'''[[Health]]''' }}}
| {{{Onlyone|{{{U_health}}} }}}
| {{{Onlyone|'''[[Cost]]''' }}}
| {{{Onlyone|{{{U_cost}}} {{Gold}} }}}
|-
|-
| colspan="5" width=300 | {{{Onlyone|{{{No_U_spec|'''Special:''' {{{U_special}}} }}} }}}
{{{No_spec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
|}<noinclude>
{{!-}}
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{Special|}}} }}}
{{{Onlyone|{{!-}}
{{!!}} bgcolor={{blue 2}} colspan=2 style="color:white;" {{!}} {{{U_name|}}}
{{!-}} valign=top
{{!}} rowspan=2 style="border: 5px solid #{{blue 3}}; vertical-align: top;" {{!}}
 
{{!T}} cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
{{!}} [[File:Creature {{{U_name|}}}.png]] {{exist|File:Creature {{{U_name|}}} (HotA).png|[[File:Creature {{{U_name|}}} (HotA).png]]{{-wh}}|}}
{{T!}}


== How to use ==
{{!T}} cellspacing=0 cellpadding=0 align=center style="border:1px solid #{{blue 2}}; text-align:center; background-color: #{{Blue 3}}"
Copy the code at the beginning of the creature article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "Town" is not the same as "town".
{{!!}} colspan=2 bgcolor={{blue 2}} style="color:white;" {{!}} {{-}}Cost per troop{{-}}
{{!-}}
{{!}} [[File:Resource Gold 20x18.gif]]<br>{{{U_cost}}}
{{!}} {{{Res|}}}<br>{{{U_ResCost|}}}
{{T!}}
{{!-}} style="vertical-align: top;"
{{!}} style="vertical-align: top;" {{!}} {{!T}} border=0 cellspacing=0 cellpadding=0 style="border:5px solid {{blue 3}}; text-align:left; background-color: #{{Blue 3}}; width:100%; vertical-align: top;"
{{!}} [[Primary skill#Attack skill|Attack]]
{{!}} {{{U_attack|{{{Attack|}}}}}}
{{!-}}
{{!}} [[Primary skill#defense skill|Defense]]
{{!}} {{{U_defense|{{{Defense|}}}}}}
{{!-}}
{{!}} [[Damage]]
{{!}} {{{U_damage|{{{Damage|}}}}}}
{{!-}}
{{!}} [[Health]]
{{!}} {{{U_health|{{{Health|}}}}}}
{{!-}}
{{!}} [[Speed]]
{{!}} {{{U_speed|{{{Speed|}}}}}}
{{!-}}
{{!}} Movement
{{!}} {{{U_movement|{{{Movement|Ground}}}}}}
{{!-}}
{{!}} Size
{{!}} {{{U_size|{{{Size|1}}}}}}
{{{No_ushots|{{!-}}
{{!}} [[Shots]]
{{!}} {{{U_shots|{{{Shots|''N/A''}}}}}} }}}
{{!-}}
{{!}} Growth
{{!}} {{{Growth|}}}
{{!-}}
{{!}} [[AI Value]]
{{!}} {{{U_AI_Value|{{{AI_Value|}}}}}}
{{T!}}


{| style="background: transparent;"  
{{!-}}
| <pre>{{Creature
{{{No_uspec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
  | Town      =  
{{!-}}
  | lvl        =  
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{U_special|{{{Special|}}}}}} }}} }}}
  | Growth    =  
|}</includeonly><noinclude>
  | Name      =  
==Example==
  | Attack    =  
{{Creature
  | Defence   =  
  | AI_Value  = 126
  | Damage    =  
| Name      = Archer
  | Health    =  
| Attack    = 6
  | Speed      =  
| Defense  = 3
  | Movement   =  
  | Speed    = 4
  | Shots      =  
  | Growth   = 9
  | Cost      =  
| Damage    = 2–3
  | Special    =  
| Health    = 10
  | U_name    =  
| Shots     = 12
  | U_attack  =  
| Cost      = 100
  | U_defense  =  
| Special  = • [[Ranged attack]]
  | U_damage  =  
| U_AI_Value= 184
  | U_health  =  
| U_name    = Marksman
  | U_speed    =  
| U_speed  = '''6'''
  | U_movement =  
| U_damage  = 2–3 '''(x2)'''
  | U_shots    =  
| U_shots  = '''24'''
  | U_cost    =  
| U_cost    = 150
| U_special  =
| U_special = • [[Ranged attack]]<br>• '''[[Double attack]]'''
}} </pre>
}}
|}
 
{{Creature
| AI_Value  = 80
  | Name      = Pikeman
| Growth    = 14
  | Attack    = 4
  | Defense   = 5
  | Damage    = 1–3
  | Health    = 10
  | Speed      = 4
  | No_shots   =
  | Special    = • Immune to [[jousting]]
  | Cost      = 60
  | U_AI_Value = 115
  | U_name    = Halberdier
  | U_attack  = '''6'''
  | U_defense  = 5
  | U_damage  = '''2'''–3
  | U_health  = 10
  | U_speed    = '''5'''
  | No_ushots  =
  | U_special  = • Immune to [[jousting]]
  | U_cost    = 75
}}


If only one set of information is needed (e.g. [[neutral creature]]s, you can add the following row with no value:
{{Creature
<pre>
| AI_Value  = 19580</br>''(30501)''{{-wh}}
  | Onlyone    = </pre>
| Growth    = 1
| Name      = Faerie Dragon
| Attack    = 20
| Defense    = 20
| Damage    = 20–30
| Health    = 500
| Speed      = 15
| Movement  = [[Flying]]
| Size      = 2
| No_shots  =
| Res        = [[File: Resource Gem 20x18.gif]]
| ResCost    = 8
| Cost      = 10000
| Special    = • [[Dragon]]<br>• [[Spellcaster]]<br>• Natural [[Magic Mirror]]
  | Onlyone    =
}}


[[Category:Navigational boxes|Creature]]</noinclude>
[[Category: Creature templates]]</noinclude>

Latest revision as of 15:05, 18 June 2024

Example[edit]

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
Statistics
Pikeman
 Horn of the Abyss
 Cost per troop 

60

Attack 4
Defense 5
Damage 1–3
Health 10
Speed 4
Movement Ground
Size 1
Growth 14
AI Value 80
 Special abilities:
• Immune to jousting
Halberdier
 Horn of the Abyss
 Cost per troop 

75

Attack 6
Defense 5
Damage 2–3
Health 10
Speed 5
Movement Ground
Size 1
Growth 14
AI Value 115
 Special abilities:
• Immune to jousting
Statistics
Faerie Dragon
 Cost per troop 

10000

8
Attack 20
Defense 20
Damage 20–30
Health 500
Speed 15
Movement Flying
Size 2
Growth 1
AI Value 19580
(30501) Horn of the Abyss
 Special abilities:
Dragon
Spellcaster
• Natural Magic Mirror