Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
(Remove exist template that would hide missing pictures)
 
(212 intermediate revisions by 6 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: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=5 align=center bgcolor=3250FF style="color:#FFFFFF" | '''Level {{{lvl|}}} creatures of [[{{{Town}}}|<span style="color:#FFFFFF">{{{Town}}}</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: 105px"|
 
{| cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; background-color:#{{blue 3}};"
| {{{Image|[[File:Creature {{{Name|{{PAGENAME}}}}}.gif]]}}}
|}
 
{| 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|}}} }}}
|}
 
|-
|-
| rowspan="4" align=center valign=center | [[Image:Creature {{{Image|{{{Name}}}}}}.gif]]
|  
| '''[[Primary skill#attack skill|Attack skill]]'''
 
| {{{Attack}}}
{| border=0 cellspacing=0 cellpadding=0 style="border:5px solid {{blue 3}}; text-align:left; background-color: #{{Blue 3}}; width:100%"
| '''[[Damage]]'''
| [[Primary skill#Attack skill|Attack]]
| {{{Damage}}}
| {{{Attack|}}}
|-
|-
| '''[[Primary skill#defense skill|Defense skill]]'''
| [[Primary skill#defense skill|Defense]]  
| {{{Defence}}}
| {{{Defense|}}}
| '''[[Health]]'''
| {{{Health}}}
|-
|-
| '''[[Speed]]'''
| [[Damage]]  
| {{{Speed}}}
| {{{Damage|}}}
| '''[[Shots]]'''
| {{{Shots}}}
|- valign="top"
| '''[[Growth]]'''
| {{{Growth}}}
| '''[[Cost]]'''
| {{{Cost}}} {{Gold}}
|-
|-
| colspan="5" | '''Special:''' {{{Special|None}}}
| [[Health]]
| {{{Health|}}}
|-
|-
| colspan="5" align="center" | '''{{{U_name|Upgraded creature name}}}'''
| [[Speed]]
| {{{Speed|}}}
|-
|-
| rowspan="4" align=center valign=center | [[Image:Creature {{{U_image|{{{U_name}}}}}}.gif]]
| Movement
| '''[[Primary skill#attack skill|Attack skill]]'''
| {{{Movement|Ground}}}  
| {{{U_attack|}}}
| '''[[Damage]]'''
| {{{U_damage|}}}
|-
|-
| '''[[Primary skill#defense skill|Defense skill]]'''
| Size
| {{{U_defence|}}}
| {{{Size|1}}}
| '''[[Health]]'''
{{{No_shots|{{!-}}
| {{{U_health|}}}
{{!}} [[Shots]]
{{!}} {{{Shots|''N/A''}}} }}}
|-
|-
| '''[[Speed]]'''
| Growth
| {{{U_speed|}}}
| '''[[Shots]]'''
| {{{U_shots|}}}
|- valign="top"
| '''[[Growth]]'''
| {{{Growth|}}}
| {{{Growth|}}}
| '''[[Cost]]'''
| {{{U_cost|}}} {{Gold}}
|-
|-
| colspan="5" | '''Special:''' {{{U_special|None}}}
| [[AI Value]]
|}<noinclude>
| {{{AI_Value|}}}
|}
 
|-
{{{No_spec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{!-}}
{{!}} 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;" {{!}}


== How to use ==
{{!T}} cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid #{{blue 3}}; 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".  
{{!}} [[File:Creature {{{U_name|}}}.gif]]
{{T!}}


{| style="background: transparent;"  
{{!T}} cellspacing=0 cellpadding=0 align=center style="border:1px solid #{{blue 2}}; text-align:center; background-color: #{{Blue 3}}"
| <pre>{{Creature
{{!!}} colspan=2 bgcolor={{blue 2}} style="color:white;" {{!}} {{-}}Cost per troop{{-}}
| lvl      =  
{{!-}}
| Town      =  
{{!}} [[File:Resource Gold 20x18.gif]]<br>{{{U_cost}}}
| Name      =
{{!}} {{{Res|}}}<br>{{{U_ResCost|}}}
| Attack   =
{{T!}}
| Defence  =
{{!-}} style="vertical-align: top;"
| Speed    =
{{!}} 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;"
| Growth    =
{{!}} [[Primary skill#Attack skill|Attack]]
| Damage   =
{{!}} {{{U_attack|{{{Attack|}}}}}}
| Health   =
{{!-}}
| Shots    =
{{!}} [[Primary skill#defense skill|Defense]]
| Cost      =
{{!}} {{{U_defense|{{{Defense|}}}}}}
| Special  =
{{!-}}
| U_name    =
{{!}} [[Damage]]
| U_attack  =
{{!}} {{{U_damage|{{{Damage|}}}}}}
| U_defence =
{{!-}}
| U_speed  =
{{!}} [[Health]]
| U_damage  =
{{!}} {{{U_health|{{{Health|}}}}}}
| U_health  =
{{!-}}
| U_shots  =
{{!}} [[Speed]]
| U_cost    =
{{!}} {{{U_speed|{{{Speed|}}}}}}
| U_special =
{{!-}}
}} </pre>
{{!}} 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!}}


[[Category:Navigational boxes|Creature]]</noinclude>
{{!-}}
{{{No_uspec|{{!}} colspan=2 align=left {{!}} {{-}}'''Special abilities:'''
{{!-}}
{{!}} colspan=2 style="border: 5px solid #{{blue 3}}; border-top: 0px" {{!}} {{{U_special|{{{Special|}}}}}} }}} }}}
|}</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>

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