Template:Spell: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Arkalor
No edit summary
imported>Arkalor
mNo edit summary
Line 23: Line 23:
|-
|-
|colspan=2|
|colspan=2|
{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana|}}}<br>}}{{#ifeq:{{{Range|}}}|||Range: {{{Range|}}}<br>}}{{#ifeq:{{{Duration|}}}|||Duration: {{{Duration|}}}<br>}}{{#ifeq:{{{Level|}}}|||Spell Level: {{{Level|}}}<br>}}{{#ifeq:{{{Spell Words|}}}|||Spell Words: [[{{{Spell Words|}}}]]<br><br>}}{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||<br>{{{Description}}}<br><br>}}}}<center>{{#ifeq:{{{Formula|}}}|||Formula:<br>{{{Formula|}}}}}</center>
{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana|}}}<br>}}{{#ifeq:{{{Range|}}}|||Range: {{{Range|}}}<br>}}{{#ifeq:{{{Duration|}}}|||Duration: {{{Duration|}}}<br>}}{{#ifeq:{{{Level|}}}|||Spell Level: {{{Level|}}}<br>}}{{#ifeq:{{{Spell Words|}}}|||Spell Words: [[{{{Spell Words|}}}]]<br>}}{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||<br>{{{Description}}}<br><br>}}}}<center>{{#ifeq:{{{Formula|}}}|||Formula:<br>{{{Formula|}}}}}</center>
|}
|}
|width=20|
|width=20|

Revision as of 17:36, 5 July 2012

Related topics: Wiki Templates, Spell Template, Category:Spell

Syntax

{{Spell
 |               Name = 
 |             School = Creature Enchantment/Item Enchantment/Life Magic/Void Magic/War Magic
 |               Type = Item/Fellowship/House Item/Monster/Recall
 |         Icon Image =  Icon.png
 |         Live Image = 
 | Live Image Caption = 
 |        Description = 
 |               Mana = 
 |              Range =  yds.
 |           Duration =  min.
 |              Level = I/II/III/IV/V/VI/VII/VIII
 |        Spell Words = 
 |            Formula = {{Icons|}}
}}

Usage

This wiki template is a section within the page template Spell Template, go there for full details and an example.