Template:Creature: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>An Adventurer
(removing top border from advanced stats section)
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{|width={{#ifeq:{{lc:{{{Vertical|}}}}}|true|300|600}} border=5 cellspacing=0
<includeonly>{|style="border-collapse:collapse; float:right"
!colspan=3 height=40 bgcolor=#E0E0E0|<big>{{{Name}}}</big>
|
{{#ifeq:{{lc:{{{Vertical|}}}}}|true|{{!}}-|}}
{|class="character-infobox" style="margin-bottom:-6px; border-bottom:0px"
!{{#ifeq:{{lc:{{{Vertical|}}}}} | true | colspan=3 | rowspan=14 }} bgcolor=#E0E0E0| [[Image:{{{Image}}}|300x400px]]
!colspan="2" class="worldbgc"|{{{Name}}}
|-
|-
!colspan=2 height=40| [[{{#ifeq:{{{Class|}}}|Misc. Creature Class|{{{Class}}}{{!}}{{{Subclass}}}|{{{Class}}}}}]] || LVL {{{Level}}}
|colspan="2"|{{#ifexist:File:{{{Image}}} | [[File:{{{Image}}}|thumb|center]] | [[File:{{{Image}}}|center|Image Needed]] }}
|-
|-
!width=100 bgcolor=#E0E0E0| Strength
|'''Class'''
!width=100 bgcolor=#E0E0E0| Endurance
|[[{{{Class|}}}]]
!width=100 bgcolor=#E0E0E0| Coord
|-
|-
! {{#ifeq:{{{Strength}}} | | ?? | {{{Strength}}} }}
|'''Level'''
! {{#ifeq:{{{Endurance}}} | | ?? | {{{Endurance}}} }}
|{{{Level|}}}
! {{#ifeq:{{{Coordination}}} | | ?? | {{{Coordination}}} }}
|-
|-
!bgcolor=#E0E0E0| Quick
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!bgcolor=#E0E0E0| Focus
!bgcolor=#E0E0E0| Self
|-
|-
! {{#ifeq:{{{Quickness}}} | | ?? | {{{Quickness}}} }}
|'''XP'''
! {{#ifeq:{{{Focus}}} | | ?? | {{{Focus}}} }}
|{{{XP|}}}
! {{#ifeq:{{{Self}}} | | ?? | {{{Self}}} }}
|-
|-
!bgcolor=#FFC0CB|<font color=red> Health
|'''Luminance'''
!bgcolor=#FFFFE0|<font color=darkgoldenrod> Stamina
|{{{Luminance|}}}
!bgcolor=#8BB0D6|<font color=blue> Mana
|-
|-
!<font color=red> {{#ifeq:{{{Health}}} | | ?? | {{{Health}}} }}
|'''Loot Tier'''
!<font color=darkgoldenrod> {{#ifeq:{{{Stamina}}} | | ?? | {{{Stamina}}} }}
|{{{Loot Tier|}}}
!<font color=blue> {{#ifeq:{{{Mana}}} | | ?? | {{{Mana}}} }}
|-
|-
!bgcolor=#E0E0E0| Melee D/A
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!bgcolor=#E0E0E0| Missile D/A
!bgcolor=#E0E0E0| Magic D/A
|-
|-
! {{#ifeq:{{{Melee Defense}}} | | ?? | {{{Melee Defense}}} }} / {{#ifeq:{{{Melee Attack}}} | | ?? | {{{Melee Attack}}} }}
|style="width:90px"|'''Attacks'''
! {{#ifeq:{{{Missile Defense}}} | | ?? | {{{Missile Defense}}} }} /  {{#ifeq:{{{Missile Attack}}} | | ?? | {{{Missile Attack}}} }}
|{{{Attacks|}}}
! {{#ifeq:{{{Magic Defense}}} | | ?? | {{{Magic Defense}}} }} / {{#ifeq:{{{Magic Attack}}} | | ?? | {{{Magic Attack}}} }}
|-
|-
!bgcolor=#98FB98|<font color=darkgreen> XP:
|'''Weaknesses'''
!colspan=2|<font color=darkgreen> {{#ifeq:{{{XP}}} | | ?? | {{{XP}}}xp }}
|{{{Weaknesses|}}}
|-
|-
!Weaknesses:
|colspan=2 style="border-top:solid 1px #e5e5e5"|
!colspan=2| {{#ifeq:{{{Weaknesses}}} | | ?? | {{{Weaknesses}}} }}
|-
|-
!Common Attacks:
|'''Strength'''
!colspan=2| {{#ifeq:{{{Attacks}}} | | ?? | {{{Attacks}}} }}
|{{{Strength|}}}
|-
|-
!Trophies & Items:
|'''Endurance'''
!colspan=2| {{#ifeq:{{{Trophies}}} | | ?? | {{{Trophies}}} }}
|{{{Endurance|}}}
|-
|-
|}{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly><noinclude>
|'''Coordination'''
{{Related|Wiki Templates|Individual Creature Template}}
|{{{Coordination|}}}
== Syntax ==
|-
<pre style="width:auto; overflow:auto">
|'''Quickness'''
{{Creature
|{{{Quickness|}}}
|           Name =
|-
|           Image =
|'''Focus'''
|           Class =  
|{{{Focus|}}}
|       Subclass =
|-
|           Boss =
|'''Self'''
|           Level =
|{{{Self|}}}
|       Strength =
|-
|       Endurance =
|'''Health'''
|   Coordination =
|{{{Health|}}}
|       Quickness =
|-
|           Focus =
|'''Stamina'''
|           Self =
|{{{Stamina|}}}
|         Health =
|-
|         Stamina =
|'''Mana'''
|           Mana =
|{{{Mana|}}}
|   Melee Defense =
|-
|   Melee Attack =
|}
| Missile Defense =
|-
| Missile Attack =
|
|   Magic Defense =
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
|   Magic Attack =
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Advanced Stats
|             XP =
|-
|     Weaknesses =  
|'''Melee Attack'''
|         Attacks =
|{{{Melee Attack|}}}
|       Trophies =
|-
|       Vertical =
|style="width:90px"|'''Melee Defense'''
}}
|{{{Melee Defense|}}}
</pre>
|-
 
|'''Missile Attack'''
== Usage ==
|{{{Missile Attack|}}}
This is a component template that is part of a [[Page Template]]. See [[Individual Creature Template]] for details on usage and examples.
|-
 
|'''Missile Defense'''
</noinclude>
|{{{Missile Defense|}}}
|-
|'''Magic Attack'''
|{{{Magic Attack|}}}
|-
|'''Magic Defense'''
|{{{Magic Defense|}}}
|}
|}
<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.