Difference between revisions of "Template:LearnSpell"

From Krafties
Jump to navigation Jump to search
m
(Converted the 'template explanation' into the new 'documentation' form, cleans up the template itself.)
 
Line 5: Line 5:
 
</onlyinclude>
 
</onlyinclude>
 
|}  
 
|}  
{|{{Template Explanation}}[[Category:Template Form]]
 
  
*You can use this template as often as you need, just '''in separate lines''', within the designated Spells table.
+
{{Documentation}}
This template will create each row of the spell list in the <code>{{[[Template:CombatSpells|CombatSpells]]}}</code>, <code>{{[[Template:MentalSpells|MentalSpells]]}}</code> and <code>{{[[Template:HealingSpells|HealingSpells]]}}</code>
 
:;Look at this template and the one you are filling (Combat, Healing or Mental spells) for better understanding.
 
===How to fill the ''LearnSpell'' form===
 
*How to fill the form<code><nowiki>{{LearnSpell|level=|spell=|description=}}</nowiki></code>
 
**'''<nowiki>level=</nowiki>''' what level the spell is learned
 
**'''<nowiki>spell=</nowiki>''' Spell name
 
**'''<nowiki>description=</nowiki>''' description of the spell
 
 
 
{{LearnSpell/help}}
 
 
 
==See Also==
 
*[[Template:CombatSpells|'''CombatSpells''' table]]
 
*[[Template:HealingSpells|'''HealingSpells''' table]]
 
*[[Template:MentalSpells|'''MentalSpells''' table]]
 
{{Useful Templates}}
 
|}
 

Latest revision as of 18:35, 10 October 2020

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>