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|{{{..."
 
(58 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>'''Introduced in:''' [[{{#ifeq:{{{Patch}}} | | ?? | {{{Patch}}} }}]]
<includeonly>{|
 
|-
{|width={{#ifeq:{{{Vertical|}}}|True|300|600}} border=5 cellspacing=0
|
!colspan=3 height=40 bgcolor=#E0E0E0|<big>{{{Name}}}</big>
{|
{{#ifeq:{{{Vertical|}}}|True|{{!}}-|}}
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
!{{#ifeq:{{{Vertical|}}} | True | colspan=3 | rowspan=14 }} bgcolor=#E0E0E0| [[Image:{{{Image}}}|300x400px]]
{|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|{{{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>
|}
|-
|colspan=4|
----
|-
|width=1|
!align=left| Strength
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=1|
|-
|width=1|
!align=left| Endurance
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=1|
|-
|width=1|
!align=left| Coordination
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=1|
|-
|width=1|
!align=left| Quickness
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=1|
|-
|width=1|
!align=left| Focus
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=1|
|-
|width=1|
!align=left| Self
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|width=1|
!align=left| <font color=darkred>Health
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|width=1|
!align=left| <font color=darkgoldenrod>Stamina
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=1|
|-
|width=1|
!align=left| <font color=darkblue>Mana
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=1|
|-
|-
!colspan=2 height=40| [[{{#ifeq:{{{Class|}}}|Misc. Creature Class|{{{Class}}}{{!}}{{{Subclass}}}|{{{Class}}}}}]] || LVL {{{Level}}}
|colspan=4|
----
|-
|-
!width=100 bgcolor=#E0E0E0| Strength
|width=1|
!width=100 bgcolor=#E0E0E0| Endurance
!align=left| <font color=darkgreen>XP
!width=100 bgcolor=#E0E0E0| Coord
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}} }}'''
|width=1|
|-
|-
! {{#ifeq:{{{Strength}}} | | ?? | {{{Strength}}} }}
|width=1|
! {{#ifeq:{{{Endurance}}} | | ?? | {{{Endurance}}} }}
!align=left| <font color=purple>Luminance
! {{#ifeq:{{{Coordination}}} | | ?? | {{{Coordination}}} }}
|align=right| <font color=purple>'''{{#ifeq:{{{Luminance|}}} | | ?? | {{{Luminance}}} }}'''
|width=1|
|-
|-
!bgcolor=#E0E0E0| Quick
|width=1|
!bgcolor=#E0E0E0| Focus
!align=left| [[Loot Tier|<font color=teal>Loot Tier</font>]]
!bgcolor=#E0E0E0| Self
|align=right| <font color=teal>'''{{#ifeq:{{{Loot Tier|}}} | | ?? | [[Loot/Tier {{{Loot Tier}}}|<font color=teal><u>{{{Loot Tier}}}</u></font>]]}}'''
|width=1|
|-
|-
! {{#ifeq:{{{Quickness}}} | | ?? | {{{Quickness}}} }}
|}
! {{#ifeq:{{{Focus}}} | | ?? | {{{Focus}}} }}
|}
! {{#ifeq:{{{Self}}} | | ?? | {{{Self}}} }}
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
!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]]}}
|}
|-
|-
!bgcolor=#FFC0CB|<font color=red> Health
|align=center colspan=2|
!bgcolor=#FFFFE0|<font color=darkgoldenrod> Stamina
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
!bgcolor=#8BB0D6|<font color=blue> Mana
|-
|-
!<font color=red> {{#ifeq:{{{Health}}} | | ?? | {{{Health}}} }}
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Trophies]]'''
!<font color=darkgoldenrod> {{#ifeq:{{{Stamina}}} | | ?? | {{{Stamina}}} }}
!<font color=blue> {{#ifeq:{{{Mana}}} | | ?? | {{{Mana}}} }}
|-
|-
!bgcolor=#E0E0E0| Melee D/A
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
!bgcolor=#E0E0E0| Missile D/A
!bgcolor=#E0E0E0| Magic D/A
|-
|-
! {{#ifeq:{{{Melee Defense}}} | | ?? | {{{Melee Defense}}} }} / {{#ifeq:{{{Melee Attack}}} | | ?? | {{{Melee Attack}}} }}
{{#ifeq:{{{Wielded Items|}}} | | |  
! {{#ifeq:{{{Missile Defense}}} | | ?? | {{{Missile Defense}}} }} /  {{#ifeq:{{{Missile Attack}}} | | ?? | {{{Missile Attack}}} }}
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[:Category:Unwieldable & Creature or NPC only Equipment{{!}}Commonly Wielded Items]]'''
! {{#ifeq:{{{Magic Defense}}} | | ?? | {{{Magic Defense}}} }} / {{#ifeq:{{{Magic Attack}}} | | ?? | {{{Magic Attack}}} }}
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Wielded Items}}}}}
|-
|-
!bgcolor=#98FB98|<font color=darkgreen> XP:
{{#ifeq:{{{Spells Cast|}}} | | |
!colspan=2|<font color=darkgreen> {{#ifeq:{{{XP}}} | | ?? | {{{XP}}}xp }}
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[Spells{{!}}Spells Cast]]'''
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Spells Cast}}}}}
|-
|-
!Weaknesses:
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Common Attacks'''
!colspan=2| {{#ifeq:{{{Weaknesses}}} | | ?? | {{{Weaknesses}}} }}
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Weaknessess'''
|-
|-
!Common Attacks:
|valign=top colspan=3 align=center| {{#ifeq:{{{Attacks|}}}||??|{{{Attacks}}}}}
!colspan=2| {{#ifeq:{{{Attacks}}} | | ?? | {{{Attacks}}} }}
|valign=top colspan=3 align=center| {{#ifeq:{{{Weaknesses|}}}||??|{{{Weaknesses}}}}}
|-
|-
!Trophies & Items:
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee A'''
!colspan=2| {{#ifeq:{{{Trophies}}} | | ?? | {{{Trophies}}} }}
|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}}}}}
|-
|-
|}
|}
{{#ifeq:{{PAGEMAME}}|Individual Creature Template| | {{#ifeq:{{PAGEMAME}}|Individual Creature Template| | [[Category:Creature]]{{#ifeq:{{{Class|}}}| | | [[Category:{{{Class}}}]]}}{{#ifeq:{{{Subclass|}}}| | | [[Category:{{{Subclass}}}]]}} }} }}</includeonly><noinclude>
|}
{{Related|Wiki Templates|Individual Creature Template}}
== Syntax ==
 
<pre style="width:auto; overflow:auto">
{{Creature
|          Patch =
|            Name =
|          Image =
|          Class =
|       Subclass =
|          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 ==
Table for individual creature stats. The default layout is horizontal (stats on left image on right). If at all possible use an in game screen shot that is 300x400 pixels and append "Live" to the name. For example, Pyreal Golem Live.jpg. If using a 300x400 stats panel, use the creature name, e.g. Pyreal Golem.jpg. For a vertical layout (short image 300 pixels wide) add "Vertical = True" at the end of the table template. See [[Individual Creature Template]] for an example of each layout.
 
For [[Misc. Creature Class]], set the subclass to what is actually in the ID panel. Normally subclass can be left out or blank, however for non Misc creatures that have a subclass (like mu-miyah) you can still put it in in case we incorporate this into the table in the future.
 
Any stats left blank will automatically show up as ??.
 
This template is only part of the creature page template, notes are not included due to their variability and being in a distinct section. Note that unlike the rest of the parameters, for Trophies you need to include wiki link brackets (e.g., <nowiki>[[Pyreal Mote]]</nowiki>). The reason for this is to retain flexibility if you need to give a different name than the actual link and the name may include punctuation (e.g., <nowiki>[[Pyreal Mote|Mote]]</nowiki>).
 
For example:
 
<pre style="width:auto; overflow:auto">
{{Creature
|          Patch = Ancient Enemies
|            Name = Pyre Minion
|          Image = Pyre Minion Live.jpg
|          Class = Skeleton
|        Subclass =
|          Level = 200
|        Strength = 400
|      Endurance = 400
|    Coordination = 300
|      Quickness = 300
|          Focus = 250
|            Self = 250
|          Health = 3000
|        Stamina = 2900
|            Mana = 250
|  Melee Defense = 520
|    Melee Attack = 633
| Missile Defense =
|  Missile Attack = --
|  Magic Defense = 421
|    Magic Attack = --
|              XP = 450,000
|      Weaknesses = Bludgeon
|        Attacks = Bludgeon
|        Trophies = [[Pyre Shroud]], [[Ornate Bone Key]], [[Ancient Mhoire Coin]]
}}
</pre>


displays as:


{{Creature
{{#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>
|           Patch = Ancient Enemies
|           Name = Pyre Minion
|           Image = Pyre Minion Live.jpg
|           Class = Skeleton
|       Subclass =
|           Level = 200
|       Strength = 400
|       Endurance = 400
|   Coordination = 300
|       Quickness = 300
|           Focus = 250
|           Self = 250
|         Health = 3000
|         Stamina = 2900
|           Mana = 250
|   Melee Defense = 520
|   Melee Attack = 633
| Missile Defense =
| Missile Attack = --
|   Magic Defense = 421
|    Magic Attack = --
|              XP = 450,000
|      Weaknesses = Bludgeon
|        Attacks = Bludgeon
|        Trophies = [[Pyre Shroud]], [[Ornate Bone Key]], [[Ancient Mhoire Coin]]
}}</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.