Difference between revisions of "Template:Color test/doc"

From blackwiki
Jump to navigation Jump to search
imported>Liam987
(Created page with '{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == This template is intended to be used for showing a test ...')
 
imported>Liam987
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
This template is intended to be used for showing a test of a color. For example, {{tlc|color test|#808000}} becomes {{color test|#808000}} and {{tlc|color test|orange}} becomes {{color test|orange}}.  
+
This template is intended to be used for showing a test of a color. For example, {{tlc|color test|#808000}} becomes {{color test|#808000}} and {{tlc|color test|orange}} becomes {{color test|orange}}. 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 {{tlc|color test|#abb|3}} becomes {{color test|#baa|3}}.
 +
*
  
 
== See also ==
 
== See also ==

Revision as of 17:49, 29 March 2012

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|#abb|3}} becomes         .

See also