Difference between revisions of "Template:Color topics"

From blackwiki
Jump to navigation Jump to search
imported>Tbhotch
imported>Brandmeister
m
Line 83: Line 83:
 
**[[Primary color|Primary colo{{#if:{{{1|}}}|u}}r]]
 
**[[Primary color|Primary colo{{#if:{{{1|}}}|u}}r]]
 
**[[Secondary color|Secondary colo{{#if:{{{1|}}}|u}}r]]
 
**[[Secondary color|Secondary colo{{#if:{{{1|}}}|u}}r]]
**[[Tertiary color|Tertiary colo{{#if:{{{1|}}}|u}}r (Intermediate)]]
+
**[[Tertiary color|Tertiary colo{{#if:{{{1|}}}|u}}r (intermediate)]]
 
**[[Quaternary colors|Quaternary colo{{#if:{{{1|}}}|u}}r]]
 
**[[Quaternary colors|Quaternary colo{{#if:{{{1|}}}|u}}r]]
 
**[[Quinary colour|Quinary colo{{#if:{{{1|}}}|u}}r]]
 
**[[Quinary colour|Quinary colo{{#if:{{{1|}}}|u}}r]]
**[[Warm color|Aggressive colo{{#if:{{{1|}}}|u}}r (Warm)]]
+
**[[Warm color|Aggressive colo{{#if:{{{1|}}}|u}}r (warm)]]
**[[Cool colors|Receding colo{{#if:{{{1|}}}|u}}r (Cool)]]
+
**[[Cool colors|Receding colo{{#if:{{{1|}}}|u}}r (cool)]]
 
*[[Pastel (color)|Pastel colo{{#if:{{{1|}}}|u}}rs]]
 
*[[Pastel (color)|Pastel colo{{#if:{{{1|}}}|u}}rs]]
 
*[[Color gradient|Colo{{#if:{{{1|}}}|u}}r gradient]]
 
*[[Color gradient|Colo{{#if:{{{1|}}}|u}}r gradient]]
Line 100: Line 100:
 
**[[Polychrome|Polychromatic colo{{#if:{{{1|}}}|u}}rs]]
 
**[[Polychrome|Polychromatic colo{{#if:{{{1|}}}|u}}rs]]
 
*[[Impossible colors|Impossible colo{{#if:{{{1|}}}|u}}rs]]
 
*[[Impossible colors|Impossible colo{{#if:{{{1|}}}|u}}rs]]
*[[Light-on-dark color scheme|Light-on-Dark]]
+
*[[Light-on-dark color scheme|Light-on-dark]]
 
*[[Tincture (heraldry)|Tinctures in heraldry]]
 
*[[Tincture (heraldry)|Tinctures in heraldry]]
  
Line 147: Line 147:
 
*[[Hue]]
 
*[[Hue]]
 
**[[Dichromatism]]
 
**[[Dichromatism]]
*[[Colorfulness|Colo{{#if:{{{1|}}}|u}}rfulness (Chroma and Saturation)]]
+
*[[Colorfulness|Colo{{#if:{{{1|}}}|u}}rfulness (chroma and saturation)]]
 
*[[Tints and shades]]
 
*[[Tints and shades]]
*[[Lightness|Lightness (Tone and Value)]]
+
*[[Lightness|Lightness (tone and value)]]
 
*[[Grayscale]]
 
*[[Grayscale]]
 
  }}
 
  }}

Revision as of 14:05, 4 October 2014

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.