Template:Spell: Difference between revisions

From Dragon Quest Wiki
No edit summary
(reworking)
Line 1: Line 1:
{| align = right class="infobox bordered" style="width: 18em; font-size: 90%; text-align: left; border:solid 1px #EB2626" cellpadding="3"  
<noinclude>
! colspan="2" style="font-size:110%; text-align: center; background-color: #FFFFFF;" | ''{{{title}}}''
See [[Template:Spell/doc]] for documentation on this template.<br/>
{{qif|test={{{image|}}}|then= {{{image}}}}}
[[Category:Spell templates|Spell]]
</noinclude>
<onlyinclude><includeonly>
{| cellpadding="0" cellspacing="0" class="spellTemplateTable"  
! colspan="2" class="spellTemplateHeader" | {{#if: {{{image|}}} | {{{image}}}&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
|-
| class="equipmentTemplateCell" | {{{flavor}}} }}
! style="background-color: #FFFFFF;" | MP Usage
{{#if: {{{notes|}}} | |-
| {{{mp}}}
| class="equipmentTemplateHeader" | Notes
|-
| class="equipmentTemplateCell" | {{{notes}}} }}
! style="background-color:#FFFFFF;" | Effect
|} </includeonly></onlyinclude>
| {{{effect}}}
|}<noinclude>
 
== Usage ==
<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>

Revision as of 13:37, 28 July 2010

See Template:Spell/doc for documentation on this template.