Template:DropRate: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
{{#ifeq: {{{1|}}}| |{{#set: number=1/350}}{{#set: denominator=350}}
 
| {{#set: number={{{1}}}}}{{#set: denominator={{#titleparts:{{{1}}}|2|-1}}}
}}
{{#set: percentage_15={{#expr: floor(({{#show: {{#get: number}} |?number}}) * 0.85) }}
}}{{#set: percentage_25={{#expr: floor(({{#show: {{#get: number}} |?number}}) * 0.75) }}
}}{{#set: percentage_30={{#expr: floor(({{#show: {{#get: number}} |?number}}) * 0.70) }}
}}{{#set: percentage_40={{#expr: floor(({{#show: {{#get: number}} |?number}}) * 0.60) }}
}}
{{#if: {{{1|}}}|
{{#show: {{#get: number}} |?number}} | {{#show: {{#get: percentage_15}} |?percentage_15}} | {{#show: {{#get: percentage_25}} |?percentage_25}} | {{#show: {{#get: percentage_30}} |?percentage_30}} | {{#show: {{#get: percentage_40}} |?percentage_40}}
}}

Latest revision as of 12:05, 5 April 2024