Template:Color test/doc

< Template:Color test
Revision as of 15:39, 24 April 2020 by wiki>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template is intended to be used for showing a test of a color. For example, {{color test|#808000}} becomes          and {{color test|orange}} becomes         . This template differs from similar templates in that it does not take any parameters for text. It is intended only for (usually on talk pages) demonstrating a color. It could also be used on articles about colors.

This template can takes one additional parameters:

  • size controls the width of the patch of color, for example {{color test|#850000|size=3}} becomes     and {{color test|#00FF00|size=14}} becomes               . The size number is the number of spaces in the template (using the {{spaces}} template). Each unit is this size:  .

See also