Predefinição:SR Spell
Summary
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
SR Spell | ||
---|---|---|
Parâmetero | Escopo | Descrição |
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. |
icon |
required | The trailing portion of the icon name, as per parameter 2 in the {{Icon}} template. |
iconns |
optional | Namespace name or abbreviation for the icon. Assumed to be Skyrim unless otherwise specified. |
school |
optional | The name of the spell school only if the column appears in the table (e.g., Dragonborn:Spells). |
spellid |
optional | The formid of the spell. |
tomeid |
optional | The formid of the tome that grants you the spell. If no tome exists, use "None". |
multipspell |
optional | If non-blank, adds an "s" after "Spell ID" and "Tome ID". |
skill |
optional | Minimum skill level at which you can cast 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
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{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]] }} <pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{SR Spell |name=Whirlwind Cloak |addon=DB |icon=Whirlwind |iconns=DB |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 DLC]] }}
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 | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clairvoyance
|
0 Novice |
50 | 25/s | 0.25/s | Shows the path to the current goal:
|
|
|||||
75px | Whirlwind CloakDB
|
50 Adept |
395 | 338 | 0 | For 60 seconds, opponents in melee range have a chance of being flung away:
|
|