Template:RarityColor: Difference between revisions

Jump to navigation Jump to search
no edit summary
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>

Navigation menu