Difference between revisions of "Template:SentAPCalculator"

From Xhodon 2
Jump to: navigation, search
 
(17 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:600px; 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}};"
 
<!--
 
<!--
 
|+ align="bottom" | <sup>Diese Tabelle wurde mit Hilfe eines Kampfberichtes aus der Welt erstellt.</sup>
 
|+ align="bottom" | <sup>Diese Tabelle wurde mit Hilfe eines Kampfberichtes aus der Welt erstellt.</sup>
 
-->
 
-->
 
|- style="background:#{{ColorTitleBox|FFCC99}}; "
 
|- style="background:#{{ColorTitleBox|FFCC99}}; "
!
+
 
 
! Scenario
 
! Scenario
! AP Needed<br><sup>(ca.)</sup>
+
! AP Needed<br>
 
|-
 
|-
  
|Kill All Horde
+
!Kill All Horde
 +
{{#if:{{{Life|}}} |
 
{{!}} {{ formatnum: {{#expr: {{{Life}}} }} }}
 
{{!}} {{ formatnum: {{#expr: {{{Life}}} }} }}
 +
}}
 +
|-
  
|}</div><noinclude>
+
!One Round
<br clear="all">
+
{{#if:{{{Life|}}} |
==Syntax==
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7)round0 }} }}
<pre>
+
}}
{{Infobox_Sentinel
+
|-
|Name1=
+
|Count1=
+
|Attack1= <!-- numbers for a single one of the creatures -->
+
|Defence1=
+
|Health1=
+
  
|Name2=
+
!Two Rounds
|Count2=
+
{{#if:{{{Life|}}} |
|Attack2=
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 2)round0}} }}
|Defence2=
+
}}
|Health2=
+
|-
  
|Name3=
+
!Three Rounds
|Count3=
+
{{#if:{{{Life|}}} |
|Attack3=
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 3)round0}} }}
|Defence3=
+
}}
|Health3=
+
|-
  
|Name4=
+
!Four Rounds
|Count4=
+
{{#if:{{{Life|}}} |
|Attack4=
+
{{!}} {{ formatnum: {{#expr: ({{{Life}}} * 0.7 / 4)round0}} }}
|Defence4=
+
}}
|Health4=
+
|}</div>
  
|Name5=
+
<noinclude>
|Count5=
+
<br clear="all">
|Attack5=
+
==Syntax==
|Defence5=
+
<pre>
|Health5=
+
{{SentAPCalculator
 
+
|Life=
|Name6=
+
|Count6=
+
|Attack6=
+
|Defence6=
+
|Health6=
+
 
+
|Name7=
+
|Count7=
+
|Attack7=
+
|Defence7=
+
|Health7=
+
 
+
|Name8=
+
|Count8=
+
|Attack8=
+
|Defence8=
+
|Health8=
+
 
+
<!-- amount of looted resources -->
+
|Herb_Essences =
+
|Crystal_Splinters =
+
|Power_Stones =
+
|Gold_Resin =  
+
 
}}
 
}}
 
</pre>
 
</pre>
 
[[de:Vorlage:Infobox Waechter]]
 
[[de:Vorlage:Infobox Waechter]]
[[Category:Template:Infobox|Sentinel]]
+
[[Category:Template:Infobox|APCalculator]]
 
</noinclude>
 
</noinclude>

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=
}}