Template:Spell/doc

From Dragon Quest Wiki

The Spell template is used to display information for spells in Dragon Quest games. This template describes a single spell 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 spell 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.

{{Spell|header}}
  • header: A required parameter which marks this as the start of an spell table.

Entry

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

{{Spell|entry
|console=NES,GBC
|name=Whack
|flavor=Instantly kills a group of enemies
|effect=Has a 50% chance of instantly defeating each enemy in an enemy group
|mp=8
|notes=This spell is only learned late in the game}}
  • 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 spell. Note that spells 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. Sizz (Blaze)).
  • image: if there is an image of this item, it should be linked here. This parameter is optional.
  • mp: The mp cost to cast the spell
  • flavor: If there is specific flavor text used to describe this spell in the game, it should be quoted here. This paramter is optional.
  • effect: A general description of what the spell does.
  • notes: Any special notes about this particular spell This parameter is optional.

Footer

The footer call marks the end of the spell table.

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

Notes on condensing tables

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

Example

Sample

{{{name}}}
MP {{{mp}}}
Effect {{{effect}}}


Sizz (DS)
MP 2
Effect Causes 10-20 points of fire damage to a single enemy
Flavor text Throws a fireball at the enemy
Note {{{note}}}
Sizz (SNES)
MP 4
Effect Causes 10-15 points of fire damage to a single enemy
Flavor text A large fireball engulfs the enemy
Note {{{note}}}
{{{name}}}
MP {{{mp}}}
Effect {{{effect}}}


Code

{{Spell|header}}
{{Spell|entry
|console=DS
|name=Sizz
|mp=2
|flavor=Throws a fireball at the enemy
|effect=Causes 10-20 points of fire damage to a single enemy
|notes=This spell is dumb}}
{{Spell|entry
|name=Sizz
|console=SNES
|mp=4
|flavor=A large fireball engulfs the enemy
|effect=Causes 10-15 points of fire damage to a single enemy
|notes=A pretty cool spell}}
{{Spell|footer}}