Difference between revisions of "Template:Infobox language/family-color/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(edit 1: rm extra line that does the #default all the same)
imported>DePiep
(defaullt ((unrecognosed) returns a (blank). NO category-adding here. That is to be done in the main template: this one returns a color-id or a blank.)
Line 28: Line 28:
 
| uto-aztecan | utoaztecan = dodgerblue
 
| uto-aztecan | utoaztecan = dodgerblue
 
| unclassified | superfamily = white
 
| unclassified | superfamily = white
| #default =<includeonly>[[Category:Languages without family color codes]]</includeonly>
+
| #default =<!--blank-->
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 22:39, 18 March 2012

Template documentation[view] [edit] [history] [purge]

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, 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.

Color overview

See also