Difference between revisions of "Template:Experience"

From Starsonata Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{#if: {{{table}}}|
 
{| 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"
 
|-
 
|-
Line 6: Line 7:
 
|-
 
|-
 
|}
 
|}
 +
|{{#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}} }} }}
 +
}}
  
 
<noinclude>
 
<noinclude>
Line 11: Line 14:
 
<pre>
 
<pre>
 
{{Experience
 
{{Experience
 +
| table = true
 
| killer = 1234
 
| killer = 1234
 
| target = 556
 
| target = 556

Revision as of 18:02, 2 February 2009

{


Usage

{{Experience
| table = true
| killer = 1234
| target = 556
}}