Difference between revisions of "Template:WeaponRange"

From Space Engineers Wiki
Jump to: navigation, search
(Created page with "{{#expr: {{#show:{{{1}}}|?RangeMultiplier#-n}} * {{#show:{{#show:{{{1}}}|?AmmoMagazine#-}}|?MaxTrajectory#-n}} round 0}}")
 
m (Usage example)
Line 1: Line 1:
{{#expr: {{#show:{{{1}}}|?RangeMultiplier#-n}} * {{#show:{{#show:{{{1}}}|?AmmoMagazine#-}}|?MaxTrajectory#-n}} round 0}}
+
<includeonly>{{#expr: {{#show:{{{1}}}|?RangeMultiplier#-n}} * {{#show:{{#show:{{{1}}}|?AmmoMagazine#-}}|?MaxTrajectory#-n}} round 0}}</includeonly><noinclude>
 +
Example usage: <pre><nowiki>Range: {{WeaponRange|Mod:Vanilla/Weapon/RifleGun}} m</nowiki></pre>
 +
Range: {{WeaponRange|Mod:Vanilla/Weapon/RifleGun}} m
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 17:24, 26 October 2020

Example usage:
Range: {{WeaponRange|Mod:Vanilla/Weapon/RifleGun}} m

Range: 800 m