Template:Damage colour: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span class="{{lc:{{{1|}}}}}">{{trim | {{{2| {{{1}}} }}} }}</span></includeonly><noinclude> | <includeonly><span class="bg3wiki-damage-type-{{lc:{{{1|}}}}}">{{trim | {{{2| {{{1}}} }}} }}</span></includeonly><noinclude>{{Documentation|content= | ||
== Examples == | |||
{{Template demo | |||
| style = table | |||
| <nowiki>{{DamageColor|Force|1d4 + 4 Force damage.}}</nowiki> | |||
| <nowiki>{{DamageColor|Healing|1d4 + 4 Healing}}</nowiki> | |||
}} | |||
== Complete list of all colors == | |||
* {{DamageColor|Acid|Acid}} | * {{DamageColor|Acid|Acid}} | ||
Line 25: | Line 28: | ||
Note to future editors: it's important for these colors to be legible on both a light and a dark background! | Note to future editors: it's important for these colors to be legible on both a light and a dark background! | ||
}} | |||
[[Category:Templates]] | |||
[[Category:Damage info templates]] | [[Category:Damage info templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:50, 19 January 2025
Template documentation
Examples
Markup | Renders as |
---|---|
{{DamageColor|Force|1d4 + 4 Force damage.}} | 1d4 + 4 Force damage. |
{{DamageColor|Healing|1d4 + 4 Healing}} | 1d4 + 4 Healing |
Complete list of all colors
- Acid
- Cold
- Fire
- Force
- Healing
- Lightning
- Necrotic
- Poison
- Radiant
- Thunder
- Psychic
- Physical
- Piercing
- Bludgeoning
- Slashing
Note to future editors: it's important for these colors to be legible on both a light and a dark background!