Actions

Template

Difference between revisions of "MapCraftPriceMagic"

From P6 Spheres

(Created page with "<noinclude>Accepts Float. Returns float where the input has been divided by 2: Example: <nowiki>{{MapCraftPriceCommon|}}</nowiki>: {{MapCraftPriceCommon|}} Example: <nowiki...")
 
 
Line 3: Line 3:
 
Returns float where the input has been divided by 2:
 
Returns float where the input has been divided by 2:
  
Example: <nowiki>{{MapCraftPriceCommon|}}</nowiki>: {{MapCraftPriceCommon|}}
+
Example: <nowiki>{{MapCraftPriceMagic|}}</nowiki>: {{MapCraftPriceMagic|}}
  
Example: <nowiki>{{MapCraftPriceCommon|0.0}}</nowiki>: {{MapCraftPriceCommon|0.0}}
+
Example: <nowiki>{{MapCraftPriceMagic|0.0}}</nowiki>: {{MapCraftPriceMagic|0.0}}
  
Example: <nowiki>{{MapCraftPriceCommon|1.0}}</nowiki>: {{MapCraftPriceCommon|1.0}}
+
Example: <nowiki>{{MapCraftPriceMagic|1.0}}</nowiki>: {{MapCraftPriceMagic|1.0}}
  
Example: <nowiki>{{MapCraftPriceCommon|5.0}}</nowiki>: {{MapCraftPriceCommon|5.0}}
+
Example: <nowiki>{{MapCraftPriceMagic|5.0}}</nowiki>: {{MapCraftPriceMagic|5.0}}
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
-->{{#if:{{{1|}}}|{{#expr:{{{1}}} / 2 round 2}}}}</includeonly>
 
-->{{#if:{{{1|}}}|{{#expr:{{{1}}} / 2 round 2}}}}</includeonly>

Latest revision as of 11:32, 24 March 2020

Accepts Float.

Returns float where the input has been divided by 2:

Example: {{MapCraftPriceMagic|}}:

Example: {{MapCraftPriceMagic|0.0}}: 0

Example: {{MapCraftPriceMagic|1.0}}: 0.5

Example: {{MapCraftPriceMagic|5.0}}: 2.5