Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
Remove exist template that would hide missing pictures
mNo edit summary
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<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}}};"
<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 1}} style="color:white; height:25px;" | {{{Statistics|Statistics}}}
! colspan=2 bgcolor={{blue 1a}} style="color:white; height:25px;" | {{{Statistics|Statistics}}}
|-
|-
! bgcolor={{blue 2}} colspan=2 style="color:white;" | {{{Name|{{PAGENAME}}}}}
! bgcolor={{blue 2}} colspan=2 style="color:white;" | {{{display_name|{{{Name|{{PAGENAME}}}}}}}}
|-
|-
| rowspan=2 valign=center style="border: 5px solid #{{blue 3}}; width: 105px"|
| rowspan=2 valign=center style="padding: 5px; width: 100px"|


{| cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
<div align=center style="position:relative;z-index:5;">{{{Image|[[File:creatureBackground {{{Faction|}}}.png|link=]]}}}
| {{{Image|[[File:Creature {{{Name|{{PAGENAME}}}}}.gif]]}}}
<div style="position:absolute;z-index:10;bottom:4px;">{{swh|{{exist|File:Creature {{{Name|}}} (HotA).png|[[File:Creature {{{Name|}}} (HotA).png]]|{{{Image|[[File:Creature {{{Name|{{PAGENAME}}}}}.png]]}}}}}|{{{Image|[[File:Creature {{{Name|{{PAGENAME}}}}}.png]]}}}|noicon=}}</div></div>
|}


{| cellspacing=0 cellpadding=0 align=center style="border:1px solid #{{blue 2}}; text-align:center; background-color: #{{Blue 3}}"
{| cellspacing=0 cellpadding=0 align=center style="border:1px solid #{{blue 2}}; text-align:center; background-color: #{{Blue 3}}"
Line 20: Line 19:
|  
|  


{| border=0 cellspacing=0 cellpadding=0 style="border:5px solid {{blue 3}}; text-align:left; background-color: #{{Blue 3}}; width:100%"
{| border=0 cellspacing=0 cellpadding=0 style="text-align:left; padding-bottom: 5px; width:100%"
| [[Primary skill#Attack skill|Attack]]
| [[Primary skill#Attack skill|Attack]]
| {{{Attack|}}}
| {{{Attack|}}}
Line 55: Line 54:
{{{No_spec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{{No_spec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{!-}}
{{!-}}
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{Special|}}} }}}
{{!}} colspan=2 style="padding: 5px; ; padding-top: 0px" {{!}} {{{Special|}}} }}}
{{{Onlyone|{{!-}}
{{{Onlyone|{{!-}}
{{!!}} bgcolor={{blue 2}} colspan=2 style="color:white;" {{!}} {{{U_name|}}}
{{!!}} bgcolor={{blue 2}} colspan=2 style="color:white;" {{!}} {{{U_name|}}}
{{!-}} valign=top  
{{!-}} valign=top  
{{!}} rowspan=2 style="border: 5px solid #{{blue 3}}; vertical-align: top;" {{!}}
{{!}} rowspan=2 style="padding: 5px; vertical-align: top;" {{!}}


{{!T}} cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
<div align=center style="position:relative;z-index:5;">{{{Image|[[File:creatureBackground {{{Faction|}}}.png|link=]]}}}
{{!}} [[File:Creature {{{U_name|}}}.gif]]
<div style="position:absolute;z-index:10;bottom:4px;">{{swh|{{exist|File:Creature {{{U_name|}}} (HotA).png|[[File:Creature {{{U_name|}}} (HotA).png]]|{{{Image|[[File:Creature {{{U_name|{{PAGENAME}}}}}.png]]}}}}}|{{{Image|[[File:Creature {{{U_name|{{PAGENAME}}}}}.png]]}}}|noicon=}}</div></div>
{{T!}}


{{!T}} cellspacing=0 cellpadding=0 align=center style="border:1px solid #{{blue 2}}; text-align:center; background-color: #{{Blue 3}}"
{{!T}} cellspacing=0 cellpadding=0 align=center style="border:1px solid #{{blue 2}}; text-align:center; background-color: #{{Blue 3}}"
Line 72: Line 70:
{{T!}}
{{T!}}
{{!-}} style="vertical-align: top;"
{{!-}} 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;"
{{!}} 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]]
{{!}} [[Primary skill#Attack skill|Attack]]
{{!}} {{{U_attack|{{{Attack|}}}}}}
{{!}} {{{U_attack|{{{Attack|}}}}}}
Line 107: Line 105:
{{{No_uspec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{{No_uspec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{!-}}
{{!-}}
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{U_special|{{{Special|}}}}}} }}} }}}
{{!}} colspan=2 style="padding: 5px; padding-top: 0px" {{!}} {{{U_special|{{{Special|}}}}}} }}} }}}
{{!-}}
{{!!}} colspan=2 bgcolor={{blue 1a}} style="color:white; height:25px;" {{!}} Portraits
{| border=0 cellspacing=5 cellpadding=0 style="padding:5px; text-align:center; background-color: #{{Blue 3}}; color:black; width:100%"
|-
| [[File:{{{Name}}} portrait.png]] {{exist|File:{{{Name}}} portrait (HotA).png|[[File:{{{Name}}} portrait (HotA).png]]|}}
| {{#switch: {{{Onlyone|x}}}| = style="display: none;" | }} | [[File:{{{U_name}}} portrait.png]] {{exist|File:{{{U_name}}} portrait (HotA).png|[[File:{{{U_name}}} portrait (HotA).png]]|}}
|-
| {{exist|File:Mini Portrait {{{Name}}} (HotA).png|{{ws-}}|{{exist|File:{{{Name}}} portrait (HotA).png|{{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).png|{{-wh}}}}}}
| {{#switch: {{{Onlyone|x}}}| = style="display: none;" | }} | {{exist|File:Mini Portrait {{{U_name}}} (HotA).png|{{ws-}}|{{exist|File:{{{U_name}}} portrait (HotA).png|{{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).png|{{-wh}}}}}}
|}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
==Example==
==Example==
Line 113: Line 121:
  | AI_Value  = 126
  | AI_Value  = 126
  | Name      = Archer
  | Name      = Archer
| Faction  = Castle
  | Attack    = 6
  | Attack    = 6
  | Defense  = 3
  | Defense  = 3
Line 130: Line 139:
  | U_special = • [[Ranged attack]]<br>• '''[[Double attack]]'''
  | U_special = • [[Ranged attack]]<br>• '''[[Double attack]]'''
}}
}}
{{Creature
| AI_Value  = 80
| Name      = Pikeman
| Faction    = Castle
| 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
}}
{{Creature
| AI_Value  = 55
| Growth    = 20 [[Garden of Life|(+10)]]
| Name      = Pixie
| Faction    = Conflux
| Attack    = 2
| Defense    = 2
| Damage    = 1–2
| Health    = 3
| Speed      = 7
| Movement  = [[Flying]]
| No_shots  =
| Cost      = 25
| No_spec    =
| U_AI_Value = 95
| U_name    = Sprite
| U_damage  = 1–'''3'''
| U_speed    = '''9'''
| No_ushots  =
| U_cost    = 30
| U_special  = • '''No enemy [[retaliation]]'''
}}
{{Creature
| AI_Value  = 19580</br>''(30501)''{{-wh}}
| Growth    = 1
| Name      = Faerie Dragon
| Faction    = Neutral
| 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: Creature templates]]</noinclude>
[[Category: Creature templates]]</noinclude>

Latest revision as of 20:50, 19 December 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
 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
 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.png]] [[File:{{{U_name}}} portrait (HotA).png]]
Shadow of Death   Horn of the Abyss Shadow of Death [[File:Mini Portrait {{{U_name}}}.png]]  Horn of the Abyss