Difference between revisions of "Template:SentAPCalculator"

From Xhodon 2
Jump to: navigation, search
Line 18: Line 18:
 
!One Round
 
!One Round
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 }} }}
+
{{!}} {{ formatnum: {{#expr: round({{{Life}}} * 0.75( }} }}
 
}}
 
}}
 
|-
 
|-
Line 24: Line 24:
 
!Two Rounds
 
!Two Rounds
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 / 2}} }}
+
{{!}} {{ formatnum: {{#expr: round({{{Life}}} * 0.75 / 2)}} }}
 
}}
 
}}
 
|-
 
|-
Line 30: Line 30:
 
!Three Rounds
 
!Three Rounds
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 / 3}} }}
+
{{!}} {{ formatnum: {{#expr: round({{{Life}}} * 0.75 / 3)}} }}
 
}}
 
}}
 
|-
 
|-
Line 36: Line 36:
 
!Four Rounds
 
!Four Rounds
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 / 4}} }}
+
{{!}} {{ formatnum: {{#expr: round({{{Life}}} * 0.75 / 4)}} }}
 
}}
 
}}
 
|}</div>
 
|}</div>

Revision as of 16:38, 27 October 2011

Scenario AP Needed
Kill All Horde
One Round
Two Rounds
Three Rounds
Four Rounds



Syntax

{{SentAPCalculator
|Life=
}}