Template:LearnSpell

From Krafties
Jump to navigation Jump to search
Level ? unknown -
Documentation icon Template documentation ( view · talk · edit)
  • 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]

The above documentation is transcluded from Template:LearnSpell/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>