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 subtemplate/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
mNo edit summary
m Cleanup doc.
 
Line 1: Line 1:
; Description
: This template provides the contents for {{Tl|Damagetype}}. This should not be used alone.


;Description
; Dependencies
:This template provides the contents for {{t|Damagetype}}. This should not be used alone.
:: Used by:
;Syntax
::: {{T|Damagetype}}
: {{t|Damagetype subtemplate|damage type}}
 
;Sample output
; Syntax
:<code><nowiki>{{Damagetype subtemplate|Em}}</nowiki></code>
: {{T|Damagetype subtemplate|damage type}}
::gives...
:; Parameters
::; damage type : The code for the damage to show. One of the following '''em''' for electromagnetic, '''ex''' for explosive, '''ki''' for kinetic or '''th''' for thermal.
 
; Sample output
: {{Code|<nowiki>{{Damagetype subtemplate|Em}}</nowiki>}} gives...
{{Damagetype subtemplate|Em}}
{{Damagetype subtemplate|Em}}
;See also:<!-- delete if N/A -->
:* {{t|Damagetype}}


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

Latest revision as of 13:15, 22 September 2022

Description
This template provides the contents for {{Damagetype}}. This should not be used alone.
Dependencies
Used by:
{{Damagetype}}
Syntax
{{Damagetype subtemplate|<damage type>}}
Parameters
damage type
The code for the damage to show. One of the following em for electromagnetic, ex for explosive, ki for kinetic or th for thermal.
Sample output
{{Damagetype subtemplate|Em}}
gives...

Electromagnetic damage EM