Difference between revisions of "Template:Infobox Sentinel"

From Xhodon 2
Jump to: navigation, search
m (translation)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<div style="clear:left; float:left; width:300px; margin-right:5px; margin-bottom:1em;">
 
<div style="clear:left; float:left; 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:600px; 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}}; " | Name
+
|- style="background:#{{ColorTitleBox|FFCC99}}; "
! style="background:#{{ColorTitleBox|FFCC99}}; " | Count<br><sup>(ca.)</sup>
+
!
! style="background:#{{ColorTitleBox|FFCC99}}; " | Attack<br><sup>(total)</sup>
+
! Name
! style="background:#{{ColorTitleBox|FFCC99}}; " | Defence<br><sup>(total)</sup>
+
! Count<br><sup>(ca.)</sup>
! style="background:#{{ColorTitleBox|FFCC99}}; " | Health<br><sup>(total)</sup>
+
! Attack<br><sup>(total)</sup>
 +
! Defence<br><sup>(total)</sup>
 +
! Life Force<br><sup>(total)</sup>
 
|-
 
|-
 
{{#if: {{{Name1|}}} |  
 
{{#if: {{{Name1|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name1|}}} |
 
 
{{!}} {{{Name1}}}
 
{{!}} {{{Name1}}}
 
}}
 
}}
 
{{#if:{{{Count1|}}} |  
 
{{#if:{{{Count1|}}} |  
 
{{!}} {{{Count1}}}
 
{{!}} {{{Count1}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Attack1}}} }} }}
{{#if:{{{Count1|}}} | {{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Attack1}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Defence1}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Health1}}} }} }}
{{#if:{{{Count1|}}} | {{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Defence1}}} }} }}
+
}}
+
{{#if:{{{Count1|}}} | {{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Health1}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Name2|}}} |  
 
{{#if: {{{Name2|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name2|}}} |
 
 
{{!}} {{{Name2}}}
 
{{!}} {{{Name2}}}
 
}}
 
}}
 
{{#if:{{{Count2|}}} |  
 
{{#if:{{{Count2|}}} |  
 
{{!}} {{{Count2}}}
 
{{!}} {{{Count2}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count2}}} * {{{Attack2}}} }} }}
{{#if:{{{Count2|}}} | {{!}} {{ formatnum: {{#expr: {{{Count2}}} * {{{Attack2}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count2}}} * {{{Defence2}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count2}}} * {{{Health2}}} }} }}
{{#if:{{{Count2|}}} | {{!}} {{ formatnum: {{#expr: {{{Count2}}} * {{{Defence2}}} }} }}
+
}}
+
{{#if:{{{Count2|}}} | {{!}} {{ formatnum: {{#expr: {{{Count2}}} * {{{Health2}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Name3|}}} |  
 
{{#if: {{{Name3|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name3|}}} |
 
 
{{!}} {{{Name3}}}
 
{{!}} {{{Name3}}}
 
}}
 
}}
 
{{#if:{{{Count3|}}} |  
 
{{#if:{{{Count3|}}} |  
 
{{!}} {{{Count3}}}
 
{{!}} {{{Count3}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count3}}} * {{{Attack3}}} }} }}
{{#if:{{{Count3|}}} | {{!}} {{ formatnum: {{#expr: {{{Count3}}} * {{{Attack3}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count3}}} * {{{Defence3}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count3}}} * {{{Health3}}} }} }}
{{#if:{{{Count3|}}} | {{!}} {{ formatnum: {{#expr: {{{Count3}}} * {{{Defence3}}} }} }}
+
}}
+
{{#if:{{{Count3|}}} | {{!}} {{ formatnum: {{#expr: {{{Count3}}} * {{{Health3}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Name4|}}} |  
 
{{#if: {{{Name4|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name4|}}} |
 
 
{{!}} {{{Name4}}}
 
{{!}} {{{Name4}}}
 
}}
 
}}
 
{{#if:{{{Count4|}}} |  
 
{{#if:{{{Count4|}}} |  
 
{{!}} {{{Count4}}}
 
{{!}} {{{Count4}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count4}}} * {{{Attack4}}} }} }}
{{#if:{{{Count4|}}} | {{!}} {{ formatnum: {{#expr: {{{Count4}}} * {{{Attack4}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count4}}} * {{{Defence4}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count4}}} * {{{Health4}}} }} }}
{{#if:{{{Count4|}}} | {{!}} {{ formatnum: {{#expr: {{{Count4}}} * {{{Defence4}}} }} }}
+
}}
+
{{#if:{{{Count4|}}} | {{!}} {{ formatnum: {{#expr: {{{Count4}}} * {{{Health4}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Name5|}}} |  
 
{{#if: {{{Name5|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name5|}}} |
 
 
{{!}} {{{Name5}}}
 
{{!}} {{{Name5}}}
 
}}
 
}}
 
{{#if:{{{Count5|}}} |  
 
{{#if:{{{Count5|}}} |  
 
{{!}} {{{Count5}}}
 
{{!}} {{{Count5}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count5}}} * {{{Attack5}}} }} }}
{{#if:{{{Count5|}}} | {{!}} {{ formatnum: {{#expr: {{{Count5}}} * {{{Attack5}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count5}}} * {{{Defence5}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count5}}} * {{{Health5}}} }} }}
{{#if:{{{Count5|}}} | {{!}} {{ formatnum: {{#expr: {{{Count5}}} * {{{Defence5}}} }} }}
+
}}
+
{{#if:{{{Count5|}}} | {{!}} {{ formatnum: {{#expr: {{{Count5}}} * {{{Health5}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Name6|}}} |  
 
{{#if: {{{Name6|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name6|}}} |
 
 
{{!}} {{{Name6}}}
 
{{!}} {{{Name6}}}
 
}}
 
}}
 
{{#if:{{{Count6|}}} |  
 
{{#if:{{{Count6|}}} |  
 
{{!}} {{{Count6}}}
 
{{!}} {{{Count6}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count6}}} * {{{Attack6}}} }} }}
{{#if:{{{Count6|}}} | {{!}} {{ formatnum: {{#expr: {{{Count6}}} * {{{Attack6}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count6}}} * {{{Defence6}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count6}}} * {{{Health6}}} }} }}
{{#if:{{{Count6|}}} | {{!}} {{ formatnum: {{#expr: {{{Count6}}} * {{{Defence6}}} }} }}
+
}}
+
{{#if:{{{Count6|}}} | {{!}} {{ formatnum: {{#expr: {{{Count6}}} * {{{Health6}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Name7|}}} |  
 
{{#if: {{{Name7|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name7|}}} |
 
 
{{!}} {{{Name7}}}
 
{{!}} {{{Name7}}}
 
}}
 
}}
 
{{#if:{{{Count7|}}} |  
 
{{#if:{{{Count7|}}} |  
 
{{!}} {{{Count7}}}
 
{{!}} {{{Count7}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count7}}} * {{{Attack7}}} }} }}
{{#if:{{{Count7|}}} | {{!}} {{ formatnum: {{#expr: {{{Count7}}} * {{{Attack7}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count7}}} * {{{Defence7}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count7}}} * {{{Health7}}} }} }}
{{#if:{{{Count7|}}} | {{!}} {{ formatnum: {{#expr: {{{Count7}}} * {{{Defence7}}} }} }}
+
}}
+
{{#if:{{{Count7|}}} | {{!}} {{ formatnum: {{#expr: {{{Count7}}} * {{{Health7}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Name8|}}} |  
 
{{#if: {{{Name8|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
 
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}} [[Image:Sentinel_Icon_21px.png|Sentinel]]
}}
 
{{#if:{{{Name8|}}} |
 
 
{{!}} {{{Name8}}}
 
{{!}} {{{Name8}}}
 
}}
 
}}
 
{{#if:{{{Count8|}}} |  
 
{{#if:{{{Count8|}}} |  
 
{{!}} {{{Count8}}}
 
{{!}} {{{Count8}}}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count8}}} * {{{Attack8}}} }} }}
{{#if:{{{Count8|}}} | {{!}} {{ formatnum: {{#expr: {{{Count8}}} * {{{Attack8}}} }} }}
+
{{!}} {{ formatnum: {{#expr: {{{Count8}}} * {{{Defence8}}} }} }}
}}
+
{{!}} {{ formatnum: {{#expr: {{{Count8}}} * {{{Health8}}} }} }}
{{#if:{{{Count8|}}} | {{!}} {{ formatnum: {{#expr: {{{Count8}}} * {{{Defence8}}} }} }}
+
}}
+
{{#if:{{{Count8|}}} | {{!}} {{ formatnum: {{#expr: {{{Count8}}} * {{{Health8}}} }} }}
+
 
}}
 
}}
 
|-
 
|-
{{#if: {{{Count1|}}} | {{!}} style="padding-left:2px; height:23px; width:23px;" {{!}}
+
{{#if:{{{Count1|}}} |
 +
{{!}} {{!!}} '''Total''' {{!!}}
 +
 
 +
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Attack1}}} + {{{Count2}}} * {{{Attack2}}} + {{{Count3}}} * {{{Attack3}}} + {{{Count4}}} * {{{Attack4}}} + {{{Count5}}} * {{{Attack5}}}
 +
{{#if:{{{Count6|}}} |
 +
+ {{{Count6}}} * {{{Attack6}}}
 +
{{#if:{{{Count7|}}} |
 +
+ {{{Count7}}} * {{{Attack7}}}
 +
{{#if:{{{Count8|}}} |
 +
+ {{{Count8}}} * {{{Attack8}}}
 +
}} }} }} }} }}
 +
 
 +
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Defence1}}} + {{{Count2}}} * {{{Defence2}}} + {{{Count3}}} * {{{Defence3}}} + {{{Count4}}} * {{{Defence4}}} + {{{Count5}}} * {{{Defence5}}}
 +
{{#if:{{{Count6|}}} |
 +
+ {{{Count6}}} * {{{Defence6}}}
 +
{{#if:{{{Count7|}}} |
 +
+ {{{Count7}}} * {{{Defence7}}}
 +
{{#if:{{{Count8|}}} |
 +
+ {{{Count8}}} * {{{Defence8}}}
 +
}} }} }} }} }}
 +
 
 +
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Health1}}} + {{{Count2}}} * {{{Health2}}} + {{{Count3}}} * {{{Health3}}} + {{{Count4}}} * {{{Health4}}} + {{{Count5}}} * {{{Health5}}}
 +
{{#if:{{{Count6|}}} |
 +
+ {{{Count6}}} * {{{Health6}}}
 +
{{#if:{{{Count7|}}} |
 +
+ {{{Count7}}} * {{{Health7}}}
 +
{{#if:{{{Count8|}}} |
 +
+ {{{Count8}}} * {{{Health8}}}
 +
}} }} }} }} }}
 
}}
 
}}
{{#if:{{{Count1|}}} | {{!}} '''Total'''
+
|- style="background:#{{ColorTitleBox|FFCC99}};"
}}
+
{{#if:{{{Count1|}}} | {{!}}
+
}}
+
{{#if:{{{Count1|}}} | {{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Attack1}}} + {{{Count2}}} * {{{Attack2}}} + {{{Count3}}} * {{{Attack3}}} + {{{Count4}}} * {{{Attack4}}} + {{{Count5}}} * {{{Attack5}}} + {{{Count6}}} * {{{Attack6}}} + {{{Count7}}} * {{{Attack7}}} + {{{Count8}}} * {{{Attack8}}} }} }}
+
}}
+
{{#if:{{{Count1|}}} | {{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Defence1}}} + {{{Count2}}} * {{{Defence2}}} + {{{Count3}}} * {{{Defence3}}} + {{{Count4}}} * {{{Defence4}}} + {{{Count5}}} * {{{Defence5}}} + {{{Count6}}} * {{{Defence6}}} + {{{Count7}}} * {{{Defence7}}} + {{{Count8}}} * {{{Defence8}}} }} }}
+
}}
+
{{#if:{{{Count1|}}} | {{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Health1}}} + {{{Count2}}} * {{{Health2}}} + {{{Count3}}} * {{{Health3}}} + {{{Count4}}} * {{{Health4}}} + {{{Count5}}} * {{{Health5}}} + {{{Count6}}} * {{{Health6}}} + {{{Count7}}} * {{{Health7}}} + {{{Count8}}} * {{{Health8}}} }} }}
+
}}
+
|-
+
 
{{#if: {{{Herb_Essences|}}} |  
 
{{#if: {{{Herb_Essences|}}} |  
 
{{!}} style="padding-left:2px; height:23px; width:23px; background:#{{ColorTitleBox|FFCC99}}; " {{!}}
 
{{!}} style="padding-left:2px; height:23px; width:23px; background:#{{ColorTitleBox|FFCC99}}; " {{!}}
}}
+
{{!}} '''Resources'''
{{#if:{{{Herb_Essences|}}} | {{!}} style="background:#{{ColorTitleBox|FFCC99}};" {{!}} '''Resources'''
+
{{!}} '''[[Image:Resources_Herb_Essences.png|20px]] Herb Essences'''
 
}}
 
}}
{{#if:{{{Herb_Essences|}}} | {{!}} style="background:#{{ColorTitleBox|FFCC99}};" {{!}}'''[[Image:Resources_Herb_Essences.png|20px]] Herb Essences'''
+
{{#if:{{{Crystal_Splinters|}}} | {{!}}'''[[Image:Resources_Crystal_Splinters.png|20px]] Crystal Splinters'''
 
}}
 
}}
{{#if:{{{Crystal_Splinters|}}} | {{!}} style="background:#{{ColorTitleBox|FFCC99}};" {{!}}'''[[Image:Resources_Crystal_Splinters.png|20px]] Crystal Splinters'''
+
{{#if:{{{Power_Stones|}}} | {{!}}'''[[Image:Resources_Power_Stones.png|20px]] Power Stones'''
 
}}
 
}}
{{#if:{{{Power_Stones|}}} | {{!}} style="background:#{{ColorTitleBox|FFCC99}};" {{!}}'''[[Image:Resources_Power_Stones.png|20px]] Power Stones'''
+
{{#if:{{{Gold_Resin|}}} | {{!}}'''[[Image:Resources_Gold_Resin.png|20px]] Gold Resin'''
}}
+
{{#if:{{{Gold_Resin|}}} | {{!}} style="background:#{{ColorTitleBox|FFCC99}};" {{!}}'''[[Image:Resources_Gold_Resin.png|20px]] Gold Resin'''
+
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{Herb_Essences|}}} |  
 
{{#if: {{{Herb_Essences|}}} |  
{{!}} style="padding-left:2px; height:23px; width:23px;" {{!}}
+
{{!}} {{!!}} {{!!}} {{{Herb_Essences}}}
}}
+
{{#if:{{{Herb_Essences|}}} | {{!}}
+
}}
+
 
+
{{#if:{{{Herb_Essences|}}} |
+
{{!}} {{{Herb_Essences}}}
+
 
}}
 
}}
 
{{#if:{{{Crystal_Splinters|}}} | {{!}} {{{Crystal_Splinters}}}
 
{{#if:{{{Crystal_Splinters|}}} | {{!}} {{{Crystal_Splinters}}}
Line 181: Line 154:
 
|}</div><noinclude>
 
|}</div><noinclude>
 
<br clear="all">
 
<br clear="all">
{{translate}}
+
==Syntax==
 +
<pre>
 +
{{Infobox_Sentinel
 +
|Name1=
 +
|Count1=
 +
|Attack1= <!-- numbers for a single one of the creatures -->
 +
|Defence1=
 +
|Health1=
  
 +
|Name2=
 +
|Count2=
 +
|Attack2=
 +
|Defence2=
 +
|Health2=
 +
 +
|Name3=
 +
|Count3=
 +
|Attack3=
 +
|Defence3=
 +
|Health3=
 +
 +
|Name4=
 +
|Count4=
 +
|Attack4=
 +
|Defence4=
 +
|Health4=
 +
 +
|Name5=
 +
|Count5=
 +
|Attack5=
 +
|Defence5=
 +
|Health5=
 +
 +
|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>
 
[[de:Vorlage:Infobox Waechter]]
 
[[de:Vorlage:Infobox Waechter]]
 
[[Category:Template:Infobox|Sentinel]]
 
[[Category:Template:Infobox|Sentinel]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:19, 27 October 2011

Name Count
(ca.)
Attack
(total)
Defence
(total)
Life Force
(total)


Syntax

{{Infobox_Sentinel
|Name1=
|Count1=
|Attack1= <!-- numbers for a single one of the creatures -->
|Defence1=
|Health1=

|Name2=
|Count2=
|Attack2=
|Defence2=
|Health2=

|Name3=
|Count3=
|Attack3=
|Defence3=
|Health3=

|Name4=
|Count4=
|Attack4=
|Defence4=
|Health4=

|Name5=
|Count5=
|Attack5=
|Defence5=
|Health5=

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