Template:Creature: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{| cellspacing=0 cellpadding=0 style="background-color: #{{Blue 3}}; border: 1px solid; width:250px; float:{{{float|right}}};"
{| cellspacing=0 cellpadding=0 style="border:1px solid; background-color:#{{blue 3}}; width:240px; float:{{{float|right}}};"
! colspan=3 align=center bgcolor={{Blue 1}} style="color:white; height:25px;" | {{{Creature|{{PAGENAME}}}}} ({{{Growth|}}})
! colspan=2 bgcolor={{blue 1}} style="color:white; height:25px;" | {{{Creature|{{PAGENAME}}}}}
|-
|-
! colspan=3 align=center bgcolor={{blue 2}} | {{{Name|}}} stats
! bgcolor={{blue 2}} colspan=2 | {{{Name|{{PAGENAME}}}}} statistics
|-
|-
| rowspan=7 align=center valign=center style="width: 90px;" | {{{Image|[[File: Creature {{{Name|{{PAGENAME}}}}}.gif]]}}}
| rowspan=2 valign=center style="border: 5px solid gray; width: 120px"|
 
{| cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid gray; background-color:#{{blue 3}};"
| {{{Image|[[File: Creature {{{Name|{{PAGENAME}}}}}.gif]]}}}
|}
 
{| cellspacing=0 cellpadding=0 align=center style="border:1px solid; text-align:center; background-color: #{{Blue 3}}"
! colspan=2 bgcolor={{blue 2}} | {{-}}Cost per troop{{-}}
|-
| [[File:Resource Gold 20x18.gif]]<br>{{{Cost}}}
| {{{Res|<X>}}}<br>{{{ResCost|<X>}}}
|}
 
|-
|-
| style="width: 100px;" | [[Primary skill#Attack skill|Attack]]
| valign=top |
| {{{Attack}}}
 
{| border=0 cellspacing=0 cellpadding=0 style="border:5px solid grey; text-align:left; background-color: #{{Blue 3}}; width:100%"
| [[Primary skill#Attack skill|Attack]]
| {{{Attack|<X>}}}
|-
|-
| [[Primary skill#defense skill|Defense]]  
| [[Primary skill#defense skill|Defense]]  
| {{{Defense}}}
| {{{Defense|<X>}}}
|-
|-
| [[Damage]]  
| [[Damage]]  
| {{{Damage}}}
| {{{Damage|<X>}}}
|-
|-
| [[Health]]
| [[Health]]
| {{{Health}}}
| {{{Health|<X>}}}
|-
|-
| [[Speed]]  
| [[Speed]]  
| {{{Speed}}}
| {{{Speed|<X>}}}
|-
|-
| Movement
| Movement
| {{{Movement|Ground}}}  
| {{{Movement|Ground}}}  
|-
|-
| rowspan=3 valign=bottom |
{| 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
|-
| {{Gold}}
| {{{Res|}}}
|-
| {{{Cost}}}
| {{{ResCost|}}}
|}
| Size
| Size
| {{{Size|1}}}
| {{{Size|1}}}
Line 40: Line 45:
| {{{Shots|''N/A''}}}
| {{{Shots|''N/A''}}}
|-
|-
| colspan=2 style="font-size:90%" | '''Special:''' {{{Special|''none''}}}
| Growth
| {{{Growth|<X>}}}
|}
 
|-
| colspan=2 align=left bgcolor={{blue 2}} | {{-}}'''Special'''
|-
|-
{{{Onlyone|
| colspan=2 style="border: 5px solid gray"| {{{Special|< Long special text --- --- --- --- --- --- --- --- --- --- --->}}}
{{!!}} colspan=3 align=center bgcolor={{blue 2}} {{!}} {{{U_name|}}} stats
|-
{{!-}}
! bgcolor={{blue 2}} colspan=2 | {{{U_name|<X>}}} statistics
{{!}} rowspan=7 align=center valign=center {{!}} {{{U_image|[[File: Creature {{{U_name|}}}.gif]]}}}
|-
{{!-}}
| rowspan=2 valign=center style="border: 5px solid gray; width: 120px"|
{{!}} [[Primary skill#Attack skill|Attack]]
{{!}} {{{U_attack}}}
{{!-}}
{{!}} [[Primary skill#defense skill|Defense]]
{{!}} {{{U_defense}}}
{{!-}}
{{!}} [[Damage]]
{{!}} {{{U_damage}}}
{{!-}}
{{!}} [[Health]]
{{!}} {{{U_health}}}
{{!-}}
{{!}} [[Speed]]
{{!}} {{{U_speed}}}
{{!-}}
{{!}} Movement
{{!}} {{{Movement|Ground}}}
{{!-}}
{{!}} rowspan=3 valign=bottom {{!}}
{{!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
{{!-}}
{{!}} {{Gold}}
{{!}} {{{Res|}}}
{{!-}}
{{!}} {{{U_cost}}}
{{!}} {{{U_ResCost|}}}
{{T!}}
{{!}} Size
{{!}} {{{U_size|{{{Size|1}}}}}}
{{!-}}
{{!}} [[Shots]]
{{!}} {{{U_shots|''N/A''}}}
{{!-}}
{{!}} colspan=2 style="font-size:90%" {{!}} '''Special:''' {{{U_special|''none''}}} }}}
|}<noinclude>


== How to use ==
{| cellspacing=0 cellpadding=0 align=center style="border-bottom: 5px solid gray; 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]]
|}


{| style="background: transparent;"
{| cellspacing=0 cellpadding=0 align=center style="border:1px solid; text-align:center; background-color: #{{Blue 3}}"
| <pre>{{Creature
! colspan=2 bgcolor={{blue 2}} | {{-}}Cost per troop{{-}}
| Town      =  
|-
| lvl        =  
| [[File:Resource Gold 20x18.gif]]<br>{{{U_cost}}}
| Growth    =
| {{{Res|<X>}}}<br>{{{U_ResCost|<X>}}}
| 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  =
}} </pre>
|}
|}


If only one set of information is needed (e.g. [[neutral creature]]s, you can add the following row with no value:
|-
<pre>
| valign=top |
| Onlyone    = </pre>
 
{| border=0 cellspacing=0 cellpadding=0 style="border:5px solid grey; text-align:left; background-color: #{{Blue 3}}; width:100%"
| [[Primary skill#Attack skill|Attack]]
| {{{U_attack|<X>}}}
|-
| [[Primary skill#defense skill|Defense]]
| {{{U_defense|<X>}}}
|-
| [[Damage]]
| {{{U_damage|<X>}}}
|-
| [[Health]]
| {{{U_health|<X>}}}
|-
| [[Speed]]
| {{{U_speed|<X>}}}
|-
| Movement
| {{{Movement|Ground}}}
|-
| Size
| {{{U_size|{{{Size|1}}}}}}
|-
| [[Shots]]
| {{{U_shots|''N/A''}}}
|-
| Growth
| {{{Growth|<X>}}}
|}
 
|-
| colspan=2 align=left bgcolor={{blue 2}} | {{-}}'''Special'''
|-
| colspan=2 style="border: 5px solid gray"| {{{U_special|< Long special text --- --- --- --- --- --- --- --- --- --- --->}}}|}
|}<noinclude>


[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:00, 3 April 2014

Creature
Creature statistics
File:Creature Creature.gif
 Cost per troop 

{{{Cost}}}
<X>
<X>
Attack <X>
Defense <X>
Damage <X>
Health <X>
Speed <X>
Movement Ground
Size 1
Shots N/A
Growth <X>
 Special
< Long special text --- --- --- --- --- --- --- --- --- --- --->
<X> statistics
File:Creature .gif
 Cost per troop 

{{{U_cost}}}
<X>
<X>
Attack <X>
Defense <X>
Damage <X>
Health <X>
Speed <X>
Movement Ground
Size 1
Shots N/A
Growth <X>
 Special
< Long special text --- --- --- --- --- --- --- --- --- --- --->|}