Template:RarityColor: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
m (what if)
 
Line 1: Line 1:
<includeonly>{{color|
<includeonly>{{color|
{{#switch: {{{1}}}
{{#switch: {{{1}}}
| common = #FFFFFF
| uncommon = #01BD39
| uncommon = #01BD39
| rare = #01BFFF
| rare = #01BFFF
Line 7: Line 8:
| 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 16: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