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

From Linguifex
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> === Usage === This is a subtemplate of {{tlx|Infobox language}}. It returns a back...")
 
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, or the input name is not recognised, a "" (blank) will be returned (resulting in a "transparent" background color), and the page will be added to [[:Category:Languages without family color codes]].
If no language family name is entered, any hex color may be entered.


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

Revision as of 15:36, 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 language family name is entered, any hex color may be entered.

Color overview

See also