Template:Die icon: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Added documentation template and categories) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(2 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. | A simple template that displays a die icon with the specified damage type. | ||
Line 5: | Line 24: | ||
{{Template demo | {{Template demo | ||
| style = table | | style = table | ||
| <nowiki>{{ | | <nowiki>{{Die icon|d6|Radiant}}</nowiki> | ||
| <nowiki>{{ | | <nowiki>{{Die icon|d4|Force}}</nowiki> | ||
| <nowiki>{{Die icon|d12}}</nowiki> | |||
}} | }} | ||
Latest revision as of 11: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}} | ![]() |