Template:Spell: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 1: Line 1:
<noinclude>
{{{{PAGENAME}}/doc}}
[[Category:Spell templates|{{PAGENAME}}]]
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{| cellpadding="0" cellspacing="0" class="spellTemplateTable"  
{| cellpadding="0" cellspacing="0" class="spellTemplateTable"  
! colspan="2" class="spellTemplateHeader" | {{#if: {{{image|}}} | {{{image}}}&nbsp; }} {{{name}}} {{#if: {{{console|}}} | ({{{console}}}) }}
! colspan="2" class="spellTemplateHeader" | {{{image|&nbsp;}}}&nbsp; {{{name}}} {{#if: {{{console|}}} | ({{{console}}}) }}
|-  
|-  
| class="spellTemplateHeader" | {{MP}}  
| class="spellTemplateHeader" | {{MP}}  
Line 21: Line 17:
{{!}} class="equipmentTemplateHeader" {{!}} Note  
{{!}} class="equipmentTemplateHeader" {{!}} Note  
{{!}} class="equipmentTemplateCell" {{!}} {{{note}}} }}
{{!}} class="equipmentTemplateCell" {{!}} {{{note}}} }}
|} </includeonly></onlyinclude>
|} </includeonly></onlyinclude><noinclude>
{{Spell/doc}}
[[Category:Spell templates]]
</noinclude>

Latest revision as of 03:44, 3 March 2026

The Spell template is used to display information for spells in Dragon Quest games. This template describes a single spell for a single game version.

Usage[edit source]

{{Spell
|console={{NES}}
|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}}
  • console: The console version of the game.
  • name: The name of the spell.
  • image: if there is an image of this item, it should be referenced here. This parameter is optional. Note this should be just the filename, not a link.
  • 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.

Example[edit source]

Sample[edit source]

   Sizz (DS)
MP 2
Effect Causes 10-20 points of fire damage to a single enemy
Flavor text Throws a fireball at the enemy

Code[edit source]

{{Spell
|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
|note=This spell is dumb}}