Template:IconLink: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Undo revision 27635 by Taylan (talk))
Tag: Undo
No edit summary
Line 3: Line 3:
{{#vardefine: max-w | {{{w|}}} }}
{{#vardefine: max-w | {{{w|}}} }}
{{#vardefine: max-h | {{{h | {{{size | 40}}} }}} }}
{{#vardefine: max-h | {{{h | {{{size | 40}}} }}} }}
}}<span style="display: inline-flex; align-items: center;"><span 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}}}]]</span>&nbsp;[[ {{{2}}} |{{{ 3 |{{{ 2 }}} }}} ]]</span></includeonly><noinclude>
}}{{#if: {{{block|}}} | <span style="display: inline-flex; align-items: center;"> }}<span 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}}}]]</span>&nbsp;[[ {{{2}}} |{{{ 3 |{{{ 2 }}} }}} ]]{{#if: {{{block|}}} | </span> }}</includeonly><noinclude>
Usage: {{code|<nowiki>{{IconLink|Flourish Icon.png|Flourish}}</nowiki>}}
Usage: {{code|<nowiki>{{IconLink|Flourish Icon.png|Flourish}}</nowiki>}}


Line 43: Line 43:
| {{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|block=yes|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|Proficiency Icon.png|Proficiency Bonus}} || The number you add to your rolls based on whether you have [[Proficiency]].
| {{IconLink|block=yes|w=20|h=20|Proficiency Icon.png|Proficiency Bonus}} || The number you add to your rolls based on whether you have [[Proficiency]].
|}
|}


[[Category:Icon Templates]]
[[Category:Icon Templates]]
</noinclude>
</noinclude>

Navigation menu