Template:Spell Row: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
(changed to only display spell components if learnable)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>| '''[[{{{1|}}}]]'''
<includeonly>|align=center| {{#switch:{{{Type|}}}|Learnable=[[File:Learnable Spell Icon.png|link=This spell can be learned.]]|Creature=[[File:Creature Only Spell Icon.png|link=This spell cannot be learned.]]|Retired=[[File:Retired Spell Icon.png|link=This spell can no longer be learned.]]|Item=[[File:Item Only Spell Icon.png|link=This spell is only found on items.]]|[[File:Unknown Icon.png|This spell needs classification or is not yet available in game.]]}}
| '''[[{{{1|}}}]]'''
|align=center| [[File:Link Icon.png|link=:Special:Whatlinkshere/{{{1|}}}]]
|align=center| [[File:Link Icon.png|link=:Special:Whatlinkshere/{{{1|}}}]]
|align=center| {{{2|}}}
|align=center| {{{2|}}}
Line 6: Line 7:
|align=center| {{{5|}}}
|align=center| {{{5|}}}
|<small>{{{6|}}}</small>
|<small>{{{6|}}}</small>
| {{{7|}}}
| {{#ifeq:{{{Type|}}}|Learnable|{{{7|}}}|&nbsp;}}
|-
|-
</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates|{{mtl|Spell Table}}}}
== Syntax ==
== Syntax ==
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Spell Row|<Spell Name>|<Duration>|<Range>|<Mana>|<Priority>|<Description>|{{Spell Formula|<Component>|<Component>}}
{{Spell Row|Type=<Spell Type>|<Spell Name>|<Duration>|<Range>|<Mana>|<Priority>|<Description>|{{Spell Formula|<Component>|<Component>}}
</pre>
</pre>


== Usage ==
== Usage ==
Spell Types:
* Learnable - Can be learn by players, either through scrolls or a quest.
* Retired - Was learnable, but no longer (mostly harmful self spells).
* Creature - Unlearnable, cast by creatures.
* Item - Unlearnable, cast by items.
* Leave blank if unknown.


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 20:36, 12 November 2009

Related topics: Wiki Templates, {{Spell Table}}

Syntax

{{Spell Row|Type=<Spell Type>|<Spell Name>|<Duration>|<Range>|<Mana>|<Priority>|<Description>|{{Spell Formula|<Component>|<Component>}}

Usage

Spell Types:

  • Learnable - Can be learn by players, either through scrolls or a quest.
  • Retired - Was learnable, but no longer (mostly harmful self spells).
  • Creature - Unlearnable, cast by creatures.
  • Item - Unlearnable, cast by items.
  • Leave blank if unknown.