Template:Color

 color and link are two simple templates that can be used to add color to text. It is a merge of the old template:Rarity, and template:Element. These template can be used more generally for any color, but do retain convenience keywords relating to borderlands.

Motivation
The main motivation for these templates is to limit redundancy cross template, as well as facilitate usage when both color and linkage is involved.

Why 2 templates?
Having 2 templates makes it easier on the wiki programmer when links are involved. For example, using just the old rarity template, a wiki editor had to write " orange " to create a link to orange. The new alternative is much simpler: " ".

Usage
free text

color takes 2 un-named parameters. The first is the color for the current text, and the second is free text. If the second parameter is missing, than the color argument will be used as free text.

link works the same as color, but further transforms the colored text into a link. The link target is the third parameter. Should that parameter be missing, it will default to the second (free text), then the first.

Valid colors
The following is a list of valid colors. The template does support a few extra colors to support legacy typos, but it is recommended to stick to these colors.