Template:SkillCode: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(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 ...)
 
mNo edit summary
Line 77: Line 77:
<noinclude>
<noinclude>
==Usage Documentation==
==Usage Documentation==
This template will take the skillcodes associated with [[Experience Command|<tt>EXP SKILL</tt>]] and convert them to their skills. Because EXP currently lacks a code for [[Staff Sling skill|staff sling]], use StS.
This template will take the skillcodes associated with [[Experience command|<tt>EXP SKILL</tt>]] and convert them to their skills. Because EXP currently lacks a code for [[Staff Sling skill|staff sling]], use StS.


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

Revision as of 18:19, 20 April 2008

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=