Template:Infobox language/family-color/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(One intermediate revision by one other user not shown)
Line 5: Line 5:
This is a subtemplate of {{tlx|Infobox language}}. It returns a background color name (e.g. {{code|pink}} or {{code|<nowiki>#c0dde6</nowiki>}}) for any language family name entered. Family names and their background colors are shown in the quilt table below.
This is a subtemplate of {{tlx|Infobox language}}. It returns a background color name (e.g. {{code|pink}} or {{code|<nowiki>#c0dde6</nowiki>}}) for any language family name entered. Family names and their background colors are shown in the quilt table below.


If no predefined language family color is chosen, any hex color (e.g. <code>#CCFF00</code>) or color name (e.g. <code>cornflowerblue</code>) may be entered.
To select a color that is not one of the predefined colors, any hex color (e.g. <code>#CCFF00</code>) or color name (e.g. <code>cornflowerblue</code>) may be entered.


===Color overview===
===Predefined colors===
{{Infobox language/quilt}}
{{Infobox language/quilt}}
{{clear}}
{{clear}}
===See also===
===See also===
* {{tlx|Infobox language family}}
* {{tlx|Infobox language family}}

Revision as of 05:11, 13 July 2019

Usage

This is a subtemplate of {{Infobox language}}. It returns a background color name (e.g. pink or #c0dde6) for any language family name entered. Family names and their background colors are shown in the quilt table below.

To select a color that is not one of the predefined colors, any hex color (e.g. #CCFF00) or color name (e.g. cornflowerblue) may be entered.

Predefined colors

See also