Template:Spell: Difference between revisions

From Dragon Quest Wiki
(Created template)
No edit summary
Line 1: Line 1:
<noinclude>
{| align = right class="infobox bordered" style="width: 18em; font-size: 90%; text-align: left; border:solid 1px #EB2626" cellpadding="3"
See [[Template:Spell/doc]] for documentation on this template.<br/>
! colspan="2" style="font-size:110%; text-align: center; background-color: #FFFFFF;" | ''{{{title}}}''
[[Category:Spell templates|Spell]]
{{qif|test={{{image|}}}|then= {{{image}}}}}
|-
! style="background-color: #FFFFFF;" | [http://en.wikipedia.org/wiki/Kana Kana]
| {{{japanese}}}
|-
! style="background-color: #FFFFFF;" | Localized As
| {{{names}}}
|-
! style="background-color: #FFFFFF;" | MP Usage
| {{{mp}}}
|-
! style="background-color:#FFFFFF;" | Effect
| {{{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>
</noinclude>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}
| header = {{{!}} cellpadding="0" cellspacing="0" class="spellTemplateTable"
{{!}}-
| entry =
{{!}} style="vertical-align:top;" {{!}}
{{{!}} cellpadding="5" cellspacing="0" style="margin: 0px 10px 0px 0px; height:100%; width:250px; border-collapse: collapse;"
{{!}}-
{{!}} colspan="2" style="font-size:120%; font-weight:bold;" class="spellTemplateHeader" {{!}} {{#if: {{{image|}}} | {{{image}}} }} &nbsp;{{{name}}}
{{!}}-
{{!}} style="width:50px;" class="spellTemplateHeader" {{!}} MP
{{!}} class="spellTemplateCell" {{!}} {{{mp}}}
{{!}}-
{{!}} style="width:50px;" class="spellTemplateHeader" {{!}} Effect
{{!}} class="spellTemplateCell" {{!}} {{{effect}}}
{{!}}
{{#if: {{{flavor|}}} | {{!}}-
{{!}} style="width:50px;" class="equipmentTemplateHeader" {{!}} Flavor text
{{!}} class="equipmentTemplateCell" {{!}} {{{flavor}}} }}
{{#if: {{{console|}}} | {{!}}-
{{!}} style="width:50px;" class="equipmentTemplateHeader" {{!}} Console
{{!}} class="equipmentTemplateCell" {{!}} {{{console}}} }}
{{#if: {{{notes|}}} | {{!}}-
{{!}} style="width:50px;" class="equipmentTemplateHeader" {{!}} Notes
{{!}} class="equipmentTemplateCell" {{!}} {{{notes}}} }}
{{!}}}
{{!}}
| footer = {{!}}} }}
</includeonly></onlyinclude>

Revision as of 10:50, 27 April 2010

{{{title}}}

Template:Qif

Kana {{{japanese}}}
Localized As {{{names}}}
MP Usage {{{mp}}}
Effect {{{effect}}}

Usage

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