Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:DMG: Difference between revisions

Template page
(Testing this funky template data thing)
Tag: Reverted
m (Reverted edits by Floofers (talk) to last revision by Debug)
Tag: Rollback
Line 36: Line 36:


[[Category:Templates]]
[[Category:Templates]]
<noinclude>
<templatedata>
{
"params": {
"dmg": {
"label": "damage",
"description": "The damage type",
"example": "BRUTE",
"type": "string",
"suggestedvalues": [
"BRUTE",
"BURN",
"AIR",
"GENE",
"STAM",
"HOLY",
"TOX",
"STRUC"
]
}
},
"description": "This is mostly a decorative template for the Weapons page and to streamline the damage into just the big categories."
}
</templatedata>
</noinclude>

Revision as of 14:32, 7 October 2023

INCORRECT TYPE

Usage

This is mostly a decorative template for the Weapons page and to streamline the damage into just the big categories. To use it, simply write:

{{DMG|dmg=TOX}}

Which will render differently depending on the damage type you write;

TOX: TOX

BRUTE: BRUTE

BURN: BURN

AIR: AIR

GENE: GENE

STAM: STAM

HOLY: HOLY

STRUC: STRUC