Difference between revisions of "Template:DamageProfile"
From EVE University Wiki
(Undo revision 139054 by Rothbard leviathan (talk)) |
m |
||
(28 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>| {{PercentageBar|{{#expr: 100 * {{#expr: {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|Cyan|#1a5959}} |
− | + | | {{PercentageBar|{{#expr: 100 * {{#expr: {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|OrangeRed|#592b1a}} | |
− | + | | {{PercentageBar|{{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|Silver|#4a4a4a}} | |
− | + | | {{PercentageBar|{{#expr: 100 * {{#expr: {{{4}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|Orange|#59431a}}</includeonly><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> | ||
− | |||
− | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:09, 15 March 2021
Template documentation (for the above template, sometimes hidden or invisible)
- 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"
|+
{{DamageProfileHeader}}
|-
{{DamageProfile|9|0|1|2}}
|-
{{DamageProfile|0|10|2|0}}
|-
{{DamageProfile|3|3|3|3}}
|}
- gives...
EM |
Therm. |
Kinetic |
Exp. | ||||||||
|
|
|
| ||||||||
|
|
|
| ||||||||
|
|
|
|
Visit Template:DamageProfile/doc to edit this text! (How does this work?) (Refresh this text - why?)