Template:IconLink: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><span style="display: inline-flex; height: {{{h|{{{size|40}}}}}}px; align-items: center;">[[File:{{{1}}}|frameless|link={{{2}}}|{{{w|}}}x{{{h|{{{size|40}}}}}}px|{{{2}}}]]&nbsp;[[ {{{2}}} |{{{ 3 |{{{ 2 }}} }}} ]]</span></includeonly><noinclude>
<includeonly>{{trim|
{{#vardefine: min-w | {{{w | {{{size | 40}}} }}} }}
{{#vardefine: max-w | {{{w|}}} }}
{{#vardefine: max-h | {{{h | {{{size | 40}}} }}} }}
}}<div style="display: inline-flex; align-items: center;"><div style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#var:min-w}}px; height: {{#var:max-h}}px;">[[File:{{{1}}}|frameless|link={{{2}}}|{{#var:max-w}}x{{#var:max-h}}px|{{{2}}}]]</div>&nbsp;[[ {{{2}}} |{{{ 3 |{{{ 2 }}} }}} ]]</div></includeonly><noinclude>
Usage: {{code|<nowiki>{{IconLink|Flourish Icon.png|Flourish}}</nowiki>}}
Usage: {{code|<nowiki>{{IconLink|Flourish Icon.png|Flourish}}</nowiki>}}


Line 31: Line 35:
| {{IconLink|w=20|h=20|D6 Thunder.png|Damage Roll}} || The roll you make to determine the amount of damage done by a successful attack.
| {{IconLink|w=20|h=20|D6 Thunder.png|Damage Roll}} || The roll you make to determine the amount of damage done by a successful attack.
|-
|-
| {{IconLink|w=20|h=20|D20.png|Saving Throw}} || The roll you make to attempt avoiding various threats other than direct attacks.
| {{IconLink|w=20|h=20|Saving Throw Icon.png|Saving Throw}} || The roll you make to attempt avoiding various threats other than direct attacks.
|-
|-
| {{IconLink|w=20|h=20|D20.png|Ability Check}} || The roll you make when attempting anything else that requires a roll to succeed.
| {{IconLink|w=20|h=20|D20.png|Ability Check}} || The roll you make when attempting anything else that requires a roll to succeed.
Line 37: Line 41:
! colspan="2" | Modifiers
! colspan="2" | Modifiers
|-
|-
| {{IconLink|w=20|h=20|Advantage_Icon.png|Advantage}} || Roll the die twice, and use the higher result. [[Disadvantage]] is the exact opposite.  
| {{IconLink|w=20|h=20|Advantage Icon.png|Advantage}} || Roll the die twice, and use the higher result. [[Disadvantage]] is the exact opposite.  
|-
|-
| {{IconLink|w=20|h=20|Charisma Ability Icon.png|Ability Score Modifier}} || The number you add to your rolls based on your [[Ability Scores]].
| {{IconLink|w=20|h=20|Charisma Ability Icon.png|Ability Score Modifier}} || The number you add to your rolls based on your [[Ability Scores]].

Navigation menu