Difference between revisions of "Template:SentAPCalculator"

From Xhodon 2
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="clear:left; float:left; width:300px; margin-right:5px; margin-bottom:1em;">
+
<div style="width:300px; margin-right:5px; margin-bottom:1em;">
 
{| cellpadding="0" cellspacing="0" style="width:400px; text-align:center; border:1px solid #{{ColorBorder|808080}}; background-color:#{{ColorBackground|F9F9F9}};"
 
{| cellpadding="0" cellspacing="0" style="width:400px; text-align:center; border:1px solid #{{ColorBorder|808080}}; background-color:#{{ColorBackground|F9F9F9}};"
 
<!--
 
<!--
Line 18: Line 18:
 
!One Round
 
!One Round
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 }} }}
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7)round0 }} }}
 
}}
 
}}
 
|-
 
|-
Line 24: Line 24:
 
!Two Rounds
 
!Two Rounds
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 / 2}} }}
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 2)round0}} }}
 
}}
 
}}
 
|-
 
|-
Line 30: Line 30:
 
!Three Rounds
 
!Three Rounds
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 / 3}} }}
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 3)round0}} }}
 
}}
 
}}
 
|-
 
|-
Line 36: Line 36:
 
!Four Rounds
 
!Four Rounds
 
{{#if:{{{Life|}}} |
 
{{#if:{{{Life|}}} |
{{!}} {{ formatnum: {{#expr: {{{Life}}} * 0.75 / 4}} }}
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 4)round0}} }}
 
}}
 
}}
 +
|}</div>
  
|}</div><noinclude>
+
<noinclude>
 
<br clear="all">
 
<br clear="all">
 
==Syntax==
 
==Syntax==
Line 45: Line 46:
 
{{SentAPCalculator
 
{{SentAPCalculator
 
|Life=
 
|Life=
 
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 19:08, 30 October 2011

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



Syntax

{{SentAPCalculator
|Life=
}}