Difference between revisions of "Template:Color topics"

From blackwiki
Jump to navigation Jump to search
imported>Sagittarian Milky Way
(This should probably be here for historical reasons even though indigo isn't a major color in real life (also Newton might've been calling lighter blues blue and the darker ones indigo, maybe he was colorblind))
Line 58: Line 58:
 
*[[Chroma key]]
 
*[[Chroma key]]
 
*[[Color balance|Colo{{#if:{{{1|}}}|u}}r balance]]
 
*[[Color balance|Colo{{#if:{{{1|}}}|u}}r balance]]
−
*[[Colour cast|Colo{{#if:{{{1|}}}|u}}r cast]]
+
*[[Color cast|Colo{{#if:{{{1|}}}|u}}r cast]]
 
*[[Color temperature|Colo{{#if:{{{1|}}}|u}}r temperature]]
 
*[[Color temperature|Colo{{#if:{{{1|}}}|u}}r temperature]]
  
Line 67: Line 67:
 
*[[Lüscher color test]]
 
*[[Lüscher color test]]
 
*[[Kruithof curve]]
 
*[[Kruithof curve]]
−
*[[Political colour]]
+
*[[Political color]]
−
*[[National colours]]
+
*[[National colors]]
 
*[[Chromophobia]]
 
*[[Chromophobia]]
 
*[[Chromotherapy]]
 
*[[Chromotherapy]]
Line 117: Line 117:
 
| list3 =
 
| list3 =
 
  {{Navbox subgroup
 
  {{Navbox subgroup
−
| group7 = [[Basic colour term|Basic terms]]
+
| group7 = [[Basic color term|Basic terms]]
 
| list7 =
 
| list7 =
 
*[[Red]]
 
*[[Red]]
Line 123: Line 123:
 
*[[Yellow]]
 
*[[Yellow]]
 
*[[Blue]]
 
*[[Blue]]
−
*[[Orange (colour)|Orange]]
+
*[[Orange (color)|Orange]]
 
*[[Purple]]
 
*[[Purple]]
 
*[[Pink]]
 
*[[Pink]]

Revision as of 22:40, 8 January 2016

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

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}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

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.