Difference between revisions of "Template:Schoollink"

From CrawlWiki
Jump to: navigation, search
(Created page with "<includeonly>{{#switch:{{{1}}} | Poison = Poison Magic | Air = Air Magic | Fire = Fire Magic | Ice = Ice Magic | Necromancy = | Hexes = | Charms = {{{1}}} | {{{1}}}s...")
 
m (Fix.)
Line 1: Line 1:
<includeonly>[[{{#switch:{{{1}}}
+
<includeonly>[[{{#invoke:String|school_to_skill|{{{1}}}}}|{{{1}}}]
| Poison = Poison Magic
 
| Air = Air Magic
 
| Fire = Fire Magic
 
| Ice = Ice Magic
 
| Necromancy =
 
| Hexes =
 
| Charms = {{{1}}}
 
| {{{1}}}s
 
}}|{{{1}}}]
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
  

Revision as of 14:30, 4 November 2016


Generates a link from a given magic school to the corresponding skill page.

For example:

   {{schoollink|Air}}

gives you: Air