Template:RarityColor: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{color|
<includeonly>{{color|
{{#switch:{{{1}}}
{{#switch:{{{1}}}
| uncommon = limegreen
| uncommon = #01BD39
| rare = deepskyblue
| rare = #01BFFF
| very rare
| very rare | veryrare = #D1017B
| veryrare = mediumvioletred
| legendary = #B7861D
| legendary = goldenrod
| story = #FF5901
}}|{{{2}}}}}</includeonly><noinclude>
}}|{{{2}}}}}</includeonly><noinclude>
Usage: {{code|<nowiki>{{RarityColor|uncommon|Uncommon Item}}</nowiki>}}
Usage: {{code|<nowiki>{{RarityColor|uncommon|Uncommon Item}}</nowiki>}}
Line 26: Line 26:


Result: {{RarityColor|legendary|Legendary Item}}
Result: {{RarityColor|legendary|Legendary Item}}
Usage: {{code|<nowiki>{{RarityColor|story|Story Item}}</nowiki>}}
Result: {{RarityColor|story|Story Item}}
</noinclude>
</noinclude>

Revision as of 05:35, 17 February 2023

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|veryrare|Very Rare Item}} (DEPRECATED)

Result: Very Rare Item

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

Result: Legendary Item

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

Result: Story Item