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 (Remove an extra line break.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[{{#switch:{{{1}}}
+
<includeonly>[[{{#invoke:String|school_to_skill|{{{1}}}}}|{{{1}}}]]</includeonly><noinclude>
| Poison = Poison Magic
 
| Air = Air Magic
 
| Fire = Fire Magic
 
| Ice = Ice Magic
 
| Necromancy =
 
| Hexes =
 
| Charms = {{{1}}}
 
| {{{1}}}s
 
}}|{{{1}}}]
 
</includeonly><noinclude>
 
  
 
Generates a link from a given magic school to the corresponding skill page.
 
Generates a link from a given magic school to the corresponding skill page.

Latest revision as of 15:03, 4 November 2016


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

For example:

   {{schoollink|Air}}

gives you: Air