Difference between revisions of "Template:Color topics"
imported>Dicklyon m (Reverted 2 edits by 99.150.174.9 (talk): No need for odd redlink. (TW)) |
imported>Götz m (make group column width narrower) |
||
| Line 30: | Line 30: | ||
*[[Pastel (color)|Pastel {{#if:{{{1|}}}|colour|color}}s]] | *[[Pastel (color)|Pastel {{#if:{{{1|}}}|colour|color}}s]] | ||
| − | | group3 = [[Color term#Basic color terms|Basic {{#if:{{{1|}}}|colour|color}} terms]] in English ([[Basic Color Terms: Their Universality and Evolution|Berlin and Kay]]) | + | | group3 = [[Color term#Basic color terms|Basic {{#if:{{{1|}}}|colour|color}} terms]]<br/> in English<br/> ([[Basic Color Terms: Their Universality and Evolution|Berlin and Kay]]) |
| list3 = | | list3 = | ||
*[[Black]] | *[[Black]] | ||
| Line 44: | Line 44: | ||
*[[Yellow]] | *[[Yellow]] | ||
| − | | group4 = Variations of {{#if:{{{1|}}}|colours|colors}} | + | | group4 = Variations<br/> of {{#if:{{{1|}}}|colours|colors}} |
| list4 = | | list4 = | ||
* [[Shades of red|Red]] | * [[Shades of red|Red]] | ||
Revision as of 20:35, 5 June 2013
Usage
If the template is used with no parameters it defaults to the American spelling of color
If one parameter is passed it will default to the Commonwealth spelling of colour
{{Color_topics|colour}}
More than one parameter will be ignored. The value passed as the first parameter does not matter (for example it could be "x", "colour" or even "color") so long as it is set to something, then Commonwealth spelling will be used. However to make it self documenting it is recommended that "colour" be used as the parameter value.
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Color topics|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Color topics|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Color topics|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
| The above documentation is transcluded from Template:Color topics/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |