Template:SR Spell/Doc

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Summary[edit]

This template provides the row formatting for Skyrim spell tables as well as ensuring that sorting works as expected.

Note: Currently, this functions more or less as a traditional template; in the future, it may be desirable to #load the data in, but not all spell pages are set up well for this currently.

Parameters[edit]

SR Spell
Parameter Scope Description
name required The page name of the spell without the namespace, but including the "(spell)" disambiguator, if needed (e.g., "Oakflesh" or "Detect Life (spell)").
addon optional The two-letter abbreviation of the namespace of the spell. Assumed to be Skyrim unless otherwise specified.
icon optional The variable portion of the icon name (i.e., File:SR-icon-spell-icon.png).
school optional The name of the spell school only if the column appears in the table (e.g., Skyrim:Spells#Dragonborn).
tomeid optional The formid of the tome that grants you the spell.
multispell optional If non-blank, adds an "s" after "Spell ID" and "Tome ID".
skill optional Minimum skill level at which you can buy the perk that halves the cost of the spell. Values should be 0, 25, 50, 75, or 100; anything else produces "N/A".
tome optional The base cost of the tome that grants you the spell.
magicka optional The base magicka cost of the spell (number only).
magickaextra optional Any additional text to add immediately after the magicka amount. For concentration spells, the "/s" can be added here.
skillxp optional The amount the relevant skill is raised when you cast the spell (number only).
skillxpextra optional Any additional text to add immediately after the skill XP amount. For concentration spells, the "/s" can be added here.
desc optional A description of the spell and the effect details.
where optional Where you can get the spell.

Examples[edit]

{{SR Spell
|name=Clairvoyance (spell)
|icon=Magic Hat
|spellid=00021143
|tomeid=000ff7d1
|skill=0
|tome=50
|magicka=25
|magickaextra=/s
|skillxp=0.25
|skillxpextra=/s
|desc=''Shows the path to the current goal:''
* [[Skyrim:Clairvoyance (effect)|Clairvoyance]], for 1 sec
|where=* Can be purchased from: [[Skyrim:Calcelmo|Calcelmo]], [[Skyrim:Drevis Neloren|Drevis Neloren]], [[Skyrim:Falion|Falion]], [[Skyrim:Farengar Secret-Fire|Farengar Secret-Fire]], [[Skyrim:Madena|Madena]], [[Skyrim:Nelacar|Nelacar]], [[Skyrim:Riverwood Trader|Riverwood Trader]], [[Skyrim:Sybille Stentor|Sybille Stentor]], [[Skyrim:Wuunferth the Unliving|Wuunferth the Unliving]], [[Skyrim:Wylandriah|Wylandriah]]
* Can be found in [[Skyrim:Embershard Mine|Embershard Mine]]
}}
{{SR Spell
|name=Whirlwind Cloak
|addon=DB
|icon=Whirlwind
|spellid=xx01772d
|tomeid=xx0177ad
|skill=50
|tome=395
|magicka=338
|skillxp=0
|desc=''For 60 seconds, opponents in melee range have a chance of being flung away:''
* Cast on self
* Whirlwind Cloak, 10 pts for 60 secs
|where=* Can be purchased from [[Dragonborn:Talvas Fathryon|Talvas Fathryon]] after completing the quest [[Dragonborn:Wind and Sand (quest)|Wind and Sand]]. 
* Only available with the [[Dragonborn:Dragonborn|Dragonborn add-on]]
}}

Assuming these were placed in a suitable table, they would produce:

Icon Spell Name
(IDs)
Skill Level Tome
Value
Magicka Base Cost Skill XP Description and Effect Details Where to Get
SR-icon-spell-Magic Hat.png Clairvoyance
Spell ID00021143
Tome ID000ff7d1
0
Novice
50 25/s 0.25/s Shows the path to the current goal:
SR-icon-spell-Whirlwind.png Whirlwind CloakDB
Spell IDxx01772d
Tome IDxx0177ad
50
Adept
395 338 0 For 60 seconds, opponents in melee range have a chance of being flung away:
  • Cast on self
  • Whirlwind Cloak, 10 pts for 60 secs