Template:Spell List Header: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor's Bot
mNo edit summary
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>[[Category:Spell List]]
<includeonly>[[Category:Spell Lists]]
{|style=width:100%
{|style=width:100%
|-valign=top
|-valign=top
Line 7: Line 7:
|  
|  
{{#switch:{{{School|}}}
{{#switch:{{{School|}}}
  | Creature=[[File:Spell List Creature Magic.png|link=Creature Enchantment (Skill)]] [[Category:Creature Enchantment Spell]]
  | Creature=[[File:Spell List Creature Magic.png|link=Creature Enchantment (Skill)]] [[Category:Creature Enchantment Spells]]
  | Item=[[File:Spell List Item Magic.png|link=Item Enchantment (Skill)]] [[Category:Item Enchantment Spell]]
  | Item=[[File:Spell List Item Magic.png|link=Item Enchantment (Skill)]] [[Category:Item Enchantment Spells]]
  | Life=[[File:Spell List Life Magic.png|link=Life Magic (Skill)]] [[Category:Life Magic Spell]]
  | Life=[[File:Spell List Life Magic.png|link=Life Magic (Skill)]] [[Category:Life Magic Spells]]
  | War=[[File:Spell List War Magic.png|link=War Magic (Skill)]] [[Category:War Magic Spell]]
  | War=[[File:Spell List War Magic.png|link=War Magic (Skill)]] [[Category:War Magic Spells]]
  | [[File:0x0600115D.png|link=Spells]]
  | [[File:0x0600115D.png|link=Spells]]
}}
}}
|width=4|&nbsp;
|width=4|&nbsp;
|
|width=500|
{{#ifeq:{{{Spell Words|}}}|||* Spell Words: <font color=cornflowerblue>'''{{{Spell Words|}}}'''</font>}}
{{#ifeq:{{{Spell Words|}}}|||* Spell Words: <font color=cornflowerblue>'''{{{Spell Words|}}}'''</font>}}
* Spells within a group will override spells in the same group with the same or lower difficulty.
* 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.
* Spells in different groups will stack with each other.
* Type refers to whether a spell is player castable {{nobr|( [[File:Learnable Spell Icon.png|16x16px|link=This spell can be learned.]] )}}, player castable but retired {{nobr|( [[File:Retired Spell Icon.png|16x16px|link=This spell can no longer be learned.]] )}}, player usable but only on items {{nobr|( [[File:Item Only Spell Icon.png|16x16px|link=This spell is only found on items.]] )}}, only used by creatures {{nobr|( [[File:Creature Only Spell Icon.png|16x16px|link=This spell cannot be learned.]] )}}, or unknown/not in game {{nobr|( [[File:Unknown Icon.png|16x16px|This spell needs classification or is not yet available in game.]] )}}.
{{#ifeq:{{{1|}}}|||* {{{1|}}}}}
{{#ifeq:{{{1|}}}|||* {{{1|}}}}}
{{#ifeq:{{{2|}}}|||* {{{2|}}}}}
{{#ifeq:{{{2|}}}|||* {{{2|}}}}}
Line 25: Line 26:
__ToC__
__ToC__
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Documentation}}
== Syntax ==
<pre>
{{Spell List Header
|      School = <School>
| Spell Words = <Spell Words>
| <Optional Comment>
| <Optional Comment>
| <Optional Comment>
}}
 
{{Spell List Header
|      School =
| Spell Words =
}}
</pre>
 
== 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:
 
<pre>
{{Spell List Header
|      School = Creature
| Spell Words = Equin Casith
| Useful for landing yields.
}}
</pre>
 
displays as:
 
{|style=width:100%
|-valign=top
|
{|
|-valign=top
|
{{#switch:Creature
| Creature=[[File:Spell List Creature Magic.png|link=Creature 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)]] [[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|&nbsp;
|
{{#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>

Latest revision as of 07:37, 12 April 2014

Template Documentation: List Header| |_}}/Doc?action=edit Edit Documentation

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.

The image will link to that school's skill page and the page will automatically be categorized as that school and as a Spell List.

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.
  • Type refers to whether a spell is player castable ( ), player castable but retired ( ), player usable but only on items ( ), only used by creatures ( ), or unknown/not in game ( This spell needs classification or is not yet available in game. ).
  • Useful for landing yields.