Template:War machine: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Undo revision 12594 by Kapteeni Ruoska (talk))
m (add category)
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellspacing=0 cellpadding=0 style="background-color: #CCCCFF; border-width: 0px; float: {{{float|right}}};" cellpadding="3";
{| cellpadding=0 cellspacing=0 style="background-color:#{{Blue 3}}; border: 1px solid; width: 140px; float:{{{float|right}}};"
! colspan=3 bgcolor={{Blue 1}} style="color:#FFFFFF; height: 25px;" | {{{Name}}}
|- align=center
| colspan=2 style="valign:middle; border: 5px solid #{{Blue 3}};" | {{{Image|}}}
|-
|-
| colspan=5 align=center bgcolor=3250FF style="color:#FFFFFF" | {{{Neutral|'''Level {{{lvl}}} creatures of [[{{{Town}}}|<span style="color:#FFFFFF">{{{Town}}}</span>]]''' }}} <br><span style="color:#FFFFFF; font-size:90%; ">''[[Growth|<span style="color:#FFFFFF">Basic growth</span>]]: {{{Growth}}}''</span>
| {{{No_attack|'''[[Primary skill#attack skill|Attack]]''' }}}
| {{{No_attack|{{{Attack|}}}}}}
|-
|-
| colspan="5" align="center" | '''{{{Name}}}'''
| {{{No_defense|'''[[Primary skill#defense skill|Defense]]'''&nbsp;}}}
| {{{No_defense|{{{Defense|}}}}}}
|-
|-
| rowspan="4" align=center valign=center | [[Image: Creature {{{Image|{{{Name}}}}}}.gif]]
| {{{No_damage|'''[[Damage]]''' }}}
| '''[[Primary skill#attack skill|Attack]]'''  
| {{{No_damage|{{{Damage|}}} }}}
| {{{Attack}}}
| '''[[Speed]]'''
| {{{Speed}}}
|-
|-
| '''[[Primary skill#defense skill|Defense]]'''
| '''[[Health]]'''
| {{{Defense|{{{Defence}}}}}}
| {{{Health|}}}
| '''[[Movement (combat)|Movement]]'''
| {{{Movement|}}}  
|-
|-
| '''[[Damage]]'''
| {{{Damage}}}
| {{{No_shots|'''[[Shots]]'''}}}
| {{{Shots|}}}
|- valign="top"
| '''[[Health]]'''
| {{{Health}}}
| '''[[Cost]]'''  
| '''[[Cost]]'''  
| {{{Cost}}} {{Gold}}
| {{{Cost|}}}
|-
|-
| colspan="5" width=300 | {{{No_spec|'''Special:''' {{{Special}}}}}}
| {{{No_shots|'''[[Shots]]'''}}}  
|-
| {{{No_shots|{{{Shots|}}}}}}
| colspan="5" align="center" | {{{Onlyone|'''{{{U_name|<noinclude>-</noinclude>}}}'''}}}
|-
| rowspan="4" align=center valign=center | {{{Onlyone|[[Image:Creature {{{U_image|{{{U_name|}}}}}}.gif]] }}}
| {{{Onlyone|'''[[Primary skill#attack skill|Attack]]''' }}}
| {{{Onlyone|{{{U_attack}}} }}}
| {{{Onlyone|'''[[Speed]]''' }}}
| {{{Onlyone|{{{U_speed}}} }}}
|-
| {{{Onlyone|'''[[Primary skill#defense skill|Defense]]''' }}}
| {{{Onlyone|{{{U_defense|{{{U_defence}}}}}} }}}
| {{{Onlyone|'''[[Movement (combat)|Movement]]''' }}}
| {{{Onlyone|{{{U_movement|}}} }}}
|-
| {{{Onlyone|'''[[Damage]]''' }}}
| {{{Onlyone|{{{U_damage}}} }}}
| {{{Onlyone|{{{No_shots|'''[[Shots]]'''}}} }}}
| {{{Onlyone|{{{U_shots|}}}
|- valign="top"
| {{{Onlyone|'''[[Health]]''' }}}
| {{{Onlyone|{{{U_health}}} }}}
| {{{Onlyone|'''[[Cost]]''' }}}
| {{{Onlyone|{{{U_cost}}} {{Gold}} }}}
|-
| colspan="5" width=300 | {{{Onlyone|{{{No_U_spec|'''Special:''' {{{U_special}}} }}} }}}
|}<noinclude>
|}<noinclude>


== How to use ==
[[Category: Creature templates|{{PAGENAME}}]]</noinclude>
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".
 
{| style="background: transparent;"
| <pre>{{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  =
}} </pre>
|}
 
If only one set of information is needed (e.g. [[neutral creature]]s, you can add the following row with no value:
<pre>
| Onlyone    = </pre>
 
[[Category:Help templates|Creature]]</noinclude>

Latest revision as of 22:16, 8 December 2023