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
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.


;Description
; Dependencies:
:This template is used to show the best damages to deal in a mission.
;Dependencies:
: uses
: uses
:: {{T|Damagetype subtemplate}}
:: {{T|Damagetype subtemplate}}
: Used by
: Used by
:: {{T|Missiondetails}}
:: {{T|Missiondetails}}
;Syntax
 
:Type <code>{{t|Damagetype|damage code}}</code> somewhere.
; Syntax
:Where '''damage code''' is '''em''', '''ex''', '''ki''', '''th''' or '''omni'''. Up to five separate damage types can be specified at once.
: {{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></code>
:{{Code|<nowiki>{{Damagetype|ki|th|em}}</nowiki>}} gives...
::gives...
{{Damagetype|ki|th|em}}
{{Damagetype|ki|th|em}}


<includeonly>[[Category:Formatting templates|{{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>

Revision as of 13:08, 22 September 2022

Description
This template is used to show a graphic representation of one or more damage types.
Dependencies
uses
{{Damagetype subtemplate}}
Used by
{{Missiondetails}}
Syntax
{{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
{{Damagetype|ki|th|em}}
gives...

Kinetic damage KinThermal damage ThElectromagnetic damage EM