Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(136 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| cellspacing=0 cellpadding=0 style="background-color: #{{Blue 3}}; border: 1px solid; text-align:left; width:350px; float:{{{float|right}}};"
<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=5 align=center bgcolor=#{{Blue 1}} style="color:white" | {{{Neutral|'''Level {{{lvl}}} creatures of [[{{{Town}}}|<span style="color:#FFF">{{{Town}}}</span>]]''' }}} <br><span style="color:#FFF; font-size:90%; ">''[[Growth|<span style="color:#FFF">Basic growth</span>]]: {{{Growth}}}''</span>
! colspan=2 bgcolor={{blue 1a}} style="color:white; height:25px;" | {{{Statistics|Statistics}}}
|-
|-
!           align=center bgcolor={{blue 2}} | {{{Name|{{PAGENAME}}}}}
! bgcolor={{blue 2}} colspan=2 style="color:white;" | {{{display_name|{{{Name|{{PAGENAME}}}}}}}}
! colspan=4 align=center bgcolor={{blue 2}} | Stats
|-
|-
| rowspan=6 align=center valign=center style="border:5px solid #{{blue 3}}" | [[Image: Creature {{{Image|{{{Name|{{PAGENAME}}}}}}}}.gif]]
| rowspan=2 valign=center style="padding: 5px; width: 120px"|
| style="height:19px" | '''[[Primary skill#attack skill|Attack]]'''
 
| {{{Attack}}}
{| cellspacing=0 cellpadding=0 align=center style="padding-bottom: 5px;"
| '''[[Speed]]'''
| {{{Image|[[File:Creature {{{Name|{{PAGENAME}}}}}.png]]}}} {{exist|File:Creature {{{Name|}}} (HotA).png|[[File:Creature {{{Name|}}} (HotA).png]]{{-wh}}|}}
| {{{Speed}}}
|}
 
{| 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|}}} }}}
|}
 
|-
|-
| style="height:19px" | '''[[Primary skill#defense skill|Defense]]'''
|  
| {{{Defense|{{{Defence}}}}}}
 
| '''[[Movement (combat)|Movement]]'''
{| border=0 cellspacing=0 cellpadding=0 style="text-align:left; padding-bottom: 5px; width:100%"
| {{{Movement|}}}  
| [[Primary skill#Attack skill|Attack]]
| {{{Attack|}}}
|-
|-
| style="height:19px" | '''[[Damage]]'''
| [[Primary skill#defense skill|Defense]]  
| {{{Damage}}}
| {{{Defense|}}}
| {{{No_shots|'''[[Shots]]'''}}}
| {{{Shots|}}}
|- valign="top"
| '''[[Health]]'''
| {{{Health}}}
| '''Size'''
| {{{Size|}}}
|-
|-
| '''[[Cost]]'''
| [[Damage]]  
| colspan=4 | {{{Cost}}} {{Gold}}
| {{{Damage|}}}
|-
|-
| colspan=5 | {{{No_spec|'''Special:''' {{{Special}}}}}}  
| [[Health]]
| {{{Health|}}}
|-
|-
{{{Onlyone|
| [[Speed]]
{{!}} align=center bgcolor={{blue 2}} {{!}} '''{{{Name|{{PAGENAME}}}}}'''
| {{{Speed|}}}
{{!}} colspan=4 align=center bgcolor={{blue 2}} {{!}} '''Stats'''  
|-
| Movement
| {{{Movement|Ground}}}
|-
| Size
| {{{Size|1}}}
{{{No_shots|{{!-}}
{{!}} [[Shots]]
{{!}} {{{Shots|''N/A''}}} }}}
|-
| Growth
| {{{Growth|}}}
|-
| [[AI Value]]
| {{{AI_Value|}}}
|}
 
|-
{{{No_spec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{!-}}
{{!-}}
{{!}} rowspan=6 align=center valign=center style="border:5px solid #{{blue 3}}" {{!}} [[File:Creature {{{U_image|{{{U_name|}}}}}}.gif]]
{{!}} colspan=2 style="padding: 5px; ; padding-top: 0px" {{!}} {{{Special|}}} }}}
{{!}} '''[[Primary skill#attack skill|Attack]]'''
{{{Onlyone|{{!-}}
{{!}} {{{U_attack}}}
{{!!}} bgcolor={{blue 2}} colspan=2 style="color:white;" {{!}} {{{U_name|}}}
{{!}} '''[[Speed]]'''
{{!-}} valign=top
{{!}} {{{U_speed}}}
{{!}} rowspan=2 style="padding: 5px; vertical-align: top;" {{!}}
 
{{!T}} cellspacing=0 cellpadding=0 align=center style="padding-bottom: 5px;"
{{!}} [[File:Creature {{{U_name|}}}.png]] {{exist|File:Creature {{{U_name|}}} (HotA).png|[[File:Creature {{{U_name|}}} (HotA).png]]{{-wh}}|}}
{{T!}}
 
{{!T}} 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>{{{U_cost}}}
{{!}} {{{Res|}}}<br>{{{U_ResCost|}}}
{{T!}}
{{!-}} style="vertical-align: top;"
{{!}} style="vertical-align: top;" {{!}} {{!T}} border=0 cellspacing=0 cellpadding=0 style="text-align:left; padding-bottom: 5px; 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}}}}}}
{{!-}}
{{!-}}
{{!}} '''[[Primary skill#defense skill|Defense]]'''
{{!}} Size
{{!}} {{{U_defense|{{{U_defence}}}}}}
{{!}} {{{U_size|{{{Size|1}}}}}}
{{!}} '''[[Movement (combat)|Movement]]'''
{{{No_ushots|{{!-}}
{{!}} {{{U_movement|}}}
{{!}} [[Shots]]
{{!}} {{{U_shots|{{{Shots|''N/A''}}}}}} }}}
{{!-}}
{{!-}}
{{!}} '''[[Damage]]'''
{{!}} Growth
{{!}} {{{U_damage}}}
{{!}} {{{Growth|}}}
{{!}} {{{No_shots|'''[[Shots]]'''}}}
{{!-}}
{{!}} {{{U_shots|}}}
{{!}} [[AI Value]]
{{!}} {{{U_AI_Value|{{{AI_Value|}}}}}}
{{T!}}
 
{{!-}}
{{!-}}
{{!}} '''[[Health]]'''
{{{No_uspec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{!}} {{{U_health}}}
{{!}} '''Size'''  
{{!}} {{{U_size|}}}
{{!-}}
{{!-}}
{{!}} '''[[Cost]]'''
{{!}} colspan=2 style="padding: 5px; padding-top: 0px" {{!}} {{{U_special|{{{Special|}}}}}} }}} }}}
{{!}} colspan=4 {{!}} {{{U_cost}}} {{Gold}}
{{!-}}
{{!-}}
{{!}} colspan=5 {{!}} {{{No_U_spec|'''Special:''' {{{U_special}}} }}} }}}<!-- ONLYONE PRAMETER ENDING !-->
{{!!}} colspan=2 bgcolor={{blue 1a}} style="color:white; height:25px;" {{!}} Portraits
|}<noinclude>
{| border=0 cellspacing=5 cellpadding=0 style="padding:5px; text-align:center; background-color: #{{Blue 3}}; color:black; width:100%"
|-
| [[File:{{{Name}}} portrait.gif]] {{exist|File:{{{Name}}} portrait (HotA).gif|[[File:{{{Name}}} portrait (HotA).gif]]|}}
| {{#switch: {{{Onlyone|x}}}| = style="display: none;" | }} | [[File:{{{U_name}}} portrait.gif]] {{exist|File:{{{U_name}}} portrait (HotA).gif|[[File:{{{U_name}}} portrait (HotA).gif]]|}}
|-
| {{exist|File:Mini Portrait {{{Name}}} (HotA).png|{{ws-}}|{{exist|File:{{{Name}}} portrait (HotA).gif|{{ws-}}}}}}[[File:Mini Portrait {{{Name}}}.png]] {{exist|File:Mini Portrait {{{Name|}}} (HotA).png|[[File:Mini Portrait {{{Name|}}} (HotA).png]]{{-wh}}|{{exist|File:{{{Name}}} portrait (HotA).gif|{{-wh}}}}}}
| {{#switch: {{{Onlyone|x}}}| = style="display: none;" | }} | {{exist|File:Mini Portrait {{{U_name}}} (HotA).png|{{ws-}}|{{exist|File:{{{U_name}}} portrait (HotA).gif|{{ws-}}}}}}[[File:Mini Portrait {{{U_name}}}.png]] {{exist|File:Mini Portrait {{{U_name|}}} (HotA).png|[[File: Mini Portrait {{{U_name|}}} (HotA).png]]{{-wh}}|{{exist|File:{{{U_name}}} portrait (HotA).gif|{{-wh}}}}}}
|}
|}</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]]'''
}}


== How to use ==
{{Creature
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".
| 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
}}


{| style="background: transparent;"
{{Creature
| <pre>{{Creature
  | AI_Value  = 55
  | Town      =
  | Growth    = 20 [[Garden of Life|(+10)]]
| lvl        =  
  | Name      = Pixie
  | Growth    =  
  | Attack    = 2
  | Name      =  
  | Defense    = 2
  | Attack    =  
  | Damage    = 1–2
  | Defense    =  
  | Health    = 3
  | Damage    =  
  | Speed      = 7
  | Health    =  
  | Movement  = [[Flying]]
  | Speed      =  
  | No_shots  =  
  | Movement  =  
  | Cost      = 25
  | Shots      =  
  | No_spec   =  
  | Cost      =  
  | U_AI_Value = 95
  | Special   =  
  | U_name    = Sprite
  | U_name    =  
  | U_damage  = 1–'''3'''
  | U_attack  =
  | U_speed    = '''9'''
| U_defense  =  
  | No_ushots =  
  | U_damage  =  
  | U_cost    = 30
| U_health  =
  | U_special  = • '''No enemy [[retaliation]]'''
  | U_speed    =  
}}
  | U_movement =
  | U_shots    =  
  | U_cost    =  
  | U_special  =  
}} </pre>
|}


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:Templates|{{PAGENAME}}]]</noinclude>
[[Category: Creature templates]]</noinclude>

Latest revision as of 10:07, 23 September 2024

Example[edit | hide | hide all]

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
Portraits
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
Portraits
Shadow of Death   Horn of the Abyss Shadow of Death   Horn of the Abyss
Statistics
Pixie
 Cost per troop 

25

Attack 2
Defense 2
Damage 1–2
Health 3
Speed 7
Movement Flying
Size 1
Growth 20 (+10)
AI Value 55
Sprite
 Cost per troop 

30

Attack 2
Defense 2
Damage 1–3
Health 3
Speed 9
Movement Flying
Size 1
Growth 20 (+10)
AI Value 95
 Special abilities:
No enemy retaliation
Portraits
Shadow of Death   Horn of the Abyss Shadow of Death   Horn of the Abyss
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
Portraits
[[File:{{{U_name}}} portrait.gif]] [[File:{{{U_name}}} portrait (HotA).gif]]
Shadow of Death   Horn of the Abyss Shadow of Death [[File:Mini Portrait {{{U_name}}}.png]]  Horn of the Abyss