Template:Spell List Header: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
mNo edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>{|style=width:100%
<includeonly>[[Category:Spell List]]{|style=width:100%
|-valign=top
|-valign=top
|
|
Line 6: Line 6:
|  
|  
{{#switch:{{{School|}}}
{{#switch:{{{School|}}}
  | Creature=[[File:Spell List Creature Magic.png|link=Creature Enchantment (Skill)]]
  | Creature=[[File:Spell List Creature Magic.png|link=Creature Enchantment (Skill)]] [[Category:Creature Enchantment Spell]]
  | Item=[[File:Spell List Item Magic.png|link=Item Enchantment (Skill)]]
  | Item=[[File:Spell List Item Magic.png|link=Item Enchantment (Skill)]] [[Category:Item Enchantment Spell]]
  | Life=[[File:Spell List Life Magic.png|link=Life Magic (Skill)]]
  | Life=[[File:Spell List Life Magic.png|link=Life Magic (Skill)]] [[Category:Life Magic Spell]]
  | War=[[File:Spell List War Magic.png|link=War Magic (Skill)]]
  | War=[[File:Spell List War Magic.png|link=War Magic (Skill)]] [[Category:War Magic Spell]]
  | [[File:0x0600115D.png|link=Spells]]
  | [[File:0x0600115D.png|link=Spells]]
}}
}}
Line 23: Line 23:
|align=right|
|align=right|
__ToC__
__ToC__
|}
|}</includeonly><noinclude>
 
</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==

Revision as of 08:14, 18 July 2009

Related topics: Wiki Templates

Syntax

{{Spell List Header
 |      School = <School>
 | Spell Words = <Spell Words>
 | <Optional Comment>
 | <Optional Comment>
 | <Optional Comment>
}}

{{Spell List Header
 |      School = 
 | Spell Words = 
}}

Usage

Used at the top of Category:Spell List pages. Displays an image, a table of contents, spell words, stacking/override information, and up to three optional notes. Use "Creature", "Item", "Life", or "War" for school, if not specified a default image will be used.

For example:

{{Spell List Header
 |      School = Creature
 | Spell Words = Equin Casith
 | Useful for landing yields.
}}

displays as:{|style=width:100% |-valign=top |

 
  • Spell Words: Equin Casith
  • Spells within a group will override spells in the same group with the same or lower difficulty.
  • Spells in different groups will stack with each other.
  • Useful for landing yields.


|align=right|

|}