More actions
m Add Dependencies |
m Cleanup doc. |
||
| Line 1: | Line 1: | ||
; Description | |||
: This template is used to show a graphic representation of one or more damage types. | |||
; Dependencies: | |||
;Dependencies: | |||
: uses | : uses | ||
:: {{T|Damagetype subtemplate}} | :: {{T|Damagetype subtemplate}} | ||
: Used by | : Used by | ||
:: {{T|Missiondetails}} | :: {{T|Missiondetails}} | ||
;Syntax | |||
: | ; Syntax | ||
: | : {{T|Damagetype|damage code}} | ||
:; Parameters | |||
::; damage code : The code for the damage to show. One of the following '''em''' for electromagnetic, '''ex''' for explosive, '''ki''' for kinitic, '''th''' for thermal or '''omni''' 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 | <includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation | <noinclude>[[Category:Template documentation]]</noinclude> | ||