Difference between revisions of "Template:SentAPCalculator"
From Xhodon
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style=" | + | <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 7: | Line 7: | ||
! Scenario | ! Scenario | ||
− | ! AP Needed<br | + | ! AP Needed<br> |
|- | |- | ||
Line 18: | Line 18: | ||
!One Round | !One Round | ||
{{#if:{{{Life|}}} | | {{#if:{{{Life|}}} | | ||
− | {{!}} {{ formatnum: {{#expr: {{{Life | + | {{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7)round0 }} }} |
}} | }} | ||
|- | |- | ||
Line 24: | Line 24: | ||
!Two Rounds | !Two Rounds | ||
{{#if:{{{Life|}}} | | {{#if:{{{Life|}}} | | ||
− | {{!}} {{ formatnum: {{#expr: {{{ | + | {{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 2)round0}} }} |
}} | }} | ||
|- | |- | ||
− | |}</div><noinclude> | + | !Three Rounds |
+ | {{#if:{{{Life|}}} | | ||
+ | {{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 3)round0}} }} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | !Four Rounds | ||
+ | {{#if:{{{Life|}}} | | ||
+ | {{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 4)round0}} }} | ||
+ | }} | ||
+ | |}</div> | ||
+ | |||
+ | <noinclude> | ||
<br clear="all"> | <br clear="all"> | ||
==Syntax== | ==Syntax== | ||
Line 34: | Line 46: | ||
{{SentAPCalculator | {{SentAPCalculator | ||
|Life= | |Life= | ||
− | |||
}} | }} | ||
</pre> | </pre> | ||
[[de:Vorlage:Infobox Waechter]] | [[de:Vorlage:Infobox Waechter]] | ||
− | [[Category:Template:Infobox| | + | [[Category:Template:Infobox|APCalculator]] |
</noinclude> | </noinclude> |
Latest revision as of 18:08, 30 October 2011
Scenario | AP Needed |
---|---|
Kill All Horde | |
One Round | |
Two Rounds | |
Three Rounds | |
Four Rounds |
Syntax
{{SentAPCalculator |Life= }}