Template:LearnSpell/doc

From Krafties
< Template:LearnSpell
Revision as of 17:34, 10 October 2020 by MyraMidnight (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:LearnSpell.
It contains usage information, categories and other content that is not part of the original template page.
  • You can use this template as often as you need, just in separate lines, within the designated Spells table.

This template will create each row of the spell list in the {{CombatSpells}}, {{MentalSpells}} and {{HealingSpells}}

Look at this template and the one you are filling (Combat, Healing or Mental spells) for better understanding.

How to fill the LearnSpell form[edit]

  • How to fill the form{{LearnSpell|level=|spell=|description=}}
    • level= what level the spell is learned
    • spell= Spell name
    • description= description of the spell


How to use the Spells table[edit]

using {{CombatSpells}} to complete the example, to show how the commands work

{{CombatSpells|Water|
{{LearnSpell|level=1|description=deals low damage}}
{{LearnSpell|spell=Wave}}
}}
Water, Combat Spells (unlocked on Combat levels)
Level 1 unknown - deals low damage
Level ? Wave -

please convert this information into the UnlockSpells template

  • First spell: skipping the "spell=" results in a unknown spell
  • Second spell: skipping the "level=" and "description="
the point is, the order of the commands does not matter for the template to work. Just dont forget to add the information

Tips[edit]

The links to spells are [[Spell Name (spell)|Spell Name]]
  • In other words[[Bubble Blast (spell)|Bubble Blast]] becomes Bubble Blast
  • or use the neat feature of "auto-renamed links": [[Bubble Blast (spell)|]] becomes Bubble Blast


See Also[edit]