Template:Equipment/doc

From Dragon Quest Wiki

The Equipment template is used to display information for various pieces of equipment in Dragon Quest games. This template covers all types of equipment (weapons, armor, shields, helmets, accessories). This template describes a piece of equipment for a single game.

Usage

In almost all cases, using this template should be preceded by a heading of the game it comes from. This is because the template only covers a single item in a single game. Each game, therefore, should have its own instance of this template.

Header

A header call to this template should be the first usage of this template on any page.

{{Equipment|header}}
  • header: A required parameter which marks this as the start of a equipment table.

Entry

An entry call is made to designate equipment data for a specific console. Note that pieces of equipment that have the exact same attributes across different consoles can be described in the same entry.

{{Equipment|subtable|console=NES,GBC|name=Copper Sword|statModified=Attack|statModifier=+10|notes=This weapon is cursed}}
  • entry: A required parameter marking an entry.
  • console: The console version of the game. This parameter should contain multiple console values separated by commas if the attribute parameters are the same. This is not a required parameter for games which have only one console version.
  • name: The name of the piece of equipment. Note that equipment with different localized names, can be combined if there other parameters are the same. If this is the case, the most recent localization name should be used, with others following in parentheses (i.e. Steel Sword (Broad Sword)).
  • image: if there is an image of this piece of equipment, it should be linked here. This parameter is optional.
  • statModified: The stat being modified by the equipment
  • statModifier: The value (+/-) the stat is being modified. Should include a + or - in front of the value.
  • buyPrice: The price of the equipment when purchased in a shop. This is an optional parameter.
  • sellPrice: The price of the equipment when sold to a shop.
  • notes: Any special notes about this particular piece of equipment (cursed, in-battle effects, etc.) This parameter is optional.

Footer

The footer call marks the end of the equipment table.

{{Shop|footer}}
  • footer: A required parameter marking the template as the footer.

Notes on condensing tables

It is common that many pieces of equipment have slight differences in different console versions of a game. If only the name of the equipment has changed, the console versions may share a common subtable with the name detailed as instructed above. However, if there are changes to the equipment stats or notes parameters, each console version should have a separate subtable. This keeps the table more readable and requires less effort to comprehend.

Example

Sample

 {{{name}}}
Equipable by
Buy Price {{{buyPrice}}}
Sell Price {{{sellPrice}}}

Code

{{Equipment|header}}
{{Equipment|entry|console=DS|name=Club|statModified=Attack|statModifier=+8|buyPrice=60g|sellPrice=30g}}
{{Equipment|entry|name=Club|console=SNES|statModified=Attack|statModifier=+10||buyPrice=60g|sellPrice=30g|notes=Casts Blaze in battle when used as an item}}
{{Equipment|footer}}