Template:By color

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · 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 custom: #007FFF
Beige custom: #F5F5DC
Black HTML named default
Blond custom: #FAF0BE
Blue custom: #2337F7
Blue-gray custom: #6699CC
Bordeaux custom: #571C20
Brown custom: #80583C
Burgundy custom: #900020
Celadon HTML named default
Chartreuse custom: #7FFF00
Coral custom: #F5757F
Cream custom: #FFFDD0
Crimson HTML named default
Cyan custom: #53F1F1
Ecru custom: #C2B280
Gold / Golden HTML named default
Gray / Grey HTML named default
Green custom: #18A814
Hazel custom: #5F6401
Indigo HTML named default
Ivory custom: #FFFFF0
Khaki custom: #C3B091
Lilac custom: #DBBFF9
Lime custom: #BFFF00
Magenta custom: #E83BE8
Mango custom: #FFC800
Maroon HTML named default
Mauve custom: #E0B0FF
Navy custom: #000080
Olive HTML named default
Orange HTML named default
Pink HTML named default
Purple custom: #8A1799
Red HTML named default
Rose custom: #FF007F
Royal blue custom: #4169E1
Salmon HTML named default
Sepia custom: #704214
Silver-colored HTML named default
Tan HTML named default
Teal HTML named default
Turquoise custom: #28C6B5
Vermilion custom: #E34234
Violet custom: #6422D3
White HTML named default
Yellow custom: #FFFF00
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)