Difference between revisions of "Template:Experience"

From Starsonata Wiki
Jump to: navigation, search
(New page: {| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;" align="right" |- |Killer Level: {{killer}} |Target Level: {{target}} |Experience: {{ifexpr: target>killer...)
 
Line 1: Line 1:
 
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;" align="right"
 
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;" align="right"
 
|-
 
|-
|Killer Level: {{killer}}
+
|Killer Level: {{{killer}}}
|Target Level: {{target}}
+
|Target Level: {{{target}}}
|Experience: {{ifexpr: target>killer|{{#expr: 200*((target+1)/(killer+1))^0.9}}|{{ifexpr: killer>9|{{#expr:200*((target+1)/(killer+1))^5}}|{{#expr:200*((target+1)/(killer+1))^2}} }} }}
+
|Experience: {{ifexpr: {{{target}}}>{{{killer}}}|{{#expr: 200*(({{{target}}}+1)/({{{killer}}}+1))^0.9}}|{{ifexpr: {{{killer}}}>9|{{#expr:200*(({{{target}}}+1)/({{{killer}}}+1))^5}}|{{#expr:200*(({{{target}}}+1)/({{{killer}}}+1))^2}} }} }}
 
|-
 
|-
 
|}
 
|}

Revision as of 17:35, 2 February 2009

Killer Level: {{{killer}}} Target Level: {{{target}}} Expression error: Unrecognized punctuation character "{".|{{ifexpr: {{{killer}}}>9|Expression error: Unrecognized punctuation character "{".|Expression error: Unrecognized punctuation character "{". }} }}


Usage

3.7322539260398