Template:SkillCode: Difference between revisions
SPICYDIAPSID (talk | contribs) No edit summary |
SPICYDIAPSID (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
|defense|def=Defense |
|defense|def=Defense |
||
|parry|parry ability|pa=Parry Ability |
|parry|parry ability|pa=Parry Ability |
||
|multi|multi-opponent|multi opponent|mo=Multi Opponent |
|||
|offhand|offhand weapon|ow=Offhand Weapon |
|offhand|offhand weapon|ow=Offhand Weapon |
||
|light edge|light edged=Light Edged |
|light edge|light edged=Light Edged |
||
Line 54: | Line 53: | ||
|skin|skinning|sk=Skinning |
|skin|skinning|sk=Skinning |
||
|scholarship|teach|teaching|te|sch=Scholarship |
|scholarship|teach|teaching|te|sch=Scholarship |
||
|mech lore|mechanical lore|ml= |
|mech lore|mechanical lore|ml|engineer|engineering|eng=Engineering |
||
|bardic lore|bl|musical theory|mt=Bardic Lore |
|bardic lore|bl|musical theory|mt=Bardic Lore |
||
|appraise|appraisal|ap=Appraisal |
|appraise|appraisal|ap=Appraisal |
||
Line 61: | Line 60: | ||
|outfiting|oft=Outfitting |
|outfiting|oft=Outfitting |
||
|forging|for=Forging |
|forging|for=Forging |
||
|engineering|eng=Engineering |
|||
|alchemy|alc=Alchemy |
|alchemy|alc=Alchemy |
||
|trading|tr=Trading |
|trading|tr=Trading |
Revision as of 15:44, 11 July 2020
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=