Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Damagetype/doc: Difference between revisions

Template page
Mal kard (talk | contribs)
No edit summary
m Update doc.
 
(11 intermediate revisions by 4 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.


;Description
:This template is used to show a damage type and sources in the form of drone, missile or projectile ammo
;Syntax
:Type <code>{{t|Damagetype|damage code}}</code> somewhere.
:Where '''damage code''' is '''em''', '''ex''', '''ki''', '''th'''
;Sample output
;Sample output
:<code><nowiki>{{Damagetype|ex}}</nowiki></code>
:{{Code|<nowiki>{{Damagetype|ki|th|em}}</nowiki>}} gives...
::gives...
{{Damagetype|ki|th|em}}
{{Damagetype|ex}}
;See also:<!-- delete if N/A -->
:* [[Template:<!-- Some other template -->]]<!-- delete if N/A -->
:* [[<!-- Some other related page -->]]<!-- delete if N/A -->


<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
<includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>