Template:Skill: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 23: | Line 23: | ||
== Usage == | == Usage == | ||
This is intended mainly for lists, not in-line in body content as per the [[Help:Style manual|Style Manual]]. The skill name is case sensitive and needs to exactly match (e.g. | This is intended mainly for lists, not in-line in body content as per the [[Help:Style manual|Style Manual]]. The skill name is case sensitive and needs to exactly match (e.g. Sleight of Hand, not Sleight Of Hand). | ||
== Examples == | == Examples == | ||
Line 34: | Line 34: | ||
| caption 3 = Link alias | | caption 3 = Link alias | ||
| <nowiki>{{Skill|Acrobatics|Acrobatic}}</nowiki> | | <nowiki>{{Skill|Acrobatics|Acrobatic}}</nowiki> | ||
| caption 4 = Alias and adjusted size | |||
| <nowiki>{{Skill|Stealth|Sneaky|w=40}}</nowiki> | |||
}} | }} | ||
Revision as of 17:44, 29 July 2024
Template documentation
Insert a link to one of the skills, accompanied by the associated icon.
Usage
This is intended mainly for lists, not in-line in body content as per the Style Manual. The skill name is case sensitive and needs to exactly match (e.g. Sleight of Hand, not Sleight Of Hand).
Examples
Example | Markup | Renders as |
---|---|---|
Basic usage | {{Skill|Athletics}} | |
Adjusted icon size | {{Skill|History|w=40}} | |
Link alias | {{Skill|Acrobatics|Acrobatic}} | |
Alias and adjusted size | {{Skill|Stealth|Sneaky|w=40}} |
See also
- {{Ability}} - An equivalent template for ability scores
- {{Background}} - An equivalent template for backgrounds
- {{Class}} - An equivalent template for classes
- {{Race}} - An equivalent template for playable races
Template data
Insert a link to a skill accompanied by the associated icon. For use in lists and similar contexts only. This should not be used inline in the body of a paragraph as per the style manual. In those cases, use a normal link instead.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Skill name | 1 | The name of the skill. This is case sensitive.
| String | required |
Alias | 2 | A user-defined alias to be shown instead of the skill name. | String | optional |
Icon size | w | The pixel size of the accompanying icon. | Number | optional |