Spell Template: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Arkalor
No edit summary
imported>An Adventurer
m (updating example link to not point to wikkii.net)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RightToC}}
{{Related|Page Templates|Spell List Template|Spells}}
{{Related|Page Templates|Wiki Templates|{{mtl|Spell}}|{{mtl|Intro}}}}


* For use with unique non-standard spells that are not dropped by [[Creatures]] or purchased at a [[Scrivener]]. This includes the spell types:
* Spells do not have individual templates, instead they are added to [[:Category:Spell List|spell lists]] that have the same or similar effect. For example, the spell [[Oswald's Blessing]] is a lockpick mastery spell so it would be added to the spell list page [[Lockpick Mastery (Spell)]].
** '''Fellowship''' spells.
* Once the spell has been added to the correct list, the name of the spell should be redirected to the [[:Category:Spell List|spell list]].
** '''House Item''' spells cast by hookable devices.
* Each redirect should be categorized so the spell appears in all the relevant [[:Category:Spell|categories]] to aid in searching. Category links should appear on the same line as the redirect with no spaces.
** '''Item''' spells cast by an object or wielded item.
* Links to related pages such as scrolls and items can be found by clicking the {{Icon|Link}} icons found on each row of the spell list.
** '''Monster''' spells.
** '''Player''' self/other spells acquired through quests.
** '''Recall''' spells.
 
* Common standard spells can be [[How To Make Redirects|redirected]] with [[List of Categories|category]] tags to the appropriate [[:Category:Spell List|Spell List]] page. For example, the level VII War Magic spell, [[Icy Torment]], is dropped by creatures so it has been redirected with the <nowiki>[[Category:War Magic Spell]]</nowiki> tag to the [[Frost Bolt (Spell)]] page.
* Depending on the spell type, certain variables are not needed and can be left blank or erased.
 
'''Things to include in the notes'''<br>
* For Creature and Life Magic spells, a spell list link can be included in the notes that points to the attribute, skill, or life protection the spell modifies for spell stacking information.
** Example: ''"See [[Cold Vulnerability (Spell)]] for stacking and override information."''
* For monster spells, you can include the <nowiki>{{Casted By}}</nowiki> link to see a list of creatures which cast that spell.


== Wiki Code ==
== Wiki Code ==
<section begin=Spell/><pre style="width:auto; overflow:auto">
''Example for the spell [[Oswald's Blessing]]
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
{{Spell
|              Name =
|            School = Creature Enchantment/Item Enchantment/Life Magic/Void Magic/War Magic
|              Type = Fellowship/House Item/Item/Monster/Player/Recall
|        Icon Image =  Icon.png
|        Live Image =
| Live Image Caption =
|        Description =
|              Mana =
|              Range =  yds.
|          Duration =  min.
|              Level = I/II/III/IV/V/VI/VII/VIII
|        Spell Words =
|            Formula = {{Icons|}}
}}
== Notes ==
*
</pre><section end=Spell/>
 
== Example ==
See [[Ulgrim's Recall]] for results of the code below:
 
<pre style="width:auto; overflow:auto">
{{Intro
| Patch Introduced = [[The Hall of the Tusker King]]
|  Related Quests = [[Ulgrim's Scroll|Ulgrim's Lost Scroll]]
|          Updated = [[#Previous Ulgrim's Recall Locations|See Below]]
}}
{{Spell
|              Name = Ulgrim's Recall
|            School = Item Enchantment
|              Type = Recall
|        Icon Image = Ulgrim's Recall Icon.png
|        Live Image =
| Live Image Caption =
|        Description = A really really good spell.
|              Mana = 150
|              Level = V
|        Spell Words = Shurov Thizael
|            Formula = {{Icons|Gold Scarab|Silver Scarab|Prismatic Taper|Prismatic Taper|Prismatic Taper|Prismatic Taper}}
}}
== Notes ==
* Ulgrim's Scroll (unusable) can be found on a Shallows Devourer. The drop rate is extremely low, estimated at 1 in 1000.
* When turned in to Ulgrim, he gives you Ulgrim's Recall Scroll.


</pre>
<pre>#redirect[[Lockpick Mastery (Spell)]][[Category:Creature Enchantment Spell]]</pre>


[[Category:Page Template]]
[[Category:Page Templates]]

Latest revision as of 13:51, 5 September 2020

Related topics: Page Templates, Spell List Template, Spells

  • Spells do not have individual templates, instead they are added to spell lists that have the same or similar effect. For example, the spell Oswald's Blessing is a lockpick mastery spell so it would be added to the spell list page Lockpick Mastery (Spell).
  • Once the spell has been added to the correct list, the name of the spell should be redirected to the spell list.
  • Each redirect should be categorized so the spell appears in all the relevant categories to aid in searching. Category links should appear on the same line as the redirect with no spaces.
  • Links to related pages such as scrolls and items can be found by clicking the icons found on each row of the spell list.

Wiki Code

Example for the spell Oswald's Blessing

#redirect[[Lockpick Mastery (Spell)]][[Category:Creature Enchantment Spell]]