Difference between revisions of "Template:Skill aptitudes"

From CrawlWiki
Jump to: navigation, search
m (Try to fix extra space.)
m (Support for using page name as default skill name.)
Line 1: Line 1:
 
<includeonly>==Aptitudes==
 
<includeonly>==Aptitudes==
{{#invoke:Apt|skill_table|{{{1}}}}}
+
{{#invoke:Apt|skill_table|{{{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|Fighting}}</nowiki>
 
gives you:
 
gives you:
 
{{skill_aptitudes|Fighting}}
 
{{skill_aptitudes|Fighting}}
 +
 +
If the skill name is omitted, the page's title is used.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 15:21, 28 January 2016

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

{{skill_aptitudes|Fighting}}

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 2 -2 -1 0 0 1 0 1 1 1 8 2 0 1 1 2 0 0 0 3 -2 0 -2 -1 -1

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