Difference between revisions of "Template:Experience"
From Starsonata Wiki
m |
m |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{# | + | {{#ifeq: {{{table}}}|true| |
− | { | + | {{{!}} |
− | + | {{!}}Killer Level: {{{killer}}} | |
− | + | {{!}}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}} }} }} | |
− | + | {{!-}} | |
− | + | {{!close}} | |
− | |||
|{{#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}} }} }} | |{{#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> | ||
===Usage=== | ===Usage=== |
Latest revision as of 19:08, 2 February 2009
Expression error: Unrecognized punctuation character "{".
Usage
{{Experience | table = true | killer = 1234 | target = 556 }}