Template:Sandbox: Difference between revisions
From Drunkapedia
imported>Arkalor No edit summary |
imported>Arkalor No edit summary |
||
Line 22: | Line 22: | ||
|-valign=top | |-valign=top | ||
|colspan=2| | |colspan=2| | ||
<div style="float:left;width:100%;">Mana: {{#ifeq:{{{Mana|}}}|||{{{Mana|}}}}}<div style="float: right; text-align: right;">Duration: {{#ifeq:{{{Duration|}}}|||{{{Duration|}}}}}<br>Spell Level: {{#ifeq:{{{Level|}}}|||{{{Level|}}}}}</div><br>Range: {{#ifeq:{{{Range|}}}|||{{{Range|}}}}}</div><br><br>{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}}}}}<br><br><center>Formula:<br>{{{ | <div style="float:left;width:100%;">Mana: {{#ifeq:{{{Mana|}}}|||{{{Mana|}}}}}<div style="float: right; text-align: right;">Duration: {{#ifeq:{{{Duration|}}}|||{{{Duration|}}}}}<br>Spell Level: {{#ifeq:{{{Level|}}}|||{{{Level|}}}}}</div><br>Range: {{#ifeq:{{{Range|}}}|||{{{Range|}}}}}</div><br><br>{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}}}}}<br><br><center>Formula:<br>{{{Formula}}}</center> | ||
|} | |} | ||
|width=20| | |width=20| |
Revision as of 13:29, 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 = Player/Monster/Fellowship/House Item/Recall | Level = I/II/III/IV/V/VI/VII/VIII | Icon Image = Icon.png | Live Image = | Live Image Caption = | Description = | Mana = | Range = yds. | Duration = min. | Formula = {{Spell Formula|}} }}
Usage
This wiki template is a section within the page template Spell Template, go there for full details and an example.