Template:Spell List Header: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(Created page with '<includeonly>{|style=width:100% |-valign=top | {| |-valign=top | {{#switch:{{{School|}}} | Creature=link=Creature Enchantment (Skill) | …')
 
imported>Arkalor's Bot
mNo edit summary
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{|style=width:100%
<includeonly>[[Category:Spell Lists]]
{|style=width:100%
|-valign=top
|-valign=top
|
|
Line 6: Line 7:
|  
|  
{{#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 Spells]]
  | 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 Spells]]
  | 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 Spells]]
  | 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 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 23: Line 25:
|align=right|
|align=right|
__ToC__
__ToC__
|}
|}</includeonly><noinclude>
 
{{Documentation}}
</includeonly><noinclude>
{{Related|Wiki Templates}}
== 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 optional notes.
 
For example:
 
<pre>
{{Spell List Header
|      School = Creature
| Spell Words = Equin Casith
| Useful for landing yields.
}}
</pre>
 
displays as:
 
{{Spell List Header
|      School = Creature
| Spell Words = Equin Casith
| Useful for landing yields.
}}
 
[[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.