Template:Creature: Difference between revisions
(→Usage) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''Introduced in:''' [[{{{Patch}}}]] | <includeonly>'''Introduced in:''' [[{{{Patch}}}]] | ||
{|width=600 border=5 cellspacing=0 | {|width={{#ifeq:{{{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> | ||
!rowspan=14 bgcolor=#E0E0E0| [[Image:{{{Image}}}| | {{#ifeq:{{{Vertical|}}}|True|{{!}}-|}} | ||
!{{#ifeq:{{{Vertical|}}} | True | colspan=3 | rowspan=14 }} bgcolor=#E0E0E0| [[Image:{{{Image}}}|300px]] | |||
|- | |- | ||
!colspan=2 height=40| [[{{{Class}}}]] || LVL {{{Level}}} | !colspan=2 height=40| [[{{{Class}}}]] || LVL {{{Level}}} | ||
Line 85: | Line 86: | ||
== Usage == | == Usage == | ||
Table for individual creature stats. This is only part of the page template, notes are not included due to their variability and being in 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 (e.g., <nowiki>[[Pyreal Mote|Mote]]</nowiki>). | Table for individual creature stats. The default layout is horizontal (stats on left image on right). To do a vertical layout (image above stats) add another parameter "| Vertical = True". See [[Individual Creature Template]] for an example of each layout. | ||
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 (e.g., <nowiki>[[Pyreal Mote|Mote]]</nowiki>). | |||
For example: | For example: |
Revision as of 00:17, 17 January 2009
Related topics: Wiki Templates, Individual Creature Template
Syntax
{{Creature | Patch = | Name = | Image = | Class = | Level = | Strength = | Endurance = | Coordination = | Quickness = | Focus = | Self = | Health = | Stamina = | Mana = | Melee Defense = ?? | Melee Attack = ?? | Missile Defense = ?? | Missile Attack = ?? | Magic Defense = ?? | Magic Attack = ?? | XP = xp | Weaknesses = | Attacks = | Trophies = }}
Usage
Table for individual creature stats. The default layout is horizontal (stats on left image on right). To do a vertical layout (image above stats) add another parameter "| Vertical = True". See Individual Creature Template for an example of each layout.
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., [[Pyreal Mote]]). The reason for this is to retain flexibility if you need to give a different name than the actual link (e.g., [[Pyreal Mote|Mote]]).
For example:
{{Creature | Patch = Ancient Enemies | Name = Pyre Minion | Image = Pyre Minion Live.jpg | Class = Skeleton | 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,000xp | Weaknesses = Bludgeon | Attacks = Bludgeon | Trophies = [[Pyre Shroud]], [[Ornate Bone Key]], [[Ancient Mhoire Coin]] }}
displays as:
Introduced in: Ancient Enemies
Pyre Minion | |||
---|---|---|---|
Skeleton | LVL 200 | ||
Strength | Endurance | Coord | |
400 | 400 | 300 | |
Quick | Focus | Self | |
300 | 250 | 250 | |
Health | Stamina | Mana | |
3000 | 2900 | 250 | |
Melee D/A | Missile D/A | Magic D/A | |
520 / 633 | ?? / -- | 421 / -- | |
XP: | 450,000xp | ||
Weaknesses: | Bludgeon | ||
Common Attacks: | Bludgeon | ||
Trophies & Items: | Pyre Shroud, Ornate Bone Key, Ancient Mhoire Coin |