Jump to content

Template:By color

From Wikimedia Commons, the free media repository
Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:By color/doc.

Navigational template intended for use navigating "by color" categories.

Usage

{{By color |1= |2= |prefix= }}

List of colors:
Amber   custom: #FFBF00
Apricot   custom: #FBCEB1
Azure   HTML named default
Beige   HTML named default
Black   HTML named default
Blond   custom: #FAF0BE
Blue   HTML named default
Blue-gray   custom: #6699CC
Bordeaux   custom: #571C20
Brown   HTML named default
Burgundy   custom: #900020
Celadon   HTML named default
Chartreuse   HTML named default
Coral   HTML named default
Cream   custom: #FFFDD0
Crimson   HTML named default
Cyan   HTML named default
Ecru   custom: #C2B280
Gold / Golden   HTML named default
Gray / Grey   HTML named default
Green   HTML named default
Hazel   custom: #5F6401
Indigo   HTML named default
Ivory   HTML named default
Khaki   HTML named default
Lavender   HTML named default
Lilac   custom: #DBBFF9
Limegreen   HTML named default
Magenta   HTML named default
Mango   custom: #FFC800
Maroon   HTML named default
Mauve   custom: #E0B0FF
Navy   HTML named default
Olive   HTML named default
Orange   HTML named default
Pink   HTML named default
Purple   HTML named default
Red   HTML named default
Rose   custom: #FF007F
Royal blue   HTML named default
Salmon   HTML named default
Sepia   custom: #704214
Silver-colored   HTML named default
Tan   HTML named default
Teal   HTML named default
Turquoise   HTML named default
Vermilion   custom: #E34234
Violet   HTML named default
White   HTML named default
Yellow   HTML named default
Colorful Rainbow
Iridescent Blue-green gradient
Colorless   Transparent

Template parameters

ParameterDescriptionDefaultStatus
1Capitalized nameThe capitalized name of the category, minus the phrase "by color". This will appear in the title of the navbox.emptyrequired
2Lower-case nameThe lower-case version of the term used for "Capitalized name". This will appear immediately after the various color words for each of the colors.emptyrequired
prefixPrefixed stringThe prefixed string to prepend before "<color> X"emptyoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users

Example

{{By color|1=Dresses|2=dresses|prefix=Melania Trump wearing}}

renders as:

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)