Template:Spell: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:Spell/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Spell templates|Spell]]
[[Category:Spell templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
Line 7: Line 7:
! colspan="2" class="spellTemplateHeader" | {{#if: {{{image|}}} | {{{image}}}&nbsp; }} {{{name}}} {{#if: {{{console|}}} | ({{{console}}}) }}
! colspan="2" class="spellTemplateHeader" | {{#if: {{{image|}}} | {{{image}}}&nbsp; }} {{{name}}} {{#if: {{{console|}}} | ({{{console}}}) }}
|-  
|-  
| class="spellTemplateHeader" | MP  
| class="spellTemplateHeader" | {{MP}}
| class="spellTemplateCell" | {{{mp}}}
| class="spellTemplateCell" | {{{mp}}}
|-
|-
Line 19: Line 19:
{{#if: {{{notes|}}} |
{{#if: {{{notes|}}} |
{{!}}-  
{{!}}-  
{{!}} class="equipmentTemplateHeader" {{!}} Notes
{{!}} class="equipmentTemplateHeader" {{!}} Note
{{!}} class="equipmentTemplateCell" {{!}} {{{notes}}} }}
{{!}} class="equipmentTemplateCell" {{!}} {{{note}}} }}
|} </includeonly></onlyinclude>
|} </includeonly></onlyinclude>

Latest revision as of 09:37, 12 January 2024

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]

{{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]

Sample[edit]

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]

{{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}}