Template:DetermineRarity/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{Documentation}} Prints "Always", "Common", "Uncommon", "Rare" or "Very rare", based on the number in the first (and only) parameter. For example: <pre>{{DetermineRarity|50}}</pre> would produce "Uncommon", as 1/50 is considered uncommon. ==Usage== Primarily used with {{t|DropsLine}} to dynamically output a different rarity when the drop rate is varied. As an example, revenants share the same loot but it is more common from higher levelled monsters, as documented i...")
 
No edit summary
Tag: Reverted
Line 1:
{{Documentationdocumentation}}
This template calculates the rarity of an item with a known/estimated drop rate
Prints "Always", "Common", "Uncommon", "Rare" or "Very rare", based on the number in the first (and only) parameter. For example:
<pre>{{DetermineRarity|50}}</pre>
would produce "Uncommon", as 1/50 is considered uncommon.
 
==Usage==
This template can be used by entering the following onto a relevant page.
Primarily used with {{t|DropsLine}} to dynamically output a different rarity when the drop rate is varied. As an example, [[revenants]] share the same loot but it is more common from higher levelled monsters, as documented in {{t|Revenants/Drops}}.
 
<pre>
{{Rarity|1/5}}
 
{{Rarity|1/26}}
 
{{Rarity|1/120}}
 
{{Rarity|1/10000}}
 
{{DropsTableHead}}
{{DropsLine|Name=Knife|Quantity=1|Rarity={{Rarity|5/129}}|Raritynotes = <small>(5/129)</small>}}
{{DropsTableBottom}}
</pre>
 
{{Rarity|1/5}}
 
{{Rarity|1/26}}
 
{{Rarity|1/120}}
 
{{Rarity|1/10000}}
 
{{DropsTableHead}}
{{DropsLine|name=Knife|quantity=1|rarity={{Rarity|5/129}}|raritynotes = <small>(5/129)</small>}}
{{DropsTableBottom}}
 
<includeonly>[[Category:Transclusion templates|{{PAGENAME}}]]</includeonly>

Navigation menu