(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))
(Remove hiding of the bottom border)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|
<includeonly>{|style="border-collapse:collapse; float:right"
|
{|class="character-infobox" style="margin-bottom:-6px;"
!colspan="2" class="worldbgc"|{{{Name}}}
|-
|colspan="2"|{{#ifexist:File:{{{Image}}} | [[File:{{{Image}}}|thumb|center]] | [[File:{{{Image}}}|center|Image Needed]] }}
|-
|'''Class'''
|[[{{{Class|}}}]]
|-
|-
|
|'''Level'''
{|
|{{{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;"
|colspan=2 style="border-top:solid 1px #e5e5e5"|
|-
|'''XP'''
|{{{XP|}}}
|-
|'''Luminance'''
|{{{Luminance|}}}
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>'''
|'''Loot Tier'''
|{{{Loot Tier|}}}
|-
|-
|colspan=4|
|colspan=2 style="border-top:solid 1px #e5e5e5"|
----
|-
|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>
|}
|-
|-
|colspan=4|
|style="width:90px"|'''Attacks'''
----
|{{{Attacks|}}}
|-
|-
|width=5|
|'''Weaknesses'''
!align=left| Strength
|{{{Weaknesses|}}}
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=5|
|-
|-
|width=5|
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!align=left| Endurance
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=5|
|-
|-
|width=5|
|'''Strength'''
!align=left| Coordination
|{{{Strength|}}}
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=5|
|-
|-
|width=5|
|'''Endurance'''
!align=left| Quickness
|{{{Endurance|}}}
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=5|
|-
|-
|width=5|
|'''Coordination'''
!align=left| Focus
|{{{Coordination|}}}
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=5|
|-
|-
|width=5|
|'''Quickness'''
!align=left| Self
|{{{Quickness|}}}
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=5|
|-
|-
|width=5|
|'''Focus'''
!align=left| <font color=darkred>Health
|{{{Focus|}}}
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=5|
|-
|-
|width=5|
|'''Self'''
!align=left| <font color=darkgoldenrod>Stamina
|{{{Self|}}}
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=5|
|-
|-
|width=5|
|'''Health'''
!align=left| <font color=darkblue>Mana
|{{{Health|}}}
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=5|
|-
|-
|colspan=4|
|'''Stamina'''
----
|{{{Stamina|}}}
|-
|-
|width=5|
|'''Mana'''
!align=left| <font color=darkgreen>XP
|{{{Mana|}}}
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}}xp }}'''
|width=5|
|-
|-
|}
|}
|}
|-
|
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
{|cellpadding=2
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Advanced Stats
!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}}}}}'''
|'''Melee Attack'''
|{{{Melee Attack|}}}
|-
|-
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Common Attacks'''
|style="width:90px"|'''Melee Defense'''
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Weaknessess'''
|{{{Melee Defense|}}}
|-
|-
|valign=top colspan=3 align=center| {{#ifeq:{{{Attacks|}}}||??|{{{Attacks}}}}}
|'''Missile Attack'''
|valign=top colspan=3 align=center| {{#ifeq:{{{Weaknesses|}}}||??|{{{Weaknesses}}}}}
|{{{Missile Attack|}}}
|-
|-
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee A'''
|'''Missile Defense'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Missile A'''
|{{{Missile Defense|}}}
|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}}}}}
|'''Magic Attack'''
|valign=top align=center| {{#ifeq:{{{Missile Attack}}}||??|{{{Missile Attack}}}}}
|{{{Magic 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}}}}}
|-
|-
|'''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>
<h2 id="Trophies>Trophies</h2>
{{Related|Wiki Templates|Creature Template}}
{{{Trophies|}}}<!--
== Syntax ==
-->{{#if:{{{nocat|}}}| <!-- add no categories --> | [[Category:Creature Index]] <!--
<pre style="width:auto; overflow:auto">
-->{{#if:{{{Class|}}}|[[Category:{{{Class}}}]]}}<!--
{{Creature
-->{{#if:{{{Subclass|}}}|[[Category:{{{Subclass}}}]]}}<!--
|           Name =
-->{{#ifeq:{{lc:{{{Boss|}}}}}|true|[[Category:Boss Creatures]]|}}}}<!--
|           Image =
--><div class="creaturetooltip tooltip-content" style="display:none">Experience:&nbsp;&nbsp;{{#if:{{{XP|}}}|{{{XP}}}|??}}<br>Luminance:&nbsp;&nbsp;{{#if:{{{Luminance|}}}|{{{Luminance}}}|??}}<br>Loot Tier:&nbsp;&nbsp;{{#if:{{{Loot Tier|}}}|{{{Loot Tier}}}|??}}<br>Trophies:<br>{{#if:{{{Trophies|}}}|{{{Trophies}}}}}</div></includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]][[Category:Infobox Templates]]</noinclude>
|           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]]
</noinclude>

Latest revision as of 21:02, 21 January 2024

Template Documentation: |_}}/Doc?action=edit Edit Documentation

Related topics: Wiki Templates, Creature Template

Syntax Edit

{{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 Edit

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