Template:Creature: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Arkalor's Bot
(Changing specific Trophies to general Items (quest items, trophies etc))
imported>An Adventurer
(removing top border from advanced stats section)
 
(2 intermediate revisions by one other user 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]] }}
{|
|-
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
|'''Class'''
{|cellpadding=1 style="background:#f9f9f9; vertical-align:top;"
|[[{{{Class|}}}]]
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>'''
|'''Level'''
|{{{Level|}}}
|-
|-
|colspan=4|
|colspan=2 style="border-top:solid 1px #e5e5e5"|
----
|-
|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|
|'''XP'''
----
|{{{XP|}}}
|-
|-
|width=1|
|'''Luminance'''
!align=left| Strength
|{{{Luminance|}}}
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Loot Tier'''
!align=left| Endurance
|{{{Loot Tier|}}}
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=1|
|-
|-
|width=1|
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!align=left| Coordination
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=1|
|-
|-
|width=1|
|style="width:90px"|'''Attacks'''
!align=left| Quickness
|{{{Attacks|}}}
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Weaknesses'''
!align=left| Focus
|{{{Weaknesses|}}}
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=1|
|-
|-
|width=1|
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!align=left| Self
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Strength'''
!align=left| <font color=darkred>Health
|{{{Strength|}}}
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Endurance'''
!align=left| <font color=darkgoldenrod>Stamina
|{{{Endurance|}}}
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Coordination'''
!align=left| <font color=darkblue>Mana
|{{{Coordination|}}}
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=1|
|-
|-
|colspan=4|
|'''Quickness'''
----
|{{{Quickness|}}}
|-
|-
|width=1|
|'''Focus'''
!align=left| <font color=darkgreen>XP
|{{{Focus|}}}
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}}xp }}'''
|width=1|
|-
|-
|width=1|
|'''Self'''
!align=left| <font color=purple>Luminance:
|{{{Self|}}}
|align=right| <font color=purple>'''{{#ifeq:{{{Luminance|}}} | | ?? | {{{Luminance}}} }}'''
|width=1|
|-
|-
|}
|'''Health'''
|}
|{{{Health|}}}
|
{|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|
|'''Stamina'''
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
|{{{Stamina|}}}
|-
|-
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Items]]'''
|'''Mana'''
|{{{Mana|}}}
|-
|-
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Items|}}}||??|{{{Items}}}}}'''
|}
|-
|-
{{#ifeq:{{{Wielded Items|}}} | | |  
|
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[:Category:Unwieldable & Creature or NPC only Equipment{{!}}Commonly Wielded Items]]'''
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
{{!}}-
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Advanced Stats
{{!}}valign=top colspan=6 align=center{{!}} {{{Wielded Items}}}}}
|-
|-
{{#ifeq:{{{Spells Cast|}}} | | |
|'''Melee Attack'''
{{!}}bgcolor=#d0d0d0 align=center valign=top colspan=6{{!}}'''[[Spells{{!}}Spells Cast]]'''
|{{{Melee Attack|}}}
{{!}}-
{{!}}valign=top colspan=6 align=center{{!}} {{{Spells Cast}}}}}
|-
|-
|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 06: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.