Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
(Trying to get onlyone parameter working)
Line 42: Line 42:
| colspan=2 style="font-size:90%" | '''Special:''' {{{Special|''none''}}}
| colspan=2 style="font-size:90%" | '''Special:''' {{{Special|''none''}}}
|-
|-
! colspan=3 align=center bgcolor={{blue 2}} | {{{U_name|}}} stats
{{{Onlyone|
|-
{{!!}} colspan=3 align=center bgcolor={{blue 2}} {{!}} {{{U_name|}}} stats
| rowspan=7 align=center valign=center | {{{U_image|[[File: Creature {{{U_name|}}}.gif]]}}}
{{!-}}
|-
{{!}} rowspan=7 align=center valign=center {{!}} {{{U_image|[[File: Creature {{{U_name|}}}.gif]]}}}
| [[Primary skill#Attack skill|Attack]]
{{!-}}
| {{{U_attack}}}
{{!}} [[Primary skill#Attack skill|Attack]]
|-
{{!}} {{{U_attack}}}
| [[Primary skill#defense skill|Defense]]  
{{!-}}
| {{{U_defense}}}
{{!}} [[Primary skill#defense skill|Defense]]  
|-
{{!}} {{{U_defense}}}
| [[Damage]]  
{{!-}}
| {{{U_damage}}}
{{!}} [[Damage]]  
|-
{{!}} {{{U_damage}}}
| [[Health]]
{{!-}}
| {{{U_health}}}
{{!}} [[Health]]
|-
{{!}} {{{U_health}}}
| [[Speed]]  
{{!-}}
| {{{U_speed}}}
{{!}} [[Speed]]  
|-
{{!}} {{{U_speed}}}
| Movement
{{!-}}
| {{{Movement|Ground}}}  
{{!}} Movement
|-
{{!}} {{{Movement|Ground}}}  
| rowspan=3 valign=bottom |
{{!-}}
{{!}} rowspan=3 valign=bottom {{!}}
{| cellspacing=0 cellpadding=0 style="background-color:#{{blue 3}}; text-align:center; width:100%;"
{| cellspacing=0 cellpadding=0 style="background-color:#{{blue 3}}; text-align:center; width:100%;"
! colspan=2 bgcolor={{blue 2}} style="font-size: 90%;" | Cost per troop
! colspan=2 bgcolor={{blue 2}} style="font-size: 90%;" | Cost per troop
Line 74: Line 75:
| {{{U_ResCost|}}}
| {{{U_ResCost|}}}
|}
|}
| Size
{{!}} Size
| {{{U_size|{{{Size|1}}}}}}
{{!}} {{{U_size|{{{Size|1}}}}}}
|-
{{!-}}
| [[Shots]]
{{!}} [[Shots]]
| {{{U_shots|''N/A''}}}
{{!}} {{{U_shots|''N/A''}}}
|-
{{!-}}
| colspan=2 style="font-size:90%" | '''Special:''' {{{U_special|''none''}}}
{{!}} colspan=2 style="font-size:90%" {{!}} '''Special:''' {{{U_special|''none''}}} }}}
|}<noinclude>
|}<noinclude>



Revision as of 07:17, 3 April 2014

Creature ()
stats
File:Creature Creature.gif
Attack {{{Attack}}}
Defense {{{Defense}}}
Damage {{{Damage}}}
Health {{{Health}}}
Speed {{{Speed}}}
Movement Ground
Cost per troop
Gold
{{{Cost}}}
Size 1
Shots N/A
Special: none
stats
File:Creature .gif
Attack {{{U_attack}}}
Defense {{{U_defense}}}
Damage {{{U_damage}}}
Health {{{U_health}}}
Speed {{{U_speed}}}
Movement Ground

{

How to use

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".

{{Creature
 | Town       = 
 | lvl        = 
 | Growth     = 
 | Name       = 
 | Attack     = 
 | Defense    = 
 | Damage     = 
 | Health     = 
 | Speed      = 
 | Movement   = 
 | Shots      = 
 | Cost       = 
 | Special    = 
 | U_name     = 
 | U_attack   = 
 | U_defense  = 
 | U_damage   = 
 | U_health   = 
 | U_speed    = 
 | U_movement = 
 | U_shots    = 
 | U_cost     = 
 | U_special  = 
}} 

If only one set of information is needed (e.g. neutral creatures, you can add the following row with no value:

 | Onlyone    =