No edit summary
(update of layout, new trophy subtemplate that displays icons, vertical layout no longer an option, subclass now displays inside panel, other parameters unchanged (older usages should display fine))
Line 1: Line 1:
<includeonly>{|width={{#ifeq:{{lc:{{{Vertical|}}}}}|true|300|600}} border=5 cellspacing=0
<includeonly>{|
!colspan=3 height=40 bgcolor=#E0E0E0|<big>{{{Name}}}</big>
{{#ifeq:{{lc:{{{Vertical|}}}}}|true|{{!}}-|}}
!{{#ifeq:{{lc:{{{Vertical|}}}}} | true | colspan=3 | rowspan=14 }} bgcolor=#E0E0E0| [[Image:{{{Image}}}|300x400px]]
|-
|-
!colspan=2 height=40| {{#ifexist:File:{{strip|{{{Class|}}}}} Icon.png|[[File:{{strip|{{{Class|}}}}} Icon.png|link={{strip|{{{Class|}}}}}]]|}} [[{{#ifeq:{{{Class|}}}|Misc. Creature Class|{{{Class}}}{{!}}{{{Subclass}}}|{{{Class}}}}}]] || LVL {{{Level}}}
|
{|
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
{|cellpadding=2 style="background:#f9f9f9; vertical-align:top;"
|-
|-
!width=100 bgcolor=#E0E0E0| Strength
|align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>'''
!width=100 bgcolor=#E0E0E0| Endurance
!width=100 bgcolor=#E0E0E0| Coord
|-
|-
! {{#ifeq:{{{Strength}}} | | ?? | {{{Strength}}} }}
|colspan=4|
! {{#ifeq:{{{Endurance}}} | | ?? | {{{Endurance}}} }}
----
! {{#ifeq:{{{Coordination}}} | | ?? | {{{Coordination}}} }}
|-
|colspan=4|
{|style="width:100%; background:#f9f9f9;"
|align=left width=32| {{#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>[[{{{Subclass|}}}|({{{Subclass|}}})]]}}}}
|align=center| '''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level}}}}}</span>
|}
|-
|-
!bgcolor=#E0E0E0| Quick
|colspan=4|
!bgcolor=#E0E0E0| Focus
----
!bgcolor=#E0E0E0| Self
|-
|-
! {{#ifeq:{{{Quickness}}} | | ?? | {{{Quickness}}} }}
|width=5|
! {{#ifeq:{{{Focus}}} | | ?? | {{{Focus}}} }}
!align=left| Strength
! {{#ifeq:{{{Self}}} | | ?? | {{{Self}}} }}
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=5|
|-
|-
!bgcolor=#FFC0CB|<font color=red> Health
|width=5|
!bgcolor=#FFFFE0|<font color=darkgoldenrod> Stamina
!align=left| Endurance
!bgcolor=#8BB0D6|<font color=blue> Mana
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=5|
|-
|-
!<font color=red> {{#ifeq:{{{Health}}} | | ?? | {{{Health}}} }}
|width=5|
!<font color=darkgoldenrod> {{#ifeq:{{{Stamina}}} | | ?? | {{{Stamina}}} }}
!align=left| Coordination
!<font color=blue> {{#ifeq:{{{Mana}}} | | ?? | {{{Mana}}} }}
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=5|
|-
|-
!bgcolor=#E0E0E0| Melee D/A
|width=5|
!bgcolor=#E0E0E0| Missile D/A
!align=left| Quickness
!bgcolor=#E0E0E0| Magic D/A
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=5|
|-
|-
! {{#ifeq:{{{Melee Defense}}} | | ?? | {{{Melee Defense}}} }} / {{#ifeq:{{{Melee Attack}}} | | ?? | {{{Melee Attack}}} }}
|width=5|
! {{#ifeq:{{{Missile Defense}}} | | ?? | {{{Missile Defense}}} }} /  {{#ifeq:{{{Missile Attack}}} | | ?? | {{{Missile Attack}}} }}
!align=left| Focus
! {{#ifeq:{{{Magic Defense}}} | | ?? | {{{Magic Defense}}} }} / {{#ifeq:{{{Magic Attack}}} | | ?? | {{{Magic Attack}}} }}
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=5|
|-
|-
!bgcolor=#98FB98|<font color=darkgreen> XP:
|width=5|
!colspan=2|<font color=darkgreen> {{#ifeq:{{{XP}}} | | ?? | {{{XP}}}xp }}
!align=left| Self
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=5|
|-
|-
!Weaknesses:
|width=5|
!colspan=2| {{#ifeq:{{{Weaknesses}}} | | ?? | {{{Weaknesses}}} }}
!align=left| <font color=darkred>Health
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=5|
|-
|-
!Common Attacks:
|width=5|
!colspan=2| {{#ifeq:{{{Attacks}}} | | ?? | {{{Attacks}}} }}
!align=left| <font color=darkgoldenrod>Stamina
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=5|
|-
|-
!Trophies & Items:
|width=5|
!colspan=2| {{#ifeq:{{{Trophies}}} | | ?? | {{{Trophies}}} }}
!align=left| <font color=darkblue>Mana
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=5|
|-
|-
|}{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly><noinclude>
|colspan=4|
----
|-
|width=5|
!align=left| <font color=darkgreen>XP
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}}xp }}'''
|width=5|
|-
|}
|}
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
!align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9;"| [[File:{{{Image|}}}|300x400px]]
|}
|-
|align=center colspan=2|
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
|-
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Trophies]]'''
|-
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
|-
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Common Attacks'''
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Weaknessess'''
|-
|valign=top colspan=3 align=center| {{#ifeq:{{{Attacks|}}}||??|{{{Attacks}}}}}
|valign=top colspan=3 align=center| {{#ifeq:{{{Weaknesses|}}}||??|{{{Weaknesses}}}}}
|-
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee A'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Missile A'''
|bgcolor=#d0d0d0 align=center valign=top| '''Magic A'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee D'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Missile D'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Magic D'''
|-
|valign=top align=center| {{#ifeq:{{{Melee Attack}}}||??|{{{Melee Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Missile Attack}}}||??|{{{Missile Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Magic Attack}}}||??|{{{Magic Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Melee Defense}}}||??|{{{Melee Defense}}}}}
|valign=top align=center| {{#ifeq:{{{Missile Defense}}}||??|{{{Missile Defense}}}}}
|valign=top align=center| {{#ifeq:{{{Magic Defense}}}||??|{{{Magic Defense}}}}}
|-
|}
|}
{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly><noinclude>
{{Related|Wiki Templates|Creature Template}}
{{Related|Wiki Templates|Creature Template}}
== Syntax ==
== Syntax ==
Line 80: Line 141:
  |        Attacks =  
  |        Attacks =  
  |        Trophies =  
  |        Trophies =  
|        Vertical =
}}
}}
</pre>
</pre>

Revision as of 19:50, 29 August 2009

Related topics: Wiki Templates, Creature Template

Syntax

{{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 = 
}}

Usage

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