Template:Ability: Difference between revisions
Jump to navigation
Jump to search
HarveyPekar (talk | contribs) m (clarify as requested on talk) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}} icon.png|frameless|{{{2|24}}}px|link={{{1}}}]] [[{{{1}}}]]</includeonly><noinclude> | <includeonly>[[File:{{{1}}} icon.png|frameless|{{{2|24}}}px|link={{{1}}}]] [[{{{1}}}]]</includeonly><noinclude> | ||
{{documentation|content= | |||
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]]. | |||
Usage: <code><nowiki>{{Ability|Strength}}</nowiki></code> | |||
Result: {{Ability|Strength}} | |||
{{Ability|Strength}} | |||
<code><nowiki>{{Ability|Dexterity|15}}</nowiki></code> | Usage: <code><nowiki>{{Ability|Dexterity|15}}</nowiki></code> | ||
Result: {{Ability|Dexterity|15}} | |||
<code><nowiki>{{Ability| | Usage: <code><nowiki>{{Ability|Constitution|30}}</nowiki></code> | ||
Result: {{Ability|Constitution|30}} | |||
<code><nowiki>{{Ability| | Usage: <code><nowiki>{{Ability|Intelligence|20}}</nowiki></code> | ||
Result: {{Ability|Intelligence|20}} | |||
</noinclude> | |||
Usage: <code><nowiki>{{Ability|Wisdom|20}}</nowiki></code> | |||
Result: {{Ability|Wisdom|20}} | |||
Usage: <code><nowiki>{{Ability|Charisma|40}}</nowiki></code> | |||
Result: {{Ability|Charisma|40}} | |||
[[Category:Templates]] | |||
== Template data== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Skill name", | |||
"description": "The name of the skill.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Icon size", | |||
"description": "The pixel size of the accompanying icon.", | |||
"type": "number" | |||
} | |||
} | |||
} | |||
</templatedata>}}</noinclude> |
Revision as of 22:39, 26 January 2024
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.
Usage: {{Ability|Strength}}
Result: Strength
Usage: {{Ability|Dexterity|15}}
Result: Dexterity
Usage: {{Ability|Constitution|30}}
Result: Constitution
Usage: {{Ability|Intelligence|20}}
Result: Intelligence
Usage: {{Ability|Wisdom|20}}
Result: Wisdom
Usage: {{Ability|Charisma|40}}
Result: Charisma
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Skill name | 1 | The name of the skill. | String | required |
Icon size | 2 | The pixel size of the accompanying icon. | Number | optional |