Template:Creature: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Immortalbob
No edit summary
imported>An Adventurer
(removing top border from advanced stats section)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{|
<includeonly>{|style="border-collapse:collapse; float:right"
|
{|class="character-infobox" style="margin-bottom:-6px; border-bottom:0px"
!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=1 style="background:#f9f9f9; vertical-align:top;"
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>'''
|colspan=2 style="border-top:solid 1px #e5e5e5"|
|-
|-
|colspan=4|
|'''XP'''
----
|{{{XP|}}}
|-
|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|
|'''Luminance'''
----
|{{{Luminance|}}}
|-
|-
|width=1|
|'''Loot Tier'''
!align=left| Strength
|{{{Loot Tier|}}}
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=1|
|-
|-
|width=1|
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!align=left| Endurance
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=1|
|-
|-
|width=1|
|style="width:90px"|'''Attacks'''
!align=left| Coordination
|{{{Attacks|}}}
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Weaknesses'''
!align=left| Quickness
|{{{Weaknesses|}}}
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=1|
|-
|-
|width=1|
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!align=left| Focus
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Strength'''
!align=left| Self
|{{{Strength|}}}
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Endurance'''
!align=left| <font color=darkred>Health
|{{{Endurance|}}}
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Coordination'''
!align=left| <font color=darkgoldenrod>Stamina
|{{{Coordination|}}}
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Quickness'''
!align=left| <font color=darkblue>Mana
|{{{Quickness|}}}
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=1|
|-
|-
|colspan=4|
|'''Focus'''
----
|{{{Focus|}}}
|-
|-
|width=1|
|'''Self'''
!align=left| <font color=darkgreen>XP
|{{{Self|}}}
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}}xp }}'''
|width=1|
|-
|-
|width=1|
|'''Health'''
!align=left| <font color=purple>Luminance:
|{{{Health|}}}
|align=right| <font color=purple>'''{{#ifeq:{{{Luminance|}}} | | ?? | {{{Luminance}}} }}'''
|width=1|
|-
|-
|}
|'''Stamina'''
|}
|{{{Stamina|}}}
|
{|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]]}}
|}
|-
|-
|align=center colspan=2|
|'''Mana'''
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
|{{{Mana|}}}
|-
|-
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Trophies]]'''
|}
|-
|-
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
|
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Advanced Stats
|-
|-
{{#ifeq:{{{Wielded Items|}}} | | |
|'''Melee Attack'''
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''Commonly Wielded Items'''
|{{{Melee Attack|}}}
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Wielded Items}}}}}
|-
|-
|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}}}||&nbsp;|{{{Melee Attack}}}}}
|'''Magic Attack'''
|valign=top align=center| {{#ifeq:{{{Missile Attack}}}||&nbsp;|{{{Missile Attack}}}}}
|{{{Magic 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}}}}}
|-
|-
|'''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>{{Documentation}}[[Category:Wiki Template]][[Category:Stats Panel Template]]</noinclude>
<h2 id="Trophies>Trophies</h2>
{{{Trophies|}}}<!--
-->{{#if:{{{nocat|}}}| <!-- add no categories --> | [[Category:Creature Index]] <!--
-->{{#if:{{{Class|}}}|[[Category:{{{Class}}}]]}}<!--
-->{{#if:{{{Subclass|}}}|[[Category:{{{Subclass}}}]]}}<!--
-->{{#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 Templates]][[Category:Infobox Templates]]</noinclude>

Latest revision as of 07:19, 9 June 2018

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.