Template:Spell: Difference between revisions
From Dragon Quest Wiki
No edit summary |
Antiyonder (talk | contribs) No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| | <noinclude> | ||
! colspan="2" | {{{{PAGENAME}}/doc}} | ||
{{ | [[Category:Spell templates|{{PAGENAME}}]] | ||
</noinclude> | |||
<onlyinclude><includeonly> | |||
{| cellpadding="0" cellspacing="0" class="spellTemplateTable" | |||
! colspan="2" class="spellTemplateHeader" | {{#if: {{{image|}}} | {{{image}}} }} {{{name}}} {{#if: {{{console|}}} | ({{{console}}}) }} | |||
|- | |||
| class="spellTemplateHeader" | {{MP}} | |||
| class="spellTemplateCell" | {{{mp}}} | |||
|- | |- | ||
| class="spellTemplateHeader" | Effect | |||
| {{{ | | class="spellTemplateCell" | {{{effect}}} | ||
| | | | ||
{{#if: {{{flavor|}}} | | |||
{{!}}- | |||
{{!}} class="equipmentTemplateHeader" {{!}} Flavor text | |||
! | {{!}} class="equipmentTemplateCell" {{!}} {{{flavor}}} }} | ||
{{#if: {{{notes|}}} | | |||
{{!}}- | |||
! | {{!}} class="equipmentTemplateHeader" {{!}} Note | ||
{{!}} class="equipmentTemplateCell" {{!}} {{{note}}} }} | |||
|} </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}}