Template:Chancedisplay: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary Tag: Reverted |
Kiokurashi (talk | contribs) mNo edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{1}}}|0 | <includeonly>{{#ifeq:{{{1}}}|0 | ||
|{{#tip-text:1 in INF|<span class="text-only">0%</span>}} | |{{#tip-text:1 in INF|<span class="text-only">0%</span>}} | ||
|<!-- I don't know what this was even for: <span style="display: none;">{{#expr:1/{{{1|999999}}}}}</span>-->{{#tip-text:1 in {{#expr:1/{{{1|1}}}}}|<span class="text-only">{{#expr:{{{1|999999}}}*100}}%</span>}}}}</includeonly><noinclude> | |<!-- I don't know what this was even for: <span style="display: none;">{{#expr:1/{{{1|999999}}}}}</span>-->{{#tip-text:1 in {{#expr: 1 / {{{1|1}}} }}|<span class="text-only">{{#expr:{{{1|999999}}}*100}}%</span>}}}}</includeonly><noinclude> | ||
<pre> | <pre> | ||
Used for outputting correctly formatted percentages | Used for outputting correctly formatted percentages |
Revision as of 12:56, 24 May 2023
Used for outputting correctly formatted percentages Usage: {{droptable|chance}}