Difference between revisions of "Template:Damagetype/doc"
From EVE University Wiki
m (Update doc.) |
|||
(10 intermediate revisions by 3 users 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}} | ||
− | |||
− | |||
− | |||
− | <includeonly>[[Category: | + | <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}}