Template:Creature: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
mNo 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|{{{..."
 
(13 intermediate revisions by 5 users not shown)
Line 4: Line 4:
{|
{|
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
{|cellpadding=2 style="background:#f9f9f9; vertical-align:top;"
{|cellpadding=1 style="background:#f9f9f9; vertical-align:top;"
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>'''
|align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>'''
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 21: Line 21:
----
----
|-
|-
|width=2|
|width=1|
!align=left| Strength
!align=left| Strength
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| Endurance
!align=left| Endurance
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| Coordination
!align=left| Coordination
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| Quickness
!align=left| Quickness
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| Focus
!align=left| Focus
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| Self
!align=left| Self
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| <font color=darkred>Health
!align=left| <font color=darkred>Health
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| <font color=darkgoldenrod>Stamina
!align=left| <font color=darkgoldenrod>Stamina
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=2|
|width=1|
|-
|-
|width=2|
|width=1|
!align=left| <font color=darkblue>Mana
!align=left| <font color=darkblue>Mana
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=2|
|width=1|
|-
|-
|colspan=4|
|colspan=4|
----
----
|-
|-
|width=2|
|width=1|
!align=left| <font color=darkgreen>XP
!align=left| <font color=darkgreen>XP
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}}xp }}'''
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}} }}'''
|width=2|
|width=1|
|-
|width=1|
!align=left| <font color=purple>Luminance
|align=right| <font color=purple>'''{{#ifeq:{{{Luminance|}}} | | ?? | {{{Luminance}}} }}'''
|width=1|
|-
|width=1|
!align=left| [[Loot Tier|<font color=teal>Loot Tier</font>]]
|align=right| <font color=teal>'''{{#ifeq:{{{Loot Tier|}}} | | ?? | [[Loot/Tier {{{Loot Tier}}}|<font color=teal><u>{{{Loot Tier}}}</u></font>]]}}'''
|width=1|
|-
|-
|}
|}
Line 79: Line 89:
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
{|cellpadding=2
!align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9;"| [[File:{{{Image|}}}|300x400px]]
!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]]}}
|}
|}
|-
|-
Line 88: Line 98:
|-
|-
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
|-
{{#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| '''Common Attacks'''
Line 111: Line 131:
|}
|}
|}
|}
{{#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}}
== 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]]
{{#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.