Template:Abundance: Difference between revisions

From HorizonXI Wiki
No edit summary
Tag: visualeditor-wikitext
No edit summary
Tag: visualeditor-wikitext
Line 11: Line 11:


-->|{{#ifexpr:{{{2}}} < 100|[[File:Warning.png|20px|More data needed.|link=HorizonXIwiki:Drop Rate Policy]]<!--
-->|{{#ifexpr:{{{2}}} < 100|[[File:Warning.png|20px|More data needed.|link=HorizonXIwiki:Drop Rate Policy]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 1|[[FFXIclopedia:Drop Rate Policy|Extremely Rare]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 1|[[HorizonXIwiki:Drop Rate Policy|Extremely Rare]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 5|[[FFXIclopedia:Drop Rate Policy|Very Rare]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 5|[[HorizonXIwiki:Drop Rate Policy|Very Rare]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 10|[[FFXIclopedia:Drop Rate Policy|Rare]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 10|[[HorizonXIwiki:Drop Rate Policy|Rare]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 15|[[FFXIclopedia:Drop Rate Policy|Uncommon]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 15|[[HorizonXIwiki:Drop Rate Policy|Uncommon]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 20|[[FFXIclopedia:Drop Rate Policy|Common]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 20|[[HorizonXIwiki:Drop Rate Policy|Common]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 50|[[FFXIclopedia:Drop Rate Policy|Very Common]]<!--
-->|{{#ifexpr:({{{1}}} / {{{2}}} * 100) <= 50|[[HorizonXIwiki:Drop Rate Policy|Very Common]]<!--
-->|[[FFXIclopedia:Drop Rate Policy|Extremely Common]]<!--
-->|[[HorizonXIwiki:Drop Rate Policy|Extremely Common]]<!--
-->}}}}}}}}}}}}}}<!--
-->}}}}}}}}}}}}}}<!--



Revision as of 23:39, 21 February 2023

Usage

This section describes how the Abundance template works. If you are looking for rules and guidelines on use, see HorizonXIwiki:Drop Rate Policy.

{{Abundance|total items obtained|total attempts to obtain}}
  • This template is used to collect and present rarity/abundance 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 template automatically displays the general rarity of the item using the following ranges:
Abundance Range
Extremely Rare 0 - 1%
Very Rare 1 - 5%
Rare 5 - 10%
Uncommon 10 - 15%
Common 15 - 20%
Very Common 20 - 50%
Extremely Common 50 - 100%
  • The abundance is also displayed as a percent value after the text (in superscript) and the exact number of items obtained and attempts to obtain the item are displayed in the hovertext, as well as a message describing the data's current reliablity.
  • If the data is too low to be considered reliable (less than 50 attempts), the abundance percent will be colored gray and More data needed will be displayed in place of the usual text.
  • If the data is low, but not completely unreliable (less than 500 attempts), the abundance percent will simply be colored gray.
  • "Map" (case-insensitive) can be used as the "number of items" value to display "Received if not previously obtained".
  • "Quest" (case-insensitive) can be used as the "number of items" value to display "Received with quest active".

Examples

Code Result
{{Abundance|map}}
101%Received if not previously obtained
{{Abundance|quested}}
101%Received with quest active
{{Abundance||}}
0%Unknown(0%)
{{Abundance|0|0}}
0%Unknown(0%)
{{Abundance|0|5}}
0%More data needed.(0%)
{{Abundance|1|10}}
10%More data needed.(10%)
{{Abundance|24|153}}
15.7%Common(15.7%)
{{Abundance|100|344}}
29.1%Very Common(29.1%)
{{Abundance|443|562}}
78.8%Extremely Common(78.8%)
{{Abundance|11|625}}
1.8%Very Rare(1.8%)