Template:Spell: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Arkalor
No edit summary
imported>Arkalor
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:Spell]]{{#switch:{{{School|??}}}
<includeonly>[[Category:Quest Spell]]{{#switch:{{{School|??}}}
  | Creature Enchantment = [[Category:Creature Enchantment Spell]][[Category:Quest Spell]]
  | Creature Enchantment = [[Category:Creature Enchantment Spell]]
  | Item Enchantment = [[Category:Item Enchantment Spell]][[Category:Quest Spell]]
  | Item Enchantment = [[Category:Item Enchantment Spell]]
  | Life Magic = [[Category:Life Magic Spell]][[Category:Quest Spell]]
  | Life Magic = [[Category:Life Magic Spell]]
  | Void Magic = [[Category:Void Magic Spell]][[Category:Quest Spell]]
  | Void Magic = [[Category:Void Magic Spell]]
  | War Magic = [[Category:War Magic Spell]]][[Category:Quest Spell]]
  | War Magic = [[Category:War Magic Spell]]
}}{{#switch:{{lc:{{{Spell Type|}}}}}
| player = [[Category:Quest 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%
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
Line 21: Line 16:
|-
|-
|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|
Line 42: Line 37:
  |              Name =  
  |              Name =  
  |            School = Creature Enchantment/Item Enchantment/Life Magic/Void Magic/War Magic
  |            School = Creature Enchantment/Item Enchantment/Life Magic/Void Magic/War Magic
|              Type = Player/Fellowship/House Item/Recall
  |        Icon Image =  Icon.png
  |        Icon Image =  Icon.png
  |        Live Image =  
  |        Live Image = Live.jpg
  | Live Image Caption =  
  | Live Image Caption =  
  |        Description =  
  |        Description =  
Line 55: Line 49:
}}
}}
</pre>
</pre>
== Usage ==
== Usage ==
This wiki template is a section within the page template [[Spell Template]], go there for full details and an example.
This wiki template is a section within the page template [[Spell Template]], go there for full details and an example.


</noinclude>
</noinclude>

Latest revision as of 15:11, 7 July 2012

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

Syntax

{{Spell
 |               Name = 
 |             School = Creature Enchantment/Item Enchantment/Life Magic/Void Magic/War Magic
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | 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.