Template:DropChance: Difference between revisions

From Ephinea PSO Wiki
m (slight format change)
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#ifeq: {{DropCalc|{{{1|0}}}|{{{2|0}}}}} | - | | {{#ifexpr: {{DropCalc|{{{1}}}|{{{2}}}}} < 10 | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 2}} | {{#ifexpr: {{DropCalc|{{{1}}}|{{{2}}}}} < 100 | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 1}} | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 0}}}}}}}}
{{#ifeq: {{DropCalc|{{{1|0}}}|{{{2|0}}}}} | - | {{#ifexpr: {{DropCalc|{{{1}}}|{{{2}}}}} < 10 | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 2}} | {{#ifexpr: {{DropCalc|{{{1}}}|{{{2}}}}} < 100 | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 1}} | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 0}}}}}}}}
<noinclude>==Usage and example==
<noinclude>==Usage and example==
<pre>{{DropChance|0|0}}</pre>
<pre>{{DropChance|0|0}}</pre>

Revision as of 21:10, 20 February 2023

Expression error: Unexpected < operator.

Usage and example

{{DropChance|0|0}}

Expression error: Unexpected < operator.

{{DropChance|80|9/16}}


{{DropChance|15|9/16}}


{{DropChance|28|1/2340.57}}