Difference between revisions of "Template:Damagetype/doc"
From EVE University Wiki
m (Add Dependencies) |
m (Update doc.) |
||
(5 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: | |
− | |||
− | ;Dependencies: | ||
: uses | : uses | ||
:: {{T|Damagetype subtemplate}} | :: {{T|Damagetype subtemplate}} | ||
: Used by | : Used by | ||
− | :: {{T| | + | :: {{T|Damage to deal}} |
− | ;Syntax | + | :: {{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 | + | <includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> |
− | <noinclude>[[Category:Template documentation | + | <noinclude>[[Category:Template documentation]]</noinclude> |
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}}