More actions
mNo edit summary |
m Update doc. |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
; Description | |||
: This template is used to show a graphic representation of one or more damage types. | |||
; Dependencies: | |||
: uses | |||
:: {{T|Damagetype subtemplate}} | |||
: Used by | |||
:: {{T|Damage to deal}} | |||
:: {{T|Damage to resist}} | |||
; Syntax | |||
: {{T|Damagetype|damage type|damage type|damage type|damage type|damage type}} | |||
:; Parameters | |||
::; damage type : The code for the damage type to show. One or more of the following '''em''' for electromagnetic, '''ex''' for explosive, '''ki''' for kinetic, '''th''' for thermal or '''omni/all''' for all damage types. Up to five separate damage types can be specified at once. | |||
;Sample output | ;Sample output | ||
: | :{{Code|<nowiki>{{Damagetype|ki|th|em}}</nowiki>}} gives... | ||
{{Damagetype|ki|th|em}} | {{Damagetype|ki|th|em}} | ||
<includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | |||
<includeonly>[[Category:Formatting templates | <noinclude>[[Category:Template documentation]]</noinclude> | ||
<noinclude>[[Category:Template documentation | |||
Latest revision as of 12:14, 18 April 2024
- Description
- This template is used to show a graphic representation of one or more damage types.
- Dependencies
- uses
- Used by
- {{Damage to deal}}
- {{Damage to resist}}
- Syntax
- {{Damagetype|<damage type>|<damage type>|<damage type>|<damage type>|<damage type>}}
- Parameters
-
- damage type
- The code for the damage type to show. One or more of the following em for electromagnetic, ex for explosive, ki for kinetic, th for thermal or omni/all for all damage types. Up to five separate damage types can be specified at once.
- Sample output
gives...{{Damagetype|ki|th|em}}