Difference between revisions of "Template:Infobox Sentinel"

From Xhodon 2
Jump to: navigation, search
m (furtherly shortening code)
Line 105: Line 105:
 
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Attack1}}} + {{{Count2}}} * {{{Attack2}}} + {{{Count3}}} * {{{Attack3}}} + {{{Count4}}} * {{{Attack4}}} + {{{Count5}}} * {{{Attack5}}}
 
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Attack1}}} + {{{Count2}}} * {{{Attack2}}} + {{{Count3}}} * {{{Attack3}}} + {{{Count4}}} * {{{Attack4}}} + {{{Count5}}} * {{{Attack5}}}
 
{{#if:{{{Count6|}}} |
 
{{#if:{{{Count6|}}} |
+ {{{Count6}}} * {{{Attack6}}} + {{{Count7}}} * {{{Attack7}}} + {{{Count8}}} * {{{Attack8}}}
+
+ {{{Count6}}} * {{{Attack6}}}
}} }} }}
+
{{#if:{{{Count6|}}} |
 +
+ {{{Count7}}} * {{{Attack7}}} + {{{Count8}}} * {{{Attack8}}}
 +
}} }} }} }}
  
 
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Defence1}}} + {{{Count2}}} * {{{Defence2}}} + {{{Count3}}} * {{{Defence3}}} + {{{Count4}}} * {{{Defence4}}} + {{{Count5}}} * {{{Defence5}}}
 
{{!}} {{ formatnum: {{#expr: {{{Count1}}} * {{{Defence1}}} + {{{Count2}}} * {{{Defence2}}} + {{{Count3}}} * {{{Defence3}}} + {{{Count4}}} * {{{Defence4}}} + {{{Count5}}} * {{{Defence5}}}

Revision as of 15:16, 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 = 
}}