Difference between revisions of "Template:Damagetype/doc"

From EVE University Wiki
Jump to: navigation, search
(Created page with " ;Description :This template is used to do something. ;Dependencies:<!-- delete if N/A --> :* Uses (some CSS, JS, file, or other template).<!-- delete if N/A --> ;Syntax :Type...")
 
m (Update dependencies.)
 
(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''' for all damage types. Up to five separate damage types can be specified at once.
  
;Description
 
:This template is used to do something.
 
;Dependencies:<!-- delete if N/A -->
 
:* Uses (some CSS, JS, file, or other template).<!-- delete if N/A -->
 
;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>

Latest revision as of 12:21, 20 June 2023

Description
This template is used to show a graphic representation of one or more damage types.
Dependencies
uses
{{Damagetype subtemplate}}
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 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