Difference between revisions of "Template:Skill aptitudes"

From CrawlWiki
Jump to: navigation, search
m (Support for using page name as default skill name.)
(removing a space)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>==Aptitudes==
 
<includeonly>==Aptitudes==
{{#invoke:Apt|skill_table|{{{1|}}}}}
+
{{#invoke:Apt|skill_table|{{{1|}}}}}{{#invoke:Apt|skill_draconian_exceptions|{{{1|}}}}}</includeonly><noinclude>
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:
+
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>

Latest revision as of 13:49, 19 March 2022

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.