Template:Sandbox: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Arkalor
mNo edit summary
imported>Arkalor
m (Reverted edits by Arkalor (talk) to last revision by Tlosk)
Line 1: Line 1:
<includeonly>[[Category:Spell]]{{#switch:{{lc:{{{School|??}}}}}
<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1|}}}}} {{{2|}}}]</span>
| Creature Enchantment = [[Category:Creature Enchantment Spell]][[Category:Quest Spell]]
| Item Enchantment = [[Category:Item Enchantment Spell]][[Category:Quest Spell]]
| Life Magic = [[Category:Life Magic Spell]][[Category:Quest Spell]]
| Void Magic = [[Category:Void Magic Spell]][[Category:Quest Spell]]
| War Magic = [[Category:War Magic Spell]]][[Category:Quest Spell]]
}}{{#switch:{{lc:{{{Spell Type|player}}}}}
| Player = [[Category:Quest Spell]]
| Monster = [[Category:Monster Only Spell]]
| Fellowship = [[Category:Fellowship Spell]][[Category:Quest Spell]]
| House Item = [[Category:Hooked Item Spell]][[Category:Unlearnable Castable Spell]]
| Recall = [[Category:Recall Spell]]][[Category:Quest Spell]]
}}
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
|colspan=2 align=center|'''{{{Name|??}}}'''
|-
|align=center| School: [[{{{School|??}}}]]
|width=40 align=center| {{#ifexist:File:{{{Icon Image|}}}|[[File:{{{Icon Image}}}]]|[[File:Icon.png]]}}
|-
|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>
|}
|width=20|
|
{{#ifeq:{{{Live Image|Live.jpg}}}
| Live.jpg
|
| {{#ifeq:{{{Live Image|}}}
    |
    |
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
|}
</includeonly><noinclude>
{{Related|Wiki Templates|Spell Template|:Category:Spell}}
== Syntax ==
<pre>
{{Spell
|              Name =
|            School = Creature Enchantment/Item Enchantment/Life Magic/Void Magic/War Magic
|              Type = Player/Monster/Fellowship/House Item/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|}}
}}
</pre>
 
== Usage ==
This wiki template is a section within the page template [[Spell Template]], go there for full details and an example.
 
</noinclude>

Revision as of 19:53, 5 July 2012