Template:RarityColor: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
m (what if)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{color|
<includeonly>{{color|
{{#switch:{{{1}}}
{{#switch: {{{1}}}
| common = #FFFFFF
| uncommon = #01BD39
| uncommon = #01BD39
| rare = #01BFFF
| rare = #01BFFF
Line 6: Line 7:
| legendary = #B7861D
| legendary = #B7861D
| story = #FF5901
| story = #FF5901
}}|{{{2}}}}}</includeonly><noinclude>
}} | {{{2}}} }}</includeonly><noinclude>
Usage: {{code|<nowiki>{{RarityColor|common|Common Item}}</nowiki>}}
 
Result: {{RarityColor|common|Common Item}}
 
Usage: {{code|<nowiki>{{RarityColor|uncommon|Uncommon Item}}</nowiki>}}
Usage: {{code|<nowiki>{{RarityColor|uncommon|Uncommon Item}}</nowiki>}}



Latest revision as of 17:02, 30 December 2023

Usage: {{RarityColor|common|Common Item}}

Result: Common Item

Usage: {{RarityColor|uncommon|Uncommon Item}}

Result: Uncommon Item

Usage: {{RarityColor|rare|Rare Item}}

Result: Rare Item

Usage: {{RarityColor|very rare|Very Rare Item}}

Result: Very Rare Item

Usage: {{RarityColor|legendary|Legendary Item}}

Result: Legendary Item

Usage: {{RarityColor|story|Story Item}}

Result: Story Item