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|{{{..."
 
(70 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>'''Introduced in:''' [[{{{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}}}|300px]]
{|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=4|
----
|-
|-
!colspan=2 height=40| [[{{#ifeq:{{{Class|}}}|Misc. Creature Class|{{{Class}}}{{!}}{{{Subclass}}}|{{{Class}}}}}]] || LVL {{{Level}}}
|width=1|
!align=left| <font color=darkgreen>XP
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}} }}'''
|width=1|
|-
|-
!width=100 bgcolor=#E0E0E0| Strength
|width=1|
!width=100 bgcolor=#E0E0E0| Endurance
!align=left| <font color=purple>Luminance
!width=100 bgcolor=#E0E0E0| Coord
|align=right| <font color=purple>'''{{#ifeq:{{{Luminance|}}} | | ?? | {{{Luminance}}} }}'''
|width=1|
|-
|-
! {{{Strength}}}
|width=1|
! {{{Endurance}}}
!align=left| [[Loot Tier|<font color=teal>Loot Tier</font>]]
! {{{Coordination}}}
|align=right| <font color=teal>'''{{#ifeq:{{{Loot Tier|}}} | | ?? | [[Loot/Tier {{{Loot Tier}}}|<font color=teal><u>{{{Loot Tier}}}</u></font>]]}}'''
|width=1|
|-
|-
!bgcolor=#E0E0E0| Quick
|}
!bgcolor=#E0E0E0| Focus
|}
!bgcolor=#E0E0E0| 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]]}}
|}
|-
|-
! {{{Quickness}}}
|align=center colspan=2|
! {{{Focus}}}
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
! {{{Self}}}
|-
|-
!bgcolor=#FFC0CB|<font color=red> Health
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Trophies]]'''
!bgcolor=#FFFFE0|<font color=darkgoldenrod> Stamina
!bgcolor=#8BB0D6|<font color=blue> Mana
|-
|-
!<font color=red> {{{Health}}}
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
!<font color=darkgoldenrod> {{{Stamina}}}
!<font color=blue> {{{Mana}}}
|-
|-
!bgcolor=#E0E0E0| Melee D/A
{{#ifeq:{{{Wielded Items|}}} | | |  
!bgcolor=#E0E0E0| Missile D/A
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[:Category:Unwieldable & Creature or NPC only Equipment{{!}}Commonly Wielded Items]]'''
!bgcolor=#E0E0E0| Magic D/A
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Wielded Items}}}}}
|-
|-
! {{{Melee Defense}}} / {{{Melee Attack}}}
{{#ifeq:{{{Spells Cast|}}} | | |
{{{Missile Defense}}} /  {{{Missile Attack}}}
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[Spells{{!}}Spells Cast]]'''
! {{{Magic Defense}}} / {{{Magic Attack}}}
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Spells Cast}}}}}
|-
|-
!bgcolor=#98FB98|<font color=darkgreen> XP:
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Common Attacks'''
!colspan=2|<font color=darkgreen> {{{XP}}}
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Weaknessess'''
|-
|-
!Weaknesses:
|valign=top colspan=3 align=center| {{#ifeq:{{{Attacks|}}}||??|{{{Attacks}}}}}
!colspan=2| {{{Weaknesses}}}
|valign=top colspan=3 align=center| {{#ifeq:{{{Weaknesses|}}}||??|{{{Weaknesses}}}}}
|-
|-
!Common Attacks:
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee A'''
!colspan=2| {{{Attacks}}}
|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'''
|-
|-
!Trophies & Items:
|valign=top align=center| {{#ifeq:{{{Melee Attack}}}||&nbsp;|{{{Melee Attack}}}}}
!colspan=2| {{{Trophies}}}
|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}}}}}
|-
|-
|}</includeonly><noinclude>
|}
{{Related|Wiki Templates|Individual Creature Template}}
|}
== Syntax ==
 
<pre style="width:auto; overflow:auto">
{{Creature
|          Patch =
|            Name =
|          Image =
|          Class =
|          Level =
|        Strength =
|      Endurance =
|    Coordination =
|      Quickness =
|          Focus =
|            Self =
|          Health =
|        Stamina =
|            Mana =
|  Melee Defense = ??
|    Melee Attack = ??
| Missile Defense = ??
|  Missile Attack = ??
|  Magic Defense = ??
|    Magic Attack = ??
|              XP = 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. For trophies and items that are dropped, enclose in wiki link brackets, this allows you the freedom to specify a different name, e.g. [[Pyreal Mote|Mote]]. See [[Individual Creature Template]] for an example of each layout.
 
For [[Misc. Creature Class]], add a subclass line after class with what is actually in the ID panel:
 
<pre>
...
|          Class = Misc. Creature Class
|        Subclass = Empyrean
...
</pre>
 
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 (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
|          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,000xp
|      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
|           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,000xp
|     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.