Template:Rarity: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(simplify, removing backwards compat)
m (Added space between icon and "Rarity:" to align on item and equipment pages)
Line 1: Line 1:
<includeonly>{{SmallIcon|Rarity Icon.png|class=bg3wiki-lightmode-drop-shadow}}Rarity: {{#switch: {{{1|}}}
<includeonly>{{SmallIcon|Rarity Icon.png|class=bg3wiki-lightmode-drop-shadow}} Rarity: {{#switch: {{{1|}}}
| <!-- accept empty value for "common", for ease of use from other templates -->
| <!-- accept empty value for "common", for ease of use from other templates -->
| common = Common
| common = Common

Revision as of 15:18, 8 December 2023

Usage: {{rarity|}}

Result: Rarity: Common

Usage: {{rarity|common}}

Result: Rarity: Common

Usage: {{rarity|uncommon}}

Result: Rarity: Uncommon

Usage: {{rarity|rare}}

Result: Rarity: Rare

Usage: {{rarity|very rare}}

Result: Rarity: Very Rare

Usage: {{rarity|legendary}}

Result: Rarity: Legendary

Usage: {{rarity|story}}

Result: Rarity: Story Item

Usage: {{rarity|uncommon|rare}}

Result: Rarity: Uncommon / RareHHonour