Template:Rarity: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
m (Added space between icon and "Rarity:" to align on item and equipment pages)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{SmallIcon|Rarity Icon.png}} Rarity: {{#switch:{{{1|common}}}
<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
| uncommon = {{Uncommon}}
| uncommon = {{Uncommon}}
| rare = {{Rare}}
| rare = {{Rare}}
| very rare = {{VeryRare}}
| very rare = {{very rare}}
}}</includeonly><noinclude>
| legendary = {{Legendary}}
| story = {{Story}}
}} {{#if: {{{2|}}}
| / {{#switch: {{{2}}}
| common = Common
| uncommon = {{Uncommon}}
| rare = {{Rare}}
| very rare = {{very rare}}
| legendary = {{Legendary}}
| story = {{Story}}
}}{{Honour}}}}</includeonly><noinclude>
Usage: {{code|<nowiki>{{rarity|}}</nowiki>}}
Usage: {{code|<nowiki>{{rarity|}}</nowiki>}}


Line 25: Line 35:


Result: {{rarity|very rare}}
Result: {{rarity|very rare}}
Usage: {{code|<nowiki>{{rarity|legendary}}</nowiki>}}
Result: {{rarity|legendary}}
Usage: {{code|<nowiki>{{rarity|story}}</nowiki>}}
Result: {{rarity|story}}
Usage: {{code|<nowiki>{{rarity|uncommon|rare}}</nowiki>}}
Result: {{rarity|uncommon|rare}}
[[Category:Weapon Property Templates]]
</noinclude>
</noinclude>

Latest revision as of 16: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