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 13: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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
damage | dmg | The damage type
| String | optional |