Template:Ability: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>[[File:{{{1}}} icon.png|frameless|{{{2}}}px|link={{{1}}}]] [[{{{1}}}]]</includeonly>
<includeonly>[[File:{{{1}}} icon.png|frameless|{{{2|24}}}px|link={{{1}}}]] [[{{{1}}}]]</includeonly><noinclude>
<noinclude>[[Category:Templates]]
{{documentation|content=
<h1>BROKEN</h1>
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]].
For main Ability scores. Use only with these six magic words:


<code><nowiki>{{A|Strength|20}}</nowiki></code>
Usage: <code><nowiki>{{Ability|Strength}}</nowiki></code>
{{A|Strength|20}}


<code><nowiki>{{A|Dexterity|15}}</nowiki></code>
Result: {{Ability|Strength}}
{{A|Dexterity|15}}


<code><nowiki>{{A|Constitution|30}}</nowiki></code>
Usage: <code><nowiki>{{Ability|Dexterity|15}}</nowiki></code>
{{A|Constitution|30}}


<code><nowiki>{{A|Intelligence|20}}</nowiki></code>
Result: {{Ability|Dexterity|15}}
{{A|Intelligence|20}}


<code><nowiki>{{A|Wisdom|20}}</nowiki></code>
Usage: <code><nowiki>{{Ability|Constitution|30}}</nowiki></code>
{{A|Wisdom|20}}


<code><nowiki>{{A|Charisma|20}}</nowiki></code>
Result: {{Ability|Constitution|30}}
{{A|Charisma|40}}
 
</noinclude>
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]]
== 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>

Navigation menu