Template:Ability: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(New demo template)
Line 3: Line 3:
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]].
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>
== Examples ==
 
{{Template demo
Result: {{Ability|Strength}}
| <nowiki>{{Ability|Strength}}</nowiki>
 
| <nowiki>{{Ability|Dexterity|15}}</nowiki>
Usage: <code><nowiki>{{Ability|Dexterity|15}}</nowiki></code>
| <nowiki>{{Ability|Constitution|30}}</nowiki>
 
| <nowiki>{{Ability|Intelligence|20}}</nowiki>
Result: {{Ability|Dexterity|15}}
| <nowiki>{{Ability|Wisdom|20}}</nowiki>
 
| <nowiki>{{Ability|Charisma|40}}</nowiki>
Usage: <code><nowiki>{{Ability|Constitution|30}}</nowiki></code>
}}
 
Result: {{Ability|Constitution|30}}
 
Usage: <code><nowiki>{{Ability|Intelligence|20}}</nowiki></code>
 
Result: {{Ability|Intelligence|20}}
 
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]]
[[Category:Templates]]

Revision as of 04:34, 20 July 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.

Examples

Markup Renders as
{{Ability|Strength}}
Strength icon.png Strength
{{Ability|Dexterity|15}}
Dexterity icon.png Dexterity
{{Ability|Constitution|30}}
Constitution icon.png Constitution
{{Ability|Intelligence|20}}
Intelligence icon.png Intelligence
{{Ability|Wisdom|20}}
Wisdom icon.png Wisdom
{{Ability|Charisma|40}}
Charisma icon.png Charisma

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Skill name1

The name of the skill.

Stringrequired
Icon size2

The pixel size of the accompanying icon.

Numberoptional