Template:Meat

From TheKolWiki
Jump to: navigation, search
{{Meat}}
<table style="margin: auto"><tr><td>[[File:meat.gif|link=Meat]]</td><td>You {{{type|gain}}} {{#if:{{{Mval|}}}|{{meat range|{{{Mval}}}}} [[Meat]]{{#iferror:{{#expr:{{Data|{{FULLPAGENAME}}|attack|?}}}}|.|}} (average: {{{Mval}}}, stdev: {{#expr:{{sqroot|{{#expr: (floor (.2*{{{Mval}}}))*(floor (.2*{{{Mval}}})+2)/6}}}} round 2}})[[Statistics Notes|*]]|{{formatnum:{{{amount|some}}}}} [[Meat]]{{#iferror:{{#expr:{{Data|{{FULLPAGENAME}}|attack|?}}}}|.|}} {{#if:{{{avg|}}}|(average: {{{avg}}}{{#if:{{{stdev|}}}|, stdev: {{{stdev}}}|}})[[Statistics Notes|*]]}}}}</td></tr></table>

Syntax

{{meat|amount=1000}}
Meat.gifYou gain 1,000 Meat.
{{meat|amount=200-300}}
Meat.gifYou gain 200-300 Meat.
{{meat}}
Meat.gifYou gain some Meat.
{{meat|type=bet}}
Meat.gifYou bet some Meat.
{{meat|type=lose|amount=100}}
Meat.gifYou lose 100 Meat.
{{meat|type=lose|amount=200-300}}
Meat.gifYou lose 200-300 Meat.
{{meat|type=lose|amount=some}}
Meat.gifYou lose some Meat.
{{meat|amount=200-300|avg=250|stdev=5}}
Meat.gifYou gain 200-300 Meat. (average: 250, stdev: 5)*
{{meat|Mval=250}}
Meat.gifYou gain 200-300 Meat. (average: 250, stdev: 20.82)*
{{meat|type=lose|Mval=42}}
Meat.gifYou lose 34-50 Meat. (average: 42, stdev: 3.65)*
{{meat|type=spent}}
Meat.gifYou spent some Meat.
{{meat|type=spent|amount=100}}
Meat.gifYou spent 100 Meat.