Template:SkillCode

From Elanthipedia
Revision as of 18:16, 20 April 2008 by CARAAMON (talk | contribs) (New page: {{Incomplete|This template is under construction}} <includeonly> {{#If: {{#switch:{{uc:{{{1}}} |PA=Parry Ability |MO=Multi Opponent |OW=Offhand Weapon |LE=Light Edged |ME=Medium Edged ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Incomplete Article
  • This article is incomplete, which means that while it is not a stub, it still lacks certain data or information.
  • This template is under construction
  • Please see Category:Incomplete articles for more articles that are incomplete.



Usage Documentation

This template will take the skillcodes associated with EXP SKILL and convert them to their skills. Because EXP currently lacks a code for staff sling, use StS.

If |skillset= is defined and not whitespace, the template will only check the given skillset, if it is valid.

In addition, to assist with armor type processing, it will return NC and NP as Neutal Chain and Neutral Plate, and SSH, MSH or LSH as Small Shield, Medium Shield, or Large Shield. To disable this, add |type=n to the variable list.

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.

Note: All variable contents will be handled on case insensitive basis.

Syntax

{{SkillCode|code}}

Additional options are:
|type=n
|skillset=
|error=