Difference between revisions of "Template:Skill aptitudes"

From CrawlWiki
Jump to: navigation, search
m (Support for using page name as default skill name.)
(Include list of draconian colours that get a different aptitude.)
Line 1: Line 1:
 
<includeonly>==Aptitudes==
 
<includeonly>==Aptitudes==
 
{{#invoke:Apt|skill_table|{{{1|}}}}}
 
{{#invoke:Apt|skill_table|{{{1|}}}}}
 +
{{#invoke:Apt|skill_draconian_exceptions|{{{1|}}}}}
 
The average aptitude of all species, excluding coloured draconian, is {{#invoke:Apt|skill_average|{{{1|}}}}}.</includeonly><noinclude>This template will generate a table of aptitudes for a given skill. For example:
 
The average aptitude of all species, excluding coloured draconian, is {{#invoke:Apt|skill_average|{{{1|}}}}}.</includeonly><noinclude>This template will generate a table of aptitudes for a given skill. For example:
  <nowiki>{{skill_aptitudes|Fighting}}</nowiki>
+
  <nowiki>{{skill_aptitudes|Fire Magic}}</nowiki>
 
gives you:
 
gives you:
{{skill_aptitudes|Fighting}}
+
{{skill_aptitudes|Fire Magic}}
  
 
If the skill name is omitted, the page's title is used.
 
If the skill name is omitted, the page's title is used.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 15:50, 28 January 2016

This template will generate a table of aptitudes for a given skill. For example:

{{skill_aptitudes|Fire Magic}}

gives you:

Aptitudes

At Ba DE Dg Ds Dj Dr Fe Fo Gr Gh Gn HO Hu Ko Mf Mi Mu Na Op On Sp Te Tr Vp VS
-1 1 1 -1 -1 11 0 -1 0 0 -2 6 1 0 0 -3 -3 -2 0 0 -1 -2 1 -3 -2 0


If the skill name is omitted, the page's title is used.