Template:Hxi Drop Rate: Difference between revisions

From HorizonXI Wiki
(testing an "unknown" drop rate parameter.)
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 2: Line 2:
-->{{#ifeq:{{{asb}}}|false
-->{{#ifeq:{{{asb}}}|false
| {{Retail Drop Rate|{{{1|}}}|{{{2|}}}}}
| {{Retail Drop Rate|{{{1|}}}|{{{2|}}}}}
| {{#ifeq:{{{asb}}}|verification|drop rate unknown {{verification}}
| {{#ifexpr:{{{2|0}}} < 25<!--
| {{#ifexpr:{{{2|0}}} < 25<!--
sample size smaller than 25: display horizon
sample size smaller than 25: display horizon
Line 22: Line 21:
-->|<span style="color: gray">([[HorizonXI:Drop Rate Policy|{{ht|Air Sky Boat Drop Rate. HorizonXI sample data agrees that: {{{1|0}}}/{{{2|0}}} ({{#expr:{{{1|0}}} / {{#ifeq:{{{2|1}}}|0|1|{{{2|1}}}}} * 100 round 1}}{{ConfidenceInterval|{{{1|0}}}|{{{2}}}}} %).|{{#expr:{{{asb}}}*100 round 1}}%|gray}}]])</span>}}<!--
-->|<span style="color: gray">([[HorizonXI:Drop Rate Policy|{{ht|Air Sky Boat Drop Rate. HorizonXI sample data agrees that: {{{1|0}}}/{{{2|0}}} ({{#expr:{{{1|0}}} / {{#ifeq:{{{2|1}}}|0|1|{{{2|1}}}}} * 100 round 1}}{{ConfidenceInterval|{{{1|0}}}|{{{2}}}}} %).|{{#expr:{{{asb}}}*100 round 1}}%|gray}}]])</span>}}<!--
sample size larger than 500: just display horizon, dont care about ASB
sample size larger than 500: just display horizon, dont care about ASB
-->| ([[HorizonXI:Drop Rate Policy|{{ht|{{{1}}}/{{{2}}}. High data; Drop Rate should be accurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%}}]])}}}}}}}}}}</includeonly></onlyinclude>
-->| ([[HorizonXI:Drop Rate Policy|{{ht|{{{1}}}/{{{2}}}. High data; Drop Rate should be accurate.|{{#expr:{{{1}}} / {{{2}}} * 100 round 1}}%}}]])}}}}}}}}
| {{#ifeq:{{{asb}}}|verification|drop rate unknown {{verification}}
}}</includeonly></onlyinclude>


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]

Revision as of 20:54, 26 October 2024

Usage

Parameters

{{Hxi Drop Rate|asb=|total drops|total kills}}
{{Hxi Drop Rate|22%}}

{{#if:2|(22%)|(<span title="Air Sky Boat Drop Rate. No indication that HorizonXI sample data deviates from that: 22%/0 (Expression error: Unrecognized punctuation character "%". %)." style="border-bottom:1px dotted">Expression error: Unrecognized punctuation character "{".%) |


Logic:

  • if sample size < 25: show asb
  • if 25 < sample size < 100: show asb but hint with red brackets IF difference between horizon droprate and asb is larger than the confidence interval of the sample.
  • if 100 < sample size < 500: show horizon but hint with purple brackets IF difference between horizon droprate and asb is larger than the confidence interval of the sample.
  • if 500 < sample size: show horizon

Examples

  • no sample returns:
{{Hxi Drop Rate|asb=111/1000|0|0}}

{{#if:|(0)|(11.1%) |

  • sample size < 25:
{{Hxi Drop Rate|asb=111/1000|1|10}}

{{#if:|(1)|(11.1%) |

  • 25 < sample size < 100, hxi agrees with asb:
{{Hxi Drop Rate|asb=111/1000|5|60}}

{{#if:|(5)|(11.1%) |

  • 25 < sample size < 100, hxi deviates from asb:
{{Hxi Drop Rate|asb=111/1000|30|60}}

{{#if:|(30)|(11.1%) |

  • 100 < sample size < 500, hxi agrees with asb:
{{Hxi Drop Rate|asb=111/1000|10|120}}

{{#if:|(10)|(11.1%) |

  • 100 < sample size < 500, hxi deviates from asb:
{{Hxi Drop Rate|asb=111/1000|93|120}}

{{#if:|(93)|(77.5%) |

  • 500 < sample size:
{{Hxi Drop Rate|asb=111/1000|312|1500}}

{{#if:|(312)|(20.8%) |

Drop Rate Guidelines

From Template:Retail Drop Rate

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 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%.