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
m (1 revision imported)
(Testing this funky template data thing)
Tag: Reverted
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:29, 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

This is mostly a decorative template for the Weapons page and to streamline the damage into just the big categories.

Template parameters

ParameterDescriptionTypeStatus
damagedmg

The damage type

Suggested values
BRUTE BURN AIR GENE STAM HOLY TOX STRUC
Example
BRUTE
Stringoptional