Template:Monster

From Aethermancer Wiki
Jump to navigation Jump to search

This template uses the Database module to generate infoboxes, navigation boxes, displays, or tables for monsters. All parameters requiring a value are not case-sensitive.

Infoboxes

To generate an infobox of a monster, set the first parameter as infobox and the monster's name in the monster parameter.

This would create an infobox for Wyrmling.
{{ Monster | infobox | monster = Wyrmling }}

Navboxes

To generate a navigation box to the next and previous monsters, set the first parameter as navbox and the current monster's name in the monster parameter.

This would create a navbox to the monsters that come before and after Gargoyle.
{{ Monster | navbox | monster = Gargoyle }}

Displays

To generate a monster display, set the first parameter as display.

This would create a display listing all monsters:
{{ Monster | display }}

Action & Trait Parameters

The action and trait parameters are used to only show all monsters that can learn the specified action and trait, respectively. For starting actions, use filters instead of the action parameter.

This would create a display listing all monsters that can learn the Fire Bolt action:
{{ Monster | display | action = Fire Bolt }}

This would create a display listing all monsters that can learn the Taunt trait:
{{ Monster | display | trait = Taunt }}

Filter Parameters

There are additional parameters that can be used to filter only specific monsters. Up to three filter types can be made, each up to three filter values.

  • filterType#: The monster attribute, such as elements, types, poise, and start_actions. (# - 1, 2, 3)
  • value#: The desired value of the attribute. Required when there is a filter type. (# - 1, 2, 3)
  • orValue##: The other desired value of the attribute. Optional. (## - 11, 12, 21, 22, 31, 32)
This would create a  display listing all monsters that learns Spore:
{{ Monster | display
| filterType1 = start_actions | value1 = Spore
}}

This would create a display listing all monsters assigned with either the Earth or Wind elements:
{{ Monster | display
| filterType1 = elements | value1 = earth | orValue11 = wind
}}

This would create a display listing all monsters assigned with both the Earth and Wind elements:
{{ Monster | display
| filterType1 = elements | value1 = earth
| filterType2 = elements | value2 = wind
}}

This would create a display listing all monsters assigned with either the Fire or Water elements, that are also either the Aether or Heal types:
{{ Monster | display
| filterType1 = elements | value1 = fire     | orValue11 = water
| filterType2 = types    | value2 = aether   | orValue21 = heal
}}

This would create a table listing all monsters assigned with the Water element, that are also both the Power and Critical types:
{{Monster|table
|filterType1 = elements |value1 = water
|filterType2 = types    |value2 = power
|filterType3 = types    |value3 = critical
}}

Tables (Deprecated)

To generate a monster table, set the first parameter as table. Tables have the same parameters as display, such as action, trait, filterType, value, and orValue. However, it is recommended to use display where possible.

This would create a table listing all monsters:
{{ Monster | table }}

Lists

To generate a monster display or table with custom listing (without any specific filters), set the first parameter as displaylist or tablelist, respectively, followed by each monster's name.

This would create a table/display that will only list out the given monsters (in the same order it is listed):
{{ Monster | displaylist | Wolpertinger | Grimoire | Ravager | Dark Elder }}
{{ Monster | tablelist   | Wolpertinger | Grimoire | Ravager | Dark Elder }}