Template:Creature: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
Created page with "<includeonly>{| |- | {| |align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"| {|cellpadding=1 style="background:#f9f9f9; vertical-align:top;" |- |align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>''' |- |colspan=4| ---- |- |colspan=4| {|style="width:100%; background:#f9f9f9;" |align=left width=32| {{#ifeq:{{{Class|}}}|Misc. Creature Class|{{#ifexist:File:{{strip|{{{Subclass|}}}}} Icon.png|File:{{strip|{{{..."
 
(19 intermediate revisions by 5 users not shown)
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=1 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| {{#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:{{{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>
|}
|-
|-
!bgcolor=#E0E0E0| Quick
|colspan=4|
!bgcolor=#E0E0E0| Focus
----
!bgcolor=#E0E0E0| Self
|-
|-
! {{#ifeq:{{{Quickness}}} | | ?? | {{{Quickness}}} }}
|width=1|
! {{#ifeq:{{{Focus}}} | | ?? | {{{Focus}}} }}
!align=left| Strength
! {{#ifeq:{{{Self}}} | | ?? | {{{Self}}} }}
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=1|
|-
|-
!bgcolor=#FFC0CB|<font color=red> Health
|width=1|
!bgcolor=#FFFFE0|<font color=darkgoldenrod> Stamina
!align=left| Endurance
!bgcolor=#8BB0D6|<font color=blue> Mana
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=1|
|-
|-
!<font color=red> {{#ifeq:{{{Health}}} | | ?? | {{{Health}}} }}
|width=1|
!<font color=darkgoldenrod> {{#ifeq:{{{Stamina}}} | | ?? | {{{Stamina}}} }}
!align=left| Coordination
!<font color=blue> {{#ifeq:{{{Mana}}} | | ?? | {{{Mana}}} }}
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=1|
|-
|-
!bgcolor=#E0E0E0| Melee D/A
|width=1|
!bgcolor=#E0E0E0| Missile D/A
!align=left| Quickness
!bgcolor=#E0E0E0| Magic D/A
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=1|
|-
|-
! {{#ifeq:{{{Melee Defense}}} | | ?? | {{{Melee Defense}}} }} / {{#ifeq:{{{Melee Attack}}} | | ?? | {{{Melee Attack}}} }}
|width=1|
! {{#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=1|
|-
|-
!bgcolor=#98FB98|<font color=darkgreen> XP:
|width=1|
!colspan=2|<font color=darkgreen> {{#ifeq:{{{XP}}} | | ?? | {{{XP}}}xp }}
!align=left| Self
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|-
!Weaknesses:
|width=1|
!colspan=2| {{#ifeq:{{{Weaknesses}}} | | ?? | {{{Weaknesses}}} }}
!align=left| <font color=darkred>Health
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|-
!Common Attacks:
|width=1|
!colspan=2| {{#ifeq:{{{Attacks}}} | | ?? | {{{Attacks}}} }}
!align=left| <font color=darkgoldenrod>Stamina
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=1|
|-
|-
!Trophies & Items:
|width=1|
!colspan=2| {{#ifeq:{{{Trophies}}} | | ?? | {{{Trophies}}} }}
!align=left| <font color=darkblue>Mana
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=1|
|-
|-
|}{{#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|
{{Related|Wiki Templates|Creature Template}}
----
== Syntax ==
|-
<pre style="width:auto; overflow:auto">
|width=1|
{{Creature
!align=left| <font color=darkgreen>XP
|           Name =
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}} }}'''
|           Image =  
|width=1|
|           Class =  
|-
|       Subclass =
|width=1|
|           Boss =  
!align=left| <font color=purple>Luminance
|           Level =  
|align=right| <font color=purple>'''{{#ifeq:{{{Luminance|}}} | | ?? | {{{Luminance}}} }}'''
|       Strength =
|width=1|
|       Endurance =  
|-
|   Coordination =  
|width=1|
|       Quickness =  
!align=left| [[Loot Tier|<font color=teal>Loot Tier</font>]]
|           Focus =  
|align=right| <font color=teal>'''{{#ifeq:{{{Loot Tier|}}} | | ?? | [[Loot/Tier {{{Loot Tier}}}|<font color=teal><u>{{{Loot Tier}}}</u></font>]]}}'''
|           Self =  
|width=1|
|         Health =  
|-
|         Stamina =
|}
|           Mana =  
|}
|   Melee Defense =
|
|   Melee Attack =  
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
| Missile Defense =
{|cellpadding=2
| Missile Attack =  
!align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9;"| {{#ifexist:File:{{{Image|}}}|[[File:{{{Image|}}}|300x400px]]|[[File:Live.jpg|300x400px]][[Category:Images Needed]]}}
|   Magic Defense =
|}
|   Magic Attack =
|-
|             XP =  
|align=center colspan=2|
|     Weaknesses =  
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
|         Attacks =  
|-
|       Trophies =
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Trophies]]'''
|       Vertical =
|-
}}
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
</pre>
|-
{{#ifeq:{{{Wielded Items|}}} | | |
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[:Category:Unwieldable & Creature or NPC only Equipment{{!}}Commonly Wielded Items]]'''
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Wielded Items}}}}}
|-
{{#ifeq:{{{Spells Cast|}}} | | |  
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[Spells{{!}}Spells Cast]]'''
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Spells Cast}}}}}
|-
|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}}}||&nbsp;|{{{Melee Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Missile Attack}}}||&nbsp;|{{{Missile Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Magic Attack}}}||&nbsp;|{{{Magic Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Melee Defense}}}||&nbsp;|{{{Melee Defense}}}}}
|valign=top align=center| {{#ifeq:{{{Missile Defense}}}||&nbsp;|{{{Missile Defense}}}}}
|valign=top align=center| {{#ifeq:{{{Magic Defense}}}||&nbsp;|{{{Magic Defense}}}}}
|-
|}
|}


== 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]]
{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}{{#ifeq:{{{Level|}}} | | | [[Category:Level {{{Level}}}]]}}{{#ifeq:{{{Loot Tier|}}} | 0 | [[Category:Loot Tier 0]] | }}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]][[Category:Stats Panel Template]]</noinclude>
</noinclude>

Latest revision as of 20:13, 20 January 2024

Template Documentation: 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.