Template:Drop Rate: Difference between revisions
From HorizonXI Wiki
mNo edit summary |
(planted a preview only message into the template) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{1|}}}|100%|([[HorizonXI:Drop Rate Policy|{{ht|100% Drop Rate|100%}}]])|{{#ifexpr:{{{2|0}}} < 25|<font color="gray">([[HorizonXI: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">([[HorizonXI:Drop Rate Policy|{{ht|{{{1}}}/{{{2}}}. Low data; Drop Rate may be inaccurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%|gray}}]])</font>|([[HorizonXI:Drop Rate Policy|{{ht|{{{1}}}/{{{2}}}. High data; Drop Rate should be accurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%}}]])}}}}}}<noinclude> | {{Preview Only Infobox|Editors please use the template <b><nowiki>{{Hxi Drop Rate|asb=|total drops|total kills}}</nowiki></b> instead of <b><nowiki>{{Drop Rate|total drops|total kills}}</nowiki></b>. | ||
Since Horizon is based on AirSkyBoat, the drop rates from AirSkyBoat serve as basis for all items on the Horizon wiki. The sheet with the droprates/1000 can be found here: | |||
https://raw.githubusercontent.com/AirSkyBoat/AirSkyBoat/staging/modules/era/sql/era_mob_droplist.sql | |||
The Hxi Drop Rate Template expects a mathematical expression for the asb drop rate parameter. | |||
<b>Example:</b> | |||
Abyssic Cluster drops a slice of coeurl meat at 39% which is encoded in the last value as 390 and should be entered into the template like in the following way (with total drops and total kills set to 0, assuming there has no horizon specific data been collected yet): | |||
<b><nowiki>{{Hxi Drop Rate|asb=390/1000|0|0}}</nowiki></b> | |||
More info on the template can be found on [[Template:Hxi Drop Rate]].}}{{#ifeq:{{{1|}}}|100%|([[HorizonXI:Drop Rate Policy|{{ht|100% Drop Rate|100%}}]])|{{#ifexpr:{{{2|0}}} < 25|<font color="gray">([[HorizonXI: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">([[HorizonXI:Drop Rate Policy|{{ht|{{{1}}}/{{{2}}}. Low data; Drop Rate may be inaccurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%|gray}}]])</font>|([[HorizonXI: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}}]] | ||
==Usage== | ==Usage== |
Revision as of 21:28, 27 February 2024
(???%)
Usage
This template is deprecated and no longer in use on the HorizonXI Wiki. You can expect to see it in use when pulling pages from retail wiki. Editors should replace this template with the HorizonXI Wiki template Hxi Drop.
You may also wish to visit our HorizonXI:Drop Rate Policy page.