Template:Creature: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Tlosk's Bot
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{{Quest|}}}
              |
              |Introduced in [[{{#ifeq:{{{Patch}}}
                                  |
                                  | ??
                                  | {{{Patch}}}
                                  }}]].
              |From [[{{{Quest}}}]] introduced in [[{{#ifeq:{{{Patch}}}
                                                          |
                                                          | ??
                                                          | {{{Patch}}}
                                                        }}]].
            }}
{|width={{#ifeq:{{lc:{{{Vertical|}}}}}|true|300|600}} border=5 cellspacing=0
{|width={{#ifeq:{{lc:{{{Vertical|}}}}}|true|300|600}} border=5 cellspacing=0
!colspan=3 height=40 bgcolor=#E0E0E0|<big>{{{Name}}}</big>
!colspan=3 height=40 bgcolor=#E0E0E0|<big>{{{Name}}}</big>
Line 64: Line 50:
!colspan=2| {{#ifeq:{{{Trophies}}} | | ?? | {{{Trophies}}} }}
!colspan=2| {{#ifeq:{{{Trophies}}} | | ?? | {{{Trophies}}} }}
|-
|-
|}{{#ifeq: {{PAGENAME}}
|}{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly><noinclude>
  | Individual Creature Template
  |
  | {{#ifeq: {{PAGENAME}}
      | Creature
      |
      | {{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}}  
                              | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}}  
                                                          | {{{Subclass|u}}}  
                                                          | {{#if:{{{Subclass|}}}  
                                                              | [[Category:{{{Subclass}}}]]  
                                                              |  
                                                            }}  
                                                          |
                                                          }}
                              }}
    }}  
  }}</includeonly><noinclude>
{{Related|Wiki Templates|Individual Creature Template}}
{{Related|Wiki Templates|Individual Creature Template}}
== Syntax ==
== Syntax ==
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Creature
{{Creature
|          Quest =
|          Patch =
  |            Name =  
  |            Name =  
  |          Image =  
  |          Image =  
  |          Class =  
  |          Class =  
  |        Subclass =  
  |        Subclass =  
|            Boss =
  |          Level =  
  |          Level =  
  |        Strength =  
  |        Strength =  
Line 113: Line 80:
  |        Attacks =  
  |        Attacks =  
  |        Trophies =  
  |        Trophies =  
|        Vertical =
}}
}}
</pre>
</pre>


== Usage ==
== Usage ==
Table for individual creature stats. The default layout is horizontal (stats on left image on right). If at all possible use an in game screen shot that is 300x400 pixels and append "Live" to the name. For example, Pyreal Golem Live.jpg. If using a 300x400 stats panel, use the creature name, e.g. Pyreal Golem.jpg. For a vertical layout (short image 300 pixels wide) add "Vertical = True" at the end of the table template. See [[Individual Creature Template]] for an example of each layout.  
This is a component template that is part of a [[Page Template]]. See [[Individual Creature Template]] for details on usage and examples.
 
Normally Quest is left blank, however for creatures that are strongly associated with a particular quest, like boss creatures, you can specify a quest.
 
For [[Misc. Creature Class]], set the subclass to what is actually in the ID panel. Normally subclass can be left out or blank, however for non Misc creatures that have a subclass (like mu-miyah) you can still put it in in case we incorporate this into the table in the future.
 
Any stats left blank will automatically show up as ??.
 
This template is only part of the creature page template, notes are not included due to their variability and being in a distinct section. Note that unlike the rest of the parameters, for Trophies you need to include wiki link brackets (e.g., <nowiki>[[Pyreal Mote]]</nowiki>). The reason for this is to retain flexibility if you need to give a different name than the actual link and the name may include punctuation (e.g., <nowiki>[[Pyreal Mote|Mote]]</nowiki>).
 
For example:
 
<pre style="width:auto; overflow:auto">
{{Creature
|          Quest = Undead Jaw Bone Collector Task
|          Patch = Ancient Enemies
|            Name = Pyre Minion
|          Image = Pyre Minion Live.jpg
|          Class = Skeleton
|        Subclass =
|          Level = 200
|        Strength = 400
|      Endurance = 400
|    Coordination = 300
|      Quickness = 300
|          Focus = 250
|            Self = 250
|          Health = 3000
|        Stamina = 2900
|            Mana = 250
|  Melee Defense = 520
|    Melee Attack = 633
| Missile Defense =
|  Missile Attack = --
|  Magic Defense = 421
|    Magic Attack = --
|              XP = 450,000
|      Weaknesses = Bludgeon
|        Attacks = Bludgeon
|        Trophies = [[Pyre Shroud]], [[Ornate Bone Key]], [[Ancient Mhoire Coin]]
}}
</pre>


displays as:
</noinclude>
 
{{Creature
|          Patch = Ancient Enemies
|            Name = Pyre Minion
|          Image = Pyre Minion Live.jpg
|          Class = Skeleton
|        Subclass =
|          Level = 200
|        Strength = 400
|      Endurance = 400
|    Coordination = 300
|      Quickness = 300
|          Focus = 250
|            Self = 250
|          Health = 3000
|        Stamina = 2900
|            Mana = 250
|  Melee Defense = 520
|    Melee Attack = 633
| Missile Defense =
|  Missile Attack = --
|  Magic Defense = 421
|    Magic Attack = --
|              XP = 450,000
|      Weaknesses = Bludgeon
|        Attacks = Bludgeon
|        Trophies = [[Pyre Shroud]], [[Ornate Bone Key]], [[Ancient Mhoire Coin]]
}}</noinclude>

Revision as of 16:16, 3 February 2009

{{{Name}}} [[Image:{{{Image}}}|300x400px]]
[[{{{Class}}}]] LVL {{{Level}}}
Strength Endurance Coord
{{{Strength}}} {{{Endurance}}} {{{Coordination}}}
Quick Focus Self
{{{Quickness}}} {{{Focus}}} {{{Self}}}
Health Stamina Mana
{{{Health}}} {{{Stamina}}} {{{Mana}}}
Melee D/A Missile D/A Magic D/A
{{{Melee Defense}}} / {{{Melee Attack}}} {{{Missile Defense}}} / {{{Missile Attack}}} {{{Magic Defense}}} / {{{Magic Attack}}}
XP: {{{XP}}}xp
Weaknesses: {{{Weaknesses}}}
Common Attacks: {{{Attacks}}}
Trophies & Items: {{{Trophies}}}

</includeonly>

Related topics: Wiki Templates, Individual Creature Template

Syntax

{{Creature
 |            Name = 
 |           Image = 
 |           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 = 
 |        Vertical = 
}}

Usage

This is a component template that is part of a Page Template. See Individual Creature Template for details on usage and examples.