Template:Enchantment color

From Albion Online Wiki
Revision as of 09:05, 13 December 2019 by Dero (talk | contribs) (Created page with "<noinclude>{{doc}}</noinclude><includeonly>{{#switch:{{{enchantment|0}}} |0 = inherit |1 = <nowiki>#6bff91</nowiki> |2 = <nowiki>#49f1ff</nowiki> |3 = <nowiki>#bd89ff</nowiki>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation

This templated returns an RGB Hex Code for coloring certain elements using CSS depending on the numeric enchantment level provided. It can be used for tables where a row or cell should reflect an item enchantment.

Usage

{{Enchantment_color|enchantment=0}}
=inherit
{{Enchantment_color|enchantment=1}}
=#6bff91

Valid values for enchantment are 0, 1, 2 and 3.