Template:Drop Rate: Difference between revisions
From HorizonXI Wiki
No edit summary Tag: visualeditor-wikitext |
No edit summary Tag: visualeditor-wikitext |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{1|}}}|100%|{{#ifexpr:{{{2|0}}} < 50|<font color="gray">([[{{ht|{{{1|0}}}/{{{2|0}}} ({{#expr:{{{1|0}}} / {{#ifeq:{{{2|1}}}|0|1|{{{2|1}}}}} * 100 round 1}}%). Insufficient data for an accurate Drop Rate. More information is needed.|???%|gray}}]])</font>|{{#ifexpr:{{{2}}} < 500|<font color="gray">([[{{ht|{{{1}}}/{{{2}}}. Low data; Drop Rate may be inaccurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%|gray}}]])</font>|([[{{ht|{{{1}}}/{{{2}}}. High data; Drop Rate should be accurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%}}]])}}}}}}<noinclude> | {{#ifeq:{{{1|}}}|100%|([[FFXIclopedia:Drop Rate Policy|{{ht|100% Drop Rate|100%}}]])|{{#ifexpr:{{{2|0}}} < 50|<font color="gray">([[FFXIclopedia:Drop Rate Policy|{{ht|{{{1|0}}}/{{{2|0}}} ({{#expr:{{{1|0}}} / {{#ifeq:{{{2|1}}}|0|1|{{{2|1}}}}} * 100 round 1}}%). Insufficient data for an accurate Drop Rate. More information is needed.|???%|gray}}]])</font>|{{#ifexpr:{{{2}}} < 500|<font color="gray">([[FFXIclopedia:Drop Rate Policy|{{ht|{{{1}}}/{{{2}}}. Low data; Drop Rate may be inaccurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%|gray}}]])</font>|([[FFXIclopedia:Drop Rate Policy|{{ht|{{{1}}}/{{{2}}}. High data; Drop Rate should be accurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%}}]])}}}}}}<noinclude> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]][[de:Vorlage:Droprate]] | ||
==Usage== | ==Usage== | ||
''This section describes how the Drop Rate template works.'' | ''This section describes how the Drop Rate template works. If you are looking for rules and guidelines on use, see [[FFXIclopedia:Drop Rate Policy]].'' | ||
<pre> | <pre> | ||
{{Drop Rate|total drops|total kills}} | {{Drop Rate|total drops|total kills}} |
Revision as of 21:04, 27 April 2023
Usage
This section describes how the Drop Rate template works. If you are looking for rules and guidelines on use, see FFXIclopedia:Drop Rate Policy.
{{Drop Rate|total drops|total kills}}
- This template is used to collect and present drop rate data. It is intended to collect data from multiple users and keep a running total (new results are added to the existing totals rather than replacing them), thus becoming more accurate over time.
- The drop rate is rounded to the nearest tenth, with a hovertext that displays the exact number of drops and kills and a message describing the data's current reliablity.
- If the data is too low to be considered reliable (less than 50 kills), the drop rate will be colored gray and question marks (???) will be displayed instead of the drop rate. However, the drop rate can still be seen in the hovertext next to the number of drops and kills.
- If the data is low, but not completely unreliable (less than 500 kills), the drop rate will simply be colored gray.
- "100%" can be used as the "total drops" value to automatically display the drop rate as 100%.