Template:DropRate: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
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}} | |||
}} |
Revision as of 12:04, 5 April 2024
{{#ifeq: | |"/350" can not be assigned to a declared number type with value 1.
| "{{{" can not be assigned to a declared number type with value 1.Property "Denominator" (as page type) with input value "{{{1}}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Percentage 15" (as page type) with input value "Expression error: Missing operand for *." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Property "Percentage 25" (as page type) with input value "Expression error: Missing operand for *." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Property "Percentage 30" (as page type) with input value "Expression error: Missing operand for *." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Property "Percentage 40" (as page type) with input value "Expression error: Missing operand for *." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.