Template:Spell: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| align = right class="infobox bordered" style="width: 18em; font-size: 90%; text-align: left; border:solid 1px #EB2626" cellpadding="3"  
<onlyinclude><includeonly>
! colspan="2" style="font-size:110%; text-align: center; background-color: #FFFFFF;" | ''{{{title}}}''
{| cellpadding="0" cellspacing="0" class="spellTemplateTable"  
{{qif|test={{{image|}}}|then= {{{image}}}}}
! colspan="2" class="spellTemplateHeader" | {{{image|&nbsp;}}}&nbsp; {{{name}}} {{#if: {{{console|}}} | ({{{console}}}) }}
|-
| class="spellTemplateHeader" | {{MP}}  
| class="spellTemplateCell" | {{{mp}}}
|-
|-
! style="background-color: #FFFFFF;" | [http://en.wikipedia.org/wiki/Kana Kana]
| class="spellTemplateHeader" | Effect
| {{{japanese}}}
| class="spellTemplateCell" | {{{effect}}}
|-
|
! style="background-color: #FFFFFF;" | Localized As
{{#if: {{{flavor|}}} |
| {{{names}}}
{{!}}-
|-
{{!}} class="equipmentTemplateHeader" {{!}} Flavor text
! style="background-color: #FFFFFF;" | MP Usage
{{!}} class="equipmentTemplateCell" {{!}} {{{flavor}}} }}
| {{{mp}}}
{{#if: {{{notes|}}} |
|-
{{!}}-  
! style="background-color:#FFFFFF;" | Effect
{{!}} class="equipmentTemplateHeader" {{!}} Note
| {{{effect}}}
{{!}} class="equipmentTemplateCell" {{!}} {{{note}}} }}
|}<noinclude>
|} </includeonly></onlyinclude><noinclude>
 
{{Spell/doc}}
== Usage ==
[[Category:Spell templates]]
<pre>
{{Spell
|title = ''use the title of the article (ex.'' Baikiruto'')''
|image = 
|japanese = ''use kana only (ex.'' バイキルト'')''
|names = ''example:'' Bikill''<br>'' TwinHits''<br>'' Oomph
|mp = ''if not a constant number (ex. 8) enter the range (ex. 2-4), including the specific detail in the article''
|effect = ''if effect is not constant, use'' various, see article
}}
</pre>
</noinclude>
</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}}