Template:Spell List Header: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 57: Line 57:
displays as:
displays as:


{{Spell List Header
[[Category:Spell List]]
  |     School = Creature
{|style=width:100%
  | Spell Words = Equin Casith
|-valign=top
  | Useful for landing yields.
|
{|
|-valign=top
|
{{#switch:Creature
| 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)]] [[Category:Item Enchantment Spell]]
  | 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)]] [[Category:War Magic Spell]]
  | [[File:0x0600115D.png|link=Spells]]
}}
}}
|width=4| 
|
{{#ifeq:Equin Casith|||* Spell Words: <font color=cornflowerblue>'''Equin Casith'''</font>}}
* 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.
{{#ifeq: Useful for landing yields.
|||*  Useful for landing yields.
}}
{{#ifeq:|||* }}
{{#ifeq:|||* }}
|}
|align=right|
__ToC__
|}


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

Revision as of 09:16, 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:

 
  • 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.