Difference between revisions of "Template:DamagePerHitQ7"
From eRepublik Official Wiki
(small corrections) |
(Documentation added; category added; minor corections) |
||
Line 1: | Line 1: | ||
− | {| | + | <includeonly>{| |
|<div align="right" width="150px"><span style="float:left; z-index:0;">[[File:EmptyBattlePopUp.png]]</span> | |<div align="right" width="150px"><span style="float:left; z-index:0;">[[File:EmptyBattlePopUp.png]]</span> | ||
<span style="z-index:1; float:left; margin-left:-354px; margin-top:22px;">[[File:{{Rank/Switch|{{{1}}}}}]]<span style="font-size:220%;"><font color=white>''' '''</font></span></span> | <span style="z-index:1; float:left; margin-left:-354px; margin-top:22px;">[[File:{{Rank/Switch|{{{1}}}}}]]<span style="font-size:220%;"><font color=white>''' '''</font></span></span> | ||
− | <span style="z-index:1; float:left; margin-left:-125px; margin-top: | + | <span style="z-index:1; float:left; margin-left:-125px; margin-top:135px;"><span style="font-size:115%;color:white;">'''+{{#expr:trunc((10*(1+{{{2}}}/400)*(1+{{Rank/SwitchValue|{{{1}}} }}/5)*(1+200/100)))}}'''</span></span> |
</div> | </div> | ||
− | |} | + | |}</includeonly><noinclude>{{Documentation}}[[Category:Graphical Aid Templates]]</noinclude> |
Latest revision as of 13:46, 5 August 2022
DamagePerHitQ7 template is to be used if you want to present citizen's damage per hit with a Q7 weapon.
Usage
There are two variables to be used in the template:
- Military rank - as written in-game without spaces between the rank name and * (if the rank has *)
- Strength - rounded up and without special signs (, and .)
{{DamagePerHitQ7|Rank|Strength}}
Example
The military rank of the citizen is Private*** and the citizen's strength is 3,197.69. The template to be used is:
{{DamagePerHitQ7|Private***|3197}}
Result: