Difference between revisions of "Template:Skill rate"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
Line 6: | Line 6: | ||
| {{Tooltip|{{{base|0}}}~100%|100% proc rate achieved at level {{#expr:ceil(100 * (100 - {{{base|0}}}) / ({{#var:max rate}} - {{{base|0}}}))}}}} | | {{Tooltip|{{{base|0}}}~100%|100% proc rate achieved at level {{#expr:ceil(100 * (100 - {{{base|0}}}) / ({{#var:max rate}} - {{{base|0}}}))}}}} | ||
| {{{base|0}}}~{{#var:max rate}}% | | {{{base|0}}}~{{#var:max rate}}% | ||
}}}}{{#vardefine:max rate|}}}}<!--reset the lazy fix for shorter skill descriptions-->{{#vardefine:short description|}}</includeonly></onlyinclude><noinclude | }}}}{{#vardefine:max rate|}}}}<!--reset the lazy fix for shorter skill descriptions-->{{#vardefine:short description|}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> | ||
</noinclude> |
Latest revision as of 16:28, 28 November 2020
Description
This template processes skill proc rates by using the min and max values.
Usage
- base - min proc rate
- max - max proc rate. If set at 0, it becomes double the min rate.
Examples
{{Skill rates|base=45|max=0}}
45~90%
{{Skill rates|base=undefined|max=undefined}}
?%
{{Skill rates|base=65|max=0}}
65~100%100% proc rate achieved at level 54
{{Skill rates|base=20|max=100}}
20~100%
{{Skill rates|base=100|max=0}}
100%
{{Skill rates|base=40|max=40}}
40%
The above documentation is transcluded from Template:Skill rate/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |