Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ability

Template page
Revision as of 17:09, 29 July 2024 by HiddenDragon (talk | contribs) (Added see also)
Template documentation

This template is used to visually represent the main 6 abilities. Do note that saving throws should instead use Template:Saving throw, while ability checks should use Template:Ability Check.

Examples

Example Markup Renders as
Basic usage
{{Ability|Strength}}
Strength Strength
Adjusted icon size
{{Ability|Dexterity|w=15}}
Dexterity Dexterity
Link alias
{{Ability|Constitution|CON}}
CON CON
Alias and adjusted size
{{Ability|Intelligence|INT|w=40}}
INT INT

See also

Template data

Insert a link to an ability score accompanied by the associated icon.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Ability name1

The name of the ability score.

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Stringrequired
Alias2

A user-defined alias to be shown instead of the ability name.

Stringoptional
Icon sizew

The pixel size of the accompanying icon.

Numberoptional