Template:Chancedisplay: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) No edit summary |
Kiokurashi (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="display: none;">{{#expr:1/{{{1}}}}}</span>{{#tip-text:1 in {{significant_figures|{{#expr:1/{{{1}}}}}|3}}|<span class="text-only">{{#expr:{{{1}}}*100}}%</span>}}</includeonly><noinclude> | <includeonly>{{#ifeq:{{{1}}}|0|{{#tip-text:1 in INF|<span class="text-only">0%</span>}}|<span style="display: none;">{{#expr:1/{{{1}}}}}</span>{{#tip-text:1 in {{significant_figures|{{#expr:1/{{{1}}}}}|3}}|<span class="text-only">{{#expr:{{{1}}}*100}}%</span>}}}}</includeonly><noinclude> | ||
<pre> | <pre> | ||
Used for outputting correctly formatted percentages | Used for outputting correctly formatted percentages |
Revision as of 20:56, 30 December 2022
Used for outputting correctly formatted percentages Usage: {{droptable|chance}}