Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(Remove exist template that would hide missing pictures)
 
(4 intermediate revisions by 2 users not shown)
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}}; color:darkgoldenrod; 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}}}
|-
|-
! bgcolor={{blue 2}} colspan=2 | {{{Name|{{PAGENAME}}}}}
! bgcolor={{blue 2}} colspan=2 style="color:white;" | {{{Name|{{PAGENAME}}}}}
|-
|-
| rowspan=2 valign=center style="border: 5px solid #{{blue 3}}; width: 105px"|
| rowspan=2 valign=center style="border: 5px solid #{{blue 3}}; width: 105px"|


{| cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
{| cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
| {{{Image|[[File: Creature {{{Name|{{PAGENAME}}}}}.gif]]}}}
| {{{Image|[[File:Creature {{{Name|{{PAGENAME}}}}}.gif]]}}}
|}
|}


{| cellspacing=0 cellpadding=0 align=center style="border:1px solid; 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}}"
! colspan=2 bgcolor={{blue 2}} | {{-}}Cost per troop{{-}}
! colspan=2 bgcolor={{blue 2}} style="color:white;" | {{-}}Cost per troop{{-}}
|-  
|-  
| [[File:Resource Gold 20x18.gif]]<br>{{{Cost}}}
| [[File:Resource Gold 20x18.gif]]<br>{{{Cost}}}
Line 57: Line 57:
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{Special|}}} }}}
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{Special|}}} }}}
{{{Onlyone|{{!-}}
{{{Onlyone|{{!-}}
{{!!}} bgcolor={{blue 2}} colspan=2 {{!}} {{{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="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}};"
{{!T}} cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
{{!}} [[File: Creature {{{U_name|}}}.gif]]
{{!}} [[File:Creature {{{U_name|}}}.gif]]
{{T!}}
{{T!}}


{{!T}} cellspacing=0 cellpadding=0 align=center style="border:1px solid; 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}}"
{{!!}} colspan=2 bgcolor={{blue 2}} {{!}} {{-}}Cost per troop{{-}}
{{!!}} colspan=2 bgcolor={{blue 2}} style="color:white;" {{!}} {{-}}Cost per troop{{-}}
{{!-}}  
{{!-}}  
{{!}} [[File:Resource Gold 20x18.gif]]<br>{{{U_cost}}}
{{!}} [[File:Resource Gold 20x18.gif]]<br>{{{U_cost}}}
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==
[[Category: Misc templates|{{PAGENAME}}]]</noinclude>
{{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>

Latest revision as of 17:44, 12 December 2023

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