No edit summary
(added Title parameter for those few creatures that have a title)
Line 14: Line 14:
{|style="width:100%; background:#f9f9f9;"
{|style="width:100%; background:#f9f9f9;"
|align=left width=32| {{#ifeq:{{{Class|}}}|Misc. Creature Class|{{#ifexist:File:{{strip|{{{Subclass|}}}}} Icon.png|[[File:{{strip|{{{Subclass|}}}}} Icon.png|link={{strip|{{{Subclass|}}}}}]]|[[File:Misc. Creature Class Icon.png|link={{strip|{{{Subclass|}}}}}]]}}|{{#ifexist:File:{{strip|{{{Class|}}}}} Icon.png|[[File:{{strip|{{{Class|}}}}} Icon.png|link={{strip|{{{Class|}}}}}]]|}}}}
|align=left width=32| {{#ifeq:{{{Class|}}}|Misc. Creature Class|{{#ifexist:File:{{strip|{{{Subclass|}}}}} Icon.png|[[File:{{strip|{{{Subclass|}}}}} Icon.png|link={{strip|{{{Subclass|}}}}}]]|[[File:Misc. Creature Class Icon.png|link={{strip|{{{Subclass|}}}}}]]}}|{{#ifexist:File:{{strip|{{{Class|}}}}} Icon.png|[[File:{{strip|{{{Class|}}}}} Icon.png|link={{strip|{{{Class|}}}}}]]|}}}}
|align=center width=200| {{#ifeq:{{{Class|}}}|Misc. Creature Class|'''[[{{{Class}}}{{!}}{{{Subclass}}}]]'''|'''[[{{{Class}}}]]'''{{#ifeq:{{{Subclass|}}}|||<br>[[:Category:{{{Subclass|}}}|({{{Subclass|}}})]]}}}}
|align=center width=200| {{#ifeq:{{{Class|}}}|Misc. Creature Class|'''[[{{{Class}}}{{!}}{{{Subclass}}}]]'''|'''[[{{{Class}}}]]'''}}{{#ifeq:{{{Title|}}}|||<br>'''{{{Title|}}}'''}}{{#ifeq:{{{Subclass|}}}|||<br>[[:Category:{{{Subclass|}}}|({{{Subclass|}}})]]}}
|align=center| '''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level}}}}}</span>
|align=center| '''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level}}}}}</span>
|}
|}
Line 111: Line 111:
|}
|}
|}
|}
{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly><noinclude>
{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly>
{{Related|Wiki Templates|Creature Template}}
<noinclude>{{Documentation}}[[Category:Wiki Template]][[Category:Stats Panel Template]]</noinclude>
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Creature
|            Name =
|          Image =
|          Class =
|        Subclass =
|            Boss =
|          Level =
|        Strength =
|      Endurance =
|    Coordination =
|      Quickness =
|          Focus =
|            Self =
|          Health =
|        Stamina =
|            Mana =
|  Melee Defense =
|    Melee Attack =
| Missile Defense =
|  Missile Attack =
|  Magic Defense =
|    Magic Attack =
|              XP =
|      Weaknesses =
|        Attacks =
|        Trophies =
}}
</pre>
 
== Usage ==
This is a component template that is part of a [[Page Template]]. See [[Creature Template]] for details on usage and examples.
 
[[Category:Wiki Template]]
</noinclude>

Revision as of 02:13, 20 December 2009


Template Documentation: |_}}/Doc?action=edit Edit Documentation

Related topics: Wiki Templates, Creature Template

Syntax

{{Creature
 |            Name = 
 |           Image = 
 |           Class = 
 |        Subclass = 
 |           Title = 
 |            Boss = 
 |           Level = 
 |        Strength = 
 |       Endurance = 
 |    Coordination = 
 |       Quickness = 
 |           Focus = 
 |            Self = 
 |          Health = 
 |         Stamina = 
 |            Mana = 
 |   Melee Defense = 
 |    Melee Attack = 
 | Missile Defense = 
 |  Missile Attack = 
 |   Magic Defense = 
 |    Magic Attack = 
 |              XP = 
 |       Luminance = 
 |      Weaknesses = 
 |         Attacks = 
 |        Trophies = 
 |   Wielded Items =
 |     Spells Cast =
}}

Usage

This is a component template that is part of a Page Template. See Creature Template for details on usage and examples.