Template:Infobox language/family-color/sandbox: Difference between revisions
Appearance
Content deleted Content added
edit 5: move #default to end of #switch for readability (more sandard way of doing) |
edit 5: use {{template other||Category: ...}} to prevent template themselves be put in the category |
||
Line 30: | Line 30: | ||
| uto-aztecan | utoaztecan = dodgerblue |
| uto-aztecan | utoaztecan = dodgerblue |
||
| unclassified | superfamily = white |
| unclassified | superfamily = white |
||
| = white |
| = white{{template other||[[Category:Languages without family color codes]]}}<!--default--> |
||
| #default = {{{1}}} |
| #default = {{{1}}}{{template other||[[Category:Languages without family color codes]]}} |
||
}}<noinclude> |
}}<noinclude> |
||
{{documentation}} |
{{documentation}} |
Revision as of 13:54, 16 March 2012
white
This is the template sandbox page for Template:Infobox language/family-color (diff). |
This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 | Wikipedia:WikiProject Languages |
---|