Template:SkillCode: Difference between revisions
TEVESHSZAT (talk | contribs) (fixed typo causing missile mastery to point to the wrong skill page) |
(Fixed typo with outfitting) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|defense|def=Defense |
|defense|def=Defense |
||
|defending|multi|multi-opponent|multi opponent|mo=Defending |
|defending|multi|multi-opponent|multi opponent|mo=Defending |
||
|conviction|conv=Conviction |
|||
|parry|parry ability|pa=Parry Ability |
|parry|parry ability|pa=Parry Ability |
||
|offhand|offhand weapon|ow=Offhand Weapon |
|offhand|offhand weapon|ow=Offhand Weapon |
||
Line 31: | Line 32: | ||
|short staff|ss={{#switch:{{{t}}}|s=Staves|Short Staff}} |
|short staff|ss={{#switch:{{{t}}}|s=Staves|Short Staff}} |
||
|quarter staff|qs={{#switch:{{{t}}}|s=Staves|Quarter Staff}} |
|quarter staff|qs={{#switch:{{{t}}}|s=Staves|Quarter Staff}} |
||
|staff|st=Staves |
|staff|staves|st=Staves |
||
|pike|pikes|pi|halberds|halberd|hal|pl=Polearms |
|pike|pikes|pi|halberds|halberd|hal|pl=Polearms |
||
|light thrown|lt=Light Thrown |
|light thrown|lt=Light Thrown |
||
Line 52: | Line 53: | ||
|scouting|tracking|sc=Scouting |
|scouting|tracking|sc=Scouting |
||
|hiding|hi|stalking|sta|stealth|sth=Stealth |
|hiding|hi|stalking|sta|stealth|sth=Stealth |
||
|disarm|disarm traps|dt|lockpicking|lo=Locksmithing |
|disarm|disarm traps|dt|lockpicking|locksmithing|lo=Locksmithing |
||
|steal|stealing|ste|thievery|thv=Thievery |
|steal|stealing|ste|thievery|thv=Thievery |
||
|first aid|fa=First Aid |
|first aid|fa=First Aid |
||
Line 64: | Line 65: | ||
|tactics|tac=Tactics |
|tactics|tac=Tactics |
||
|enchanting|enc=Enchanting |
|enchanting|enc=Enchanting |
||
| |
|outfitting|oft=Outfitting |
||
|forging|for=Forging |
|forging|for=Forging |
||
|alchemy|alc=Alchemy |
|alchemy|alc=Alchemy |
||
|trading|tr=Trading |
|trading|tr=Trading |
||
|percussion|percussions|pcn|string|strings|str|wind|winds|wi|vocal|vocals|vo=Performance |
|percussion|percussions|pcn|string|strings|str|wind|winds|wi|vocal|vocals|vo|performance=Performance |
||
|empathy|transference|em=Empathy |
|empathy|transference|em=Empathy |
||
|thanatology|than|th=Thanatology |
|thanatology|than|th=Thanatology |
Latest revision as of 12:30, 21 February 2022
Usage Documentation
This template will take the skillcodes associated with EXPERIENCE and convert them to their skills.
In addition, to assist with armor type processing, it will return and SSH, MSH or LSH as Small Shield, Medium Shield, or Large Shield. To disable this, add |disableadd=n to the variable list.
In the case of most items, the 2.0 codes will be returned as the 3.0 codes, with the exception of the weapons which still have size restrictions, such as Medium/Light edges for offhand and backstabbing. If "t=" is set to "s" then it will return the skill used for the weapon, while otherwise it will return the weapon type.
If the code for neutral plate is added, as it no longer exists, it will spit out an error code.
If there are no matches, this template will return SKILLCODE ERROR, unless the variable |error= is included. If error is set to empty or to whitespace, nothing will be returned on error, otherwise the given string will be returned.
Note: All variable contents will be handled on case insensitive basis.
Syntax
{{SkillCode|code}} Additional options are: |t= |disableadd= |error=