Template:Enchantment level/doc

From Albion Online Wiki
Jump to navigation Jump to search
Documentation

Takes the numerical or text representation of an enchantment level and returns the matching opposite:

{{#switch: {{{1}}} 
| 1 = Uncommon 
| 2 = Rare 
| 3 = Exceptional
| Uncommon = 1
| Rare = 2
| Exceptional = 3
}}

Usage

{{enchantment level|1}}
{{enchantment level|2}}
{{enchantment level|3}}
{{enchantment level|Uncommon}}
{{enchantment level|Rare}}
{{enchantment level|Exceptional}}

Uncommon
Rare
Exceptional
1
2
3

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.