Template:Creature: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
mNo edit summary
imported>An Adventurer
(removing top border from advanced stats section)
 
(12 intermediate revisions by 5 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;"
|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| {{#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| '''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level}}}}}</span>
|}
|-
|-
|colspan=4|
|style="width:90px"|'''Attacks'''
----
|{{{Attacks|}}}
|-
|-
|width=1|
|'''Weaknesses'''
!align=left| Strength
|{{{Weaknesses|}}}
|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|
|'''Strength'''
!align=left| Coordination
|{{{Strength|}}}
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Endurance'''
!align=left| Quickness
|{{{Endurance|}}}
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Coordination'''
!align=left| Focus
|{{{Coordination|}}}
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Quickness'''
!align=left| Self
|{{{Quickness|}}}
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Focus'''
!align=left| <font color=darkred>Health
|{{{Focus|}}}
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Self'''
!align=left| <font color=darkgoldenrod>Stamina
|{{{Self|}}}
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Health'''
!align=left| <font color=darkblue>Mana
|{{{Health|}}}
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=1|
|-
|-
|colspan=4|
|'''Stamina'''
----
|{{{Stamina|}}}
|-
|-
|width=1|
|'''Mana'''
!align=left| <font color=darkgreen>XP
|{{{Mana|}}}
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}}xp }}'''
|width=1|
|-
|-
|}
|}
|}
|-
|
|
{|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}}}||&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>
<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 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.