More actions
substitute new header template {{DamageProfileHeader}} |
No edit summary |
||
| Line 3: | Line 3: | ||
:This template creates damage profile graphs to be inserted into ammunition data tables. It only functions when included within another table. It creates four cells across, depicting a particular ammo type's EM, thermal, kinetic, and explosive damage profile. | :This template creates damage profile graphs to be inserted into ammunition data tables. It only functions when included within another table. It creates four cells across, depicting a particular ammo type's EM, thermal, kinetic, and explosive damage profile. | ||
;Dependencies:<!-- delete if N/A --> | ;Dependencies:<!-- delete if N/A --> | ||
:* | :* CSS | ||
:* [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions MediaWiki Parser Functions Extension] | |||
;Syntax | ;Syntax | ||
:Type <code>{{t|DamageProfile|EM Damage|Thermal Damage|Kinetic Damage|Explosive Damage}}</code> somewhere. (It doesn't matter what size charge's data is used, as long as it's consistent. Output is in percentages.) | :Type <code>{{t|DamageProfile|EM Damage|Thermal Damage|Kinetic Damage|Explosive Damage}}</code> somewhere. (It doesn't matter what size charge's data is used, as long as it's consistent. Output is in percentages.) | ||
| Line 30: | Line 31: | ||
|} | |} | ||
</center> | </center> | ||
;See also: | |||
;See also: | :* [[Template:DamageProfileHeader]] | ||
:* [[Template: | :* [[Projectile ammunition]] | ||
:* [[ | |||
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> | <includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ||
Revision as of 06:39, 7 November 2018
- Description
- This template creates damage profile graphs to be inserted into ammunition data tables. It only functions when included within another table. It creates four cells across, depicting a particular ammo type's EM, thermal, kinetic, and explosive damage profile.
- Dependencies
- Syntax
- Type
{{DamageProfile|<EM Damage>|<Thermal Damage>|<Kinetic Damage>|<Explosive Damage>}}somewhere. (It doesn't matter what size charge's data is used, as long as it's consistent. Output is in percentages.) - Sample output
{| class="wikitable" style="text-align:center; background-color: #222; width:25%;"|-{{DamageProfileHeader}}|-{{DamageProfile|9|0|1|2}}|-{{DamageProfile|0|10|2|0}}|-{{DamageProfile|3|3|3|3}}|}- gives...
EM |
Therm. |
Kinetic |
Exp. | ||||||||
|
|
|
| ||||||||
|
|
|
|
| ||||||||
|
|
|
|