Template:Drop Rate: Difference between revisions

From HorizonXI Wiki
No edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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>
__NOTOC__
{{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}}%}}]])}}}}}}<div style="background-color: hsl(0, 50%, 75%); border: 2px solid red; padding: 0px 10px 30px 10px; border-radius: 8px; font-weight: bold;"><h2>This template is no longer in use.</h2>Editor: Please replace<br><pre>{{Drop Rate|total drops|total kills}}</pre> with <p style="background-color: #f8f9fa; padding: 1em; border: 1px solid #c8ccd1;"><nowiki>{{Hxi Drop Rate|asb=#/1000|total drops|total kills}}</nowiki></p>ASB rates can be found via [[Special:ASB Search]] and has accurate drop rate information for HorizonXI. If a drop rate is listed there as eg. 24% then set "asb=240/1000" etc.<br><br>This template is commonly used on mob pages. If you are adding a new mob page, we kindly ask that you use the new HorizonXI template [[:Template:Infobox Monster]].<br><br>Thank you!</div><noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
''This section describes how the Drop Rate template works. If you are looking for rules and guidelines on use, see [[HorizonXI:Drop Rate Policy]].''
''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 [[:Template:Hxi Drop Rate|Hxi Drop]]. ''
<pre>
 
{{Drop Rate|total drops|total kills}}
''You may also wish to visit our [[HorizonXI:Drop Rate Policy]] page.''
</pre>
 
*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 25 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%.
</noinclude>
</noinclude>

Latest revision as of 08:58, 29 February 2024

(???%)

This template is no longer in use.

Editor: Please replace
{{Drop Rate|total drops|total kills}}
with

{{Hxi Drop Rate|asb=#/1000|total drops|total kills}}

ASB rates can be found via Special:ASB Search and has accurate drop rate information for HorizonXI. If a drop rate is listed there as eg. 24% then set "asb=240/1000" etc.

This template is commonly used on mob pages. If you are adding a new mob page, we kindly ask that you use the new HorizonXI template Template:Infobox Monster.

Thank you!

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.