Template:Die icon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span style="display: inline-block; width: 30px;">[[File:{{ | <includeonly><span style="display: inline-block; width: 30px;">[[File:{{#switch: {{lc: {{{1}}} }} | ||
| d4 = D4 | |||
| d6 = D6 | |||
| d8 = D8 | |||
| d10 = D10 | |||
| d12 = D12 | |||
| #default = D20 | |||
}}_{{#switch: {{lc: {{{2}}} }} | |||
| acid = Acid | |||
| cold = Cold | |||
| fire = Fire | |||
| force = Force | |||
| healing = Healing | |||
| lightning = Lightning | |||
| necrotic = Necrotic | |||
| poison = Poison | |||
| radiant = Radiant | |||
| thunder = Thunder | |||
| psychic = Psychic | |||
| #default = Physical}}.png|link=|x30px]] </span></includeonly><noinclude>{{Documentation|content= | |||
A simple template that displays a die icon with the specified damage type. | |||
== Examples == | |||
{{Template demo | |||
| style = table | |||
| <nowiki>{{Die icon|d6|Radiant}}</nowiki> | |||
| <nowiki>{{Die icon|d4|Force}}</nowiki> | |||
| <nowiki>{{Die icon|d12}}</nowiki> | |||
}} | |||
}} | |||
[[Category:Templates]] | |||
[[Category:Icon templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 10:48, 19 January 2025
Template documentation
A simple template that displays a die icon with the specified damage type.
Examples
Markup | Renders as |
---|---|
{{Die icon|d6|Radiant}} | ![]() |
{{Die icon|d4|Force}} | ![]() |
{{Die icon|d12}} | ![]() |