User:Farman/spelltemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
{{#if: {{{magictype|}}} |[[Category:{{{magictype}}} Magic]] | }} |
{{#if: {{{magictype|}}} |[[Category:{{{magictype}}} Magic]] | }} |
||
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells]] | }} |
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells]] | }} |
||
{{#ifeq: {{{held|}}} |[[Category:Held Mana Spells]] | }} |
{{#ifeq: {{{held|}}} | yes |[[Category:Held Mana Spells]] | }} |
||
{{#ifeq: {{{target|}}} |[[Category:Targeted Spells]] | }} |
{{#ifeq: {{{target|}}} | yes |[[Category:Targeted Spells]] | }} |
||
{{#ifeq: {{{scroll|}}} |[[Category:Scroll Spells ]] | }}</includeonly> |
{{#ifeq: {{{scroll|}}} | yes |[[Category:Scroll Spells ]] | }}</includeonly> |
||
<noinclude> |
<noinclude> |
||
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing. |
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing. |
Revision as of 04:29, 2 May 2007
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing.
Usage
{{spell |name= |abbrev= |prereqs= <!--links to other spells if needed--> |minprep= |castcap= |validtarget= Self |desc= |notes= |messaging= |guild= |spellbook= |magictype= |spelltype= |target= yes/no |held= yes/no |scroll= yes/no }}
Example
{