Template:Proficiencies/doc

From Archaelund Wiki
< Template:Proficiencies
Revision as of 07:26, 25 February 2024 by MikeB (talk | contribs) (Created page with "== Description == This template generates various output formats from raw proficiency input. == Usage == <pre> {{Proficiencies|<proficiency input>|<format>}} </pre> Make sure that <proficiency input> is formatted correctly according to the rules given below, otherwise error messages may be generated. == Format options == <table class="wikitable> <tr><th>Format</th><th>Description</th><th>Input</th><th>Example output</th></tr> <tr><td>1...7</td><td>Extracts the value of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template generates various output formats from raw proficiency input.

Usage

{{Proficiencies|<proficiency input>|<format>}}

Make sure that <proficiency input> is formatted correctly according to the rules given below, otherwise error messages may be generated.

Format options

FormatDescriptionInputExample output
1...7Extracts the value of the ith entry (i = 1...7) in the proficiency input.vector of 7 comma-separated numbers, representing proficiency values (e.g. "2,5,5,3,3,0,1")2
d1...d7Extracts the value of the ith entry (i = 1...7) in the proficiency input and formats it as a bonus/malus using Template:Difference.vector of 7 comma-separated numbers, representing proficiency values (e.g. "2,5,5,3,3,0,1")+2

In the above-mentioned vector of 7 comma-separated numbers, each position/index corresponds to a proficiency. See the subsequent list for details.

Proficiency names

IndexName
1Light Weapons
2Hand Weapons
32-Handed Weapons
4Unarmed Fighting
5Ranged Weapons
6Critical Strike
7Dodge

To extract the individual proficiency names use the following syntax:

{{Proficiencies/names|<proficiency index>}}

Abbreviated names can be produced for each proficiency by using specific double indices:

IndexName
11Light
22Hand
332-Hand
44Unarmed
55Ranged
66Critical
77Dodge