Template:Proficiencies/doc
From Archaelund Wiki
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
| Format | Description | Input | Example output |
|---|---|---|---|
| 1...7 | Extracts 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...d7 | Extracts 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
| Index | Name |
|---|---|
| 1 | Light Weapons |
| 2 | Hand Weapons |
| 3 | 2-Handed Weapons |
| 4 | Unarmed Fighting |
| 5 | Ranged Weapons |
| 6 | Critical Strike |
| 7 | Dodge |
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:
| Index | Name |
|---|---|
| 11 | Light |
| 22 | Hand |
| 33 | 2-Hand |
| 44 | Unarmed |
| 55 | Ranged |
| 66 | Critical |
| 77 | Dodge |