Template:Sandbox: Difference between revisions
From Drunkapedia
imported>Arkalor mNo 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%;"> | {{#ifeq:{{{Mana|}}}|||<div style="float:left;width:100%;">Mana: {{{Mana|}}</div>}}}{{#ifeq:{{{Level|}}}|||<div style="float: right; text-align: right;">Spell Level: {{{Level|}}</div>}}}<br>{{#ifeq:{{{Duration|}}}|||<div style="float: right; text-align: right;">Duration: {{{Duration|}}</div>}}}<br>{{#ifeq:{{{Range|}}}|||<div style="float:left;width:100%;">Range: {{{Range|}}}}}</div><br><br><br>{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}}}}}<br><br><center>{{#ifeq:{{{Formula|}}}|||Formula:<br>{{{Formula|}}}}}</center> | ||
|} | |} | ||
|width=20| | |width=20| |
Revision as of 14:11, 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 = {{Icons|}} }}
Usage
This wiki template is a section within the page template Spell Template, go there for full details and an example.