(creaturetooltip class)
(moved styling to common.css, changed layout to a right aligned infobox)
Line 1: Line 1:
<includeonly>{|
<includeonly>{|style="border-collapse:collapse; float:right"
|
{|class="character-infobox rowcolors"
!colspan="2" class="worldbgc"|{{{Name}}}<br><div>Level {{{Level}}}</div><div>[[{{{Class}}}]]</div>
|-
|colspan="2"|{{#ifexist:File:{{{Image}}} | [[File:{{{Image}}}|thumb|center]] | [[File:{{{Image}}}|center|Image Needed]] }}
|-
|colspan="2"|'''Main Stats'''
|-
|Strength
|{{{Strength}}}
|-
|Endurance
|{{{Endurance}}}
|-
|Coordination
|{{{Coordination}}}
|-
|-
|
|Quickness
{|
|{{{Quickness}}}
|
|-
{|class="character"
|Focus
|colspan="2" height=26 style="text-align:center"|<big>{{{Name}}}</big>
|{{{Focus}}}
|-
|Self
|{{{Self}}}
|-
|Health
|{{{Health}}}
|-
|Stamina
|{{{Stamina}}}
|-
|Mana
|{{{Mana}}}
|-
|XP
|{{{XP}}}
|-
|Luminance
|{{{Luminance}}}
|-
|-
|colspan="2"|<hr style="border-bottom:1px solid #907854; width:100%">
|Loot Tier
|-style="text-align:center"
|{{{Loot Tier}}}
|{{#if:{{{Class|}}}|{{{Class|??}}}}}<br>{{#if:{{{Title|}}}|{{{Title|}}}}}
|<hr style="border-left:1px solid #907854">|<small>Character Level</small><br><span style="font-size: x-large">{{#if:{{{Level|}}}|{{{Level}}}|??}}</span>
|-
|-
|colspan="2"|<hr style="border-bottom:1px solid #907854">
|Trophies:
|-style="line-height:75%"
| Strength
|style="text-align:right"| {{#if:{{{Strength|}}}|{{{Strength}}}|??}}
|-style="line-height:75%"
| Endurance
|style="text-align:right"| {{#if:{{{Endurance|}}}|{{{Endurance}}}|??}}
|-style="line-height:75%"
| Coordination
|style="text-align:right"| {{#if:{{{Coordination|}}}|{{{Coordination}}}|??}}
|-style="line-height:75%"
| Quickness
|style="text-align:right"| {{#if:{{{Quickness|}}}|{{{Quickness}}}|??}}
|-style="line-height:75%"
| Focus
|style="text-align:right"| {{#if:{{{Focus|}}}|{{{Focus}}}|??}}
|-style="line-height:75%"
| Self
|style="text-align:right"| {{#if:{{{Self|}}}|{{{Self}}}|??}}
|-style="line-height:75%"
| Health
|style="text-align:right"| {{#if:{{{Health|}}}|{{{Health}}}|??}}
|-style="line-height:75%"
| Stamina
|style="text-align:right"| {{#if:{{{Stamina|}}}|{{{Stamina}}}|??}}
|-style="line-height:75%"
| Mana
|style="text-align:right"| {{#if:{{{Mana|}}}|{{{Mana}}}|??}}
|-
|-
|colspan="2"|<hr style="border-bottom:1px solid #907854">
|colspan="2"|{{{Trophies}}}
|}
|}
|}
|-
|
|
{|style="border: 1px solid #907854; background-color: #1A1A1A; padding:2px"
{|class="character-infobox mw-collapsible mw-collapsed rowcolors"
|{{#ifexist:File:{{{Image|}}}|[[File:{{{Image|}}}|300x400px]]|[[File:Live.jpg|300x400px]][[Category:Images Needed (Creatures)]]}}
|colspan="2"|'''Advanced Stats'''
|}
|-
|Attacks
|{{{Attacks}}}
|-
|-
|colspan="2"|
|Weaknesses
{|class="wikitable" style="width:100%"
|{{{Weaknesses}}}
!colspan="2"| Experience
!colspan="2"| Luminance
!colspan="2"| Loot Tier
|-style="text-align:center"
|colspan="2"| {{#if:{{{XP|}}}|{{{XP}}}|??}}
|colspan="2"| {{#if:{{{Luminance|}}}|{{{Luminance}}}|??}}
|colspan="2"| {{#if:{{{Loot Tier|}}}|{{{Loot Tier}}}|??}}
|-
|-
!colspan="6"| Trophies
|Melee Attack
|-style="text-align:center"
|{{{Melee Attack}}}
|colspan="6"|{{#if:{{{Trophies|}}}|{{{Trophies}}}|??}}
|-
|-
{{#if:{{{Wielded Items|}}}|
|Melee Defense
!colspan="6"{{!}}Commonly Wielded Items
|{{{Melee Defense}}}
{{!}}-style="text-align:center"
{{!}}colspan="6"{{!}}{{{Wielded Items}}}}}
|-
|-
{{#if:{{{Spells Cast|}}}|
|Missile Attack
!colspan="6"{{!}}Spells Cast
|{{{Missile Attack}}}
{{!}}-style="text-align:center"
{{!}}colspan="6"{{!}} {{{Spells Cast}}}}}
|-
|-
!colspan="3"| Common Attacks
|Missile Defense
!colspan="3"| Weaknessess
|{{{Missile Defense}}}
|-style="text-align:center"
|colspan="3"| {{#if:{{{Attacks|}}}|{{{Attacks}}}|??}}
|colspan="3"| {{#if:{{{Weaknesses|}}}|{{{Weaknesses}}}|??}}
|-
|-
!Melee Att.
|Magic Attack
!Missile Att.
|{{{Magic Attack}}}
!Magic Att.
!Melee Def.
!Missile Def.
!Magic Def.
|-style="text-align:center"
|{{#if:{{{Melee Attack|}}}|&nbsp;{{{Melee Attack}}}&nbsp;}}
|{{#if:{{{Missile Attack|}}}|&nbsp;{{{Missile Attack}}}&nbsp;}}
|{{#if:{{{Magic Attack|}}}|&nbsp;{{{Magic Attack}}}&nbsp;}}
|{{#if:{{{Melee Defense|}}}|&nbsp;{{{Melee Defense}}}&nbsp;}}
|{{#if:{{{Missile Defense|}}}|&nbsp;{{{Missile Defense}}}&nbsp;}}
|{{#if:{{{Magic Defense|}}}|&nbsp;{{{Magic Defense}}}&nbsp;}}
|-
|-
|Magic Defense
|{{{Magic Defense}}}
|}
|}
|}<!--
|}<!--
Line 99: Line 82:
-->{{#if:{{{Subclass|}}}|[[Category:{{{Subclass}}}]]}}<!--
-->{{#if:{{{Subclass|}}}|[[Category:{{{Subclass}}}]]}}<!--
-->{{#ifeq:{{lc:{{{Boss|}}}}}|true|[[Category:Boss Creatures]]|}}}}<!--
-->{{#ifeq:{{lc:{{{Boss|}}}}}|true|[[Category:Boss Creatures]]|}}}}<!--
--><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 Template]][[Category:Stats Panel Template]]</noinclude>
--><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 Template]][[Category:Infobox Templates]]</noinclude>

Revision as of 20:04, 2 November 2014

Template Documentation: |_}}/Doc?action=edit 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.