Template:Rarity: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{SmallIcon|Rarity Icon.png}} Rarity: {{#switch:{{{1|common}}}
<includeonly>{{SmallIcon|Rarity Icon.png}} Rarity: {{#switch:{{{1|common}}}
| <!-- accept empty value for "common", for ease of use from other templates -->
| common = Common
| common = Common
| uncommon = {{Uncommon}}
| uncommon = {{Uncommon}}
Line 5: Line 6:
| very rare = {{VeryRare}}
| very rare = {{VeryRare}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Usage: {{code|<nowiki>{{rarity|}}</nowiki>}}
Result: {{rarity|}}
Usage: {{code|<nowiki>{{rarity|common}}</nowiki>}}
Usage: {{code|<nowiki>{{rarity|common}}</nowiki>}}



Revision as of 21:59, 5 February 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: Template:VeryRare