Template:DetermineRarity/doc

From RuneRealm Wiki

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:23, 17 October 2024 (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..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:DetermineRarity.
It contains usage information, categories, and other content that is not part of the original template page.

Prints "Always", "Common", "Uncommon", "Rare" or "Very rare", based on the number in the first (and only) parameter. For example:

{{DetermineRarity|50}}

would produce "Uncommon", as 1/50 is considered uncommon.

Usage

Primarily used with {{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 {{Revenants/Drops}}.