Template:Spell: Difference between revisions

Created template
mNo edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
See [[Template:Spell/doc]] for documentation on this template.<br/>
[[Category:Spell templates|Spell]]
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{| cellpadding="0" cellspacing="0" class="spellTemplateTable"
| header = {{{!}} cellpadding="0" cellspacing="0" class="spellTemplateTable"  
! colspan="2" class="spellTemplateHeader" | {{{image|&nbsp;}}}&nbsp; {{{name}}} {{#if: {{{console|}}} | ({{{console}}}) }}
|-
| class="spellTemplateHeader" | {{MP}}  
| class="spellTemplateCell" | {{{mp}}}
|-
| class="spellTemplateHeader" | Effect
| class="spellTemplateCell" | {{{effect}}}
|
{{#if: {{{flavor|}}} |
{{!}}-
{{!}}-
| entry =
{{!}} class="equipmentTemplateHeader" {{!}} Flavor text
{{!}} style="vertical-align:top;" {{!}}
{{!}} class="equipmentTemplateCell" {{!}} {{{flavor}}} }}
{{{!}} cellpadding="5" cellspacing="0" style="margin: 0px 10px 0px 0px; height:100%; width:250px; border-collapse: collapse;"
{{#if: {{{notes|}}} |
{{!}}-  
{{!}}-  
{{!}} colspan="2" style="font-size:120%; font-weight:bold;" class="spellTemplateHeader" {{!}} {{#if: {{{image|}}} | {{{image}}} }} &nbsp;{{{name}}}
{{!}} class="equipmentTemplateHeader" {{!}} Note
{{!}}-
{{!}} class="equipmentTemplateCell" {{!}} {{{note}}} }}
{{!}} style="width:50px;" class="spellTemplateHeader" {{!}} MP
|} </includeonly></onlyinclude><noinclude>
{{!}} class="spellTemplateCell" {{!}} {{{mp}}}
{{Spell/doc}}
{{!}}-
[[Category:Spell templates]]
{{!}} style="width:50px;" class="spellTemplateHeader" {{!}} Effect
</noinclude>
{{!}} 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>