Editing Template:LearnSpell
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
</onlyinclude> | </onlyinclude> | ||
|} | |} | ||
+ | {{TemplateExplanation|[[Category:Templates]] | ||
− | {{ | + | *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 <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 | ||
+ | |||
+ | ==Example== | ||
+ | using <code><nowiki>{{CombatSpells}}</nowiki></code> to complete the example, to show how the commands work | ||
+ | <pre> | ||
+ | {{CombatSpells|Water| | ||
+ | {{LearnSpell|level=1|description=deals low damage}} | ||
+ | {{LearnSpell|spell=Wave}} | ||
+ | }}</pre> | ||
+ | |||
+ | {{CombatSpells|Water| | ||
+ | {{LearnSpell|level=1|description=deals low damage}} | ||
+ | {{LearnSpell|spell=Wave}} | ||
+ | }} | ||
+ | *First spell: skipping the "<nowiki>spell=</nowiki>" results in a ''unknown'' spell | ||
+ | *Second spell: skipping the "<nowiki>level=</nowiki>" and "<nowiki>description=</nowiki>" | ||
+ | ;the point is, the order of the commands does not matter | ||
+ | |||
+ | ==Tips== | ||
+ | :The links to spells are <code><nowiki>[[Spell Name (spell)|Spell Name]]</nowiki></code> | ||
+ | :*In other words<code><nowiki>[[Bubble Blast (spell)|Bubble Blast]]</nowiki></code> becomes [[Bubble Blast (spell)|Bubble Blast]] | ||
+ | :*or use the neat feature of "auto-renamed links": <code><nowiki>[[Bubble Blast (spell)|]]</nowiki></code> becomes [[Bubble Blast (spell)|Bubble Blast]] | ||
+ | |||
+ | ==See Also== | ||
+ | *[[Template:CombatSpells|'''Combat Spells''' table]] | ||
+ | *[[Template:HealingSpells|'''Healing Spells''' table]] | ||
+ | *[[Template:MentalSpells|'''Mental Spells''' table]] | ||
+ | }} |