Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Trying to get onlyone parameter working)
mNo edit summary
Line 66: Line 66:
{{!-}}
{{!-}}
{{!}} rowspan=3 valign=bottom {{!}}
{{!}} rowspan=3 valign=bottom {{!}}
{| cellspacing=0 cellpadding=0 style="background-color:#{{blue 3}}; text-align:center; width:100%;"
{{!T}} 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
|-
{{!-}}
| {{Gold}}
{{!}} {{Gold}}
| {{{Res|}}}
{{!}} {{{Res|}}}
|-
{{!-}}
| {{{U_cost}}}
{{!}} {{{U_cost}}}
| {{{U_ResCost|}}}
{{!}} {{{U_ResCost|}}}
|}
{{T!}}
{{!}} Size
{{!}} Size
{{!}} {{{U_size|{{{Size|1}}}}}}
{{!}} {{{U_size|{{{Size|1}}}}}}

Revision as of 07:58, 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
colspan=2 bgcolor=717DA9 style="font-size: 90%;"

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    =