Template:Spell/doc/usage

General parameters

 * image : Optional. An image of the spell being cast.
 * caption : Optional. A description of the image, if necessary. This field will be italicized for you.
 * name : Required. The name of the spell. It is also italicized automatically; do not surround with  wiki markup.
 * othernames : Optional. If the spell is called any any alternate names, list them here.
 * deity : Optional. For spells granted by a specific deity, link the deity's name.
 * inventor : Optional. Some spells have a known inventor, such as the Simbul. If one exists for the spell in question, link it here.

Edition-specific parameters

 * school5e, school3e, school2e, school1e : Optional. The pinwheel of wizard schools (Abjuration, Alteration, etc.) including Universal was used in all editions except 4th. Even priest spells belonged to a school. You may include the subschool in parentheses if applicable. For example: "Conjuration (Summoning)". You may add the names from other magic systems as well, such as the Netherese specializations and winds, the Elemental schools, Zakharan provinces, etc.
 * level5e, level4e, level3e, level2e, level1e : Optional. Please make a Spell table for each edition as needed. You must specify the edition parameter of the spell table to match this, i.e., set it to 5e, 4e, etc. If variant (see below) is set because you are calling one of the subtemplates (like Prayer), then set it in the spell table also.
 * type5e, type4e : Optional. Fourth edition types are At-Will, Daily, Encounter, or Ritual. Fifth edition types are Cantrip, Ritual, or Channel Divinity. The type4e and type5e parameters cause the look of the infobox to change and generate specific categories, so please use only those values listed here.
 * type2e : Optional. Values for this field include Epic magic for spells higher than 9 level.
 * type1e : Optional. For cantrips or orisons, possible values are Useful, Reversed, Legerdemain, Person-affecting, Personal, Haunting, and Minor illusion (illusionist only). Please use only the values listed here&mdash;categories are automatically generated based on this field.
 * refs5e, refs4e, refs3e, refs2e, refs1e : Optional. These parameters are used to put &lt;ref&gt; tags in the subtitles rather than have them clutter up a spell table or cause alignment problems in the infobox. Usually all the spell information comes from one source, but you can add more citations where needed.
 * Example:


 * domains5e, domains3e : Optional. Priest spells in 3.x edition were grouped by domain instead of sphere, but it's the same idea. Fifth edition had divine domains that gave clerics some free spells (they did not take up a spell slot) as they advanced in level. List the domains here and put them in the Spell table so categories are generated.
 * Example:


 * circles5e : Optional. Fifth edition added druid circles which gave druids free spells (they did not take up a spell slot). Please list them here and put them in the Spell table so categories are generated.
 * oaths5e : Optional. Fifth edition added paladin oaths which gave paladins free spells. Please list them here and put them in the Spell table so categories are generated. Currently the choices are Devotion oath, Ancients oath, and Vengeance oath.
 * origins5e : Optional. Fifth edition added sorcerous origins which gave sorcerers free spells. Please list them here and put them in the Spell table so categories are generated. Currently the only choice is Divine soul origin.
 * patrons5e : Optional. Fifth edition added patron-expanded spells for warlocks which gave them more choices. Currently the possible patrons are Archfey patron, Fiend patron, Great Old One patron, or Undying patron.
 * specialists5e : Optional. Fifth edition added expanded lists of spells for artificer specialists. Currently available specialist options are Alchemist specialist, Artillerist specialist, and Battle Smith specialist.
 * traditions5e : Optional. Fifth edition added monastic traditions to the monk class which gave them some spellcasting ability. The known traditions are Open Hand tradition, Shadow tradition, and Four Elements tradition.
 * archetypes5e : Optional. Fifth edition added archetypes to the ranger class which gave them some spellcasting ability. The known archetypes are Gloom Stalker archetype, Horizon Walker archetype, and Monster Slayer archetype.
 * feature4e : Optional. Some 4th edition powers are considered "class features" and do not have a level, but are available to a character at level one. Possible values for this field are Paladin Feature, Wizard Cantrip, Feat Power, etc.
 * keywords4e : Optional. In 4th edition, these were set off by a diamond (&diams;) after the spell's type and are similar to third edition "descriptors". See Descriptors below for a list of Desc templates you can use, one for each keyword. Please list these in alphabetical order with no spaces, e.g.,.
 * category4e : Optional. A ritual in 4th edition was classified in one of nine categories: Binding, Creation, Deception, Divination, Exploration, Restoration, Scrying, Travel, and Warding. This field will be used to alter the look of the infobox and generate specific categories (for 4th edition rituals only).
 * skill4e : Optional. A ritual in 4th edition requires one of four key skills that defines the type of components required: Arcana, Heal, Nature, or Religion. Please note the skill here.
 * descriptors3e : Optional. Usually offset by square brackets (e.g., [Cold] ), some spells in 3.x edition had these designations as yet another way of categorizing spells. See Descriptors below for a list of possible Desc templates. If you add the desc/fire descriptor, the spell will be placed in Category:Fire spells. Use  to get Category:Fire powers.
 * spheres2e : Optional. Priest spells in 2nd edition belonged to one or more spheres. Priests of a specific mythos were granted access to spells in the spheres related to their primary deity. List them here and in the Spell table so categories are generated.
 * reversible2e, reversible1e : Optional. Some first and second edition spells have an evil twin. Setting either of these to any value will designate the spell as reversible.

Advanced
These parameters are for changing the behavior of the infobox and require specific values.
 * type : Optional. This is a special parameter used to customize the infobox for 4th edition spells and powers. Possible values are at-will, daily, encounter, or ritual and MUST be all lower case because the name is used to create custom CSS selectors that change the color scheme to match that found in the 4th edition manuals. Only specify this if the newest version of the spell is 4th edition. If there is a 5th edition version, just set type4e and type5e appropriately and leave this blank.
 * variant : Optional. Not shown above. This is for use by the pass-through templates. If type or type4e are set, this parameter causes the spell to be called something different and be put in a different category. Possible values are: Power, Discipline, Evocation, Exploit, Hex, Prayer, Channel Divinity, Channel Divinity Prayer, and Ritual (not case sensitive; the first letter will be capitalized in the title bar). You can also set this to Mystery for shadow magic spells in 3.5 edtion. If not specified, it defaults to spell. Even if type is not set, the spell will be put in . The default is Category:Spells. NOTE: If this is set, any keywords, descriptors, or spell tables should also have their variant set to the same value.
 * nocat : Optional. Not shown above. Setting this to  will suppress the generation of categories for this spell&mdash;mainly used for documentation pages like this one. Note that each keyword, descriptor, and spell table has its own nocat parameter.

Deprecated
This parameters are here for backward compatibility only. They should not be used on a new page.
 * school : Optional. The school or schools of the spell listed.
 * spheres : Optional. Second edition priest spells have spheres.
 * domains : Optional. Third and 3.5 edition changed spheres to domains.
 * descriptors : Optional. Another 3rd edition change. These were usually offset by square brackets (e.g., [Cold] ) near the spell's name.
 * keywords : Same as descriptors except for 4th edition. These were usually offset by a diamond (&diams;) after the spell's type.
 * level : Optional. Please use a spell table and list the class name and the level of the spell for whomever can cast this spell.
 * category : Optional. If the article is about a ritual in 4th edition, this category is entered here.
 * skill : Optional. A ritual in 4th edition requires one of four key skills that defines the type of components required: Arcana, Heal, Nature, or Religion.
 * rules : Optional. Use only if all the spell information comes from one edition and you did not specify any edition-specific options. Values should be 1st, 2nd, 3rd, etc.