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 language family name is entered, any hex color (e.g. <code>#CCFF00</code>) or color name (e.g. <code>cornflowerblue</code>) may be entered.
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.


===Color overview===
===Color overview===

Revision as of 15:49, 22 January 2014

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.

If no predefined language family color is chosen, any hex color (e.g. #CCFF00) or color name (e.g. cornflowerblue) may be entered.

Color overview

See also