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

From Linguifex
Jump to navigation Jump to search
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.


===Predefined colors===
===Predefined colors===

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