Difference between revisions of "Template:Color test/doc"
Jump to navigation
Jump to search
imported>Liam987 |
imported>Liam987 |
||
| Line 6: | Line 6: | ||
This template can takes one additional parameters: | This template can takes one additional parameters: | ||
| − | * '''size''' controls the width of the patch of color, for example {{tlc|color test|# | + | * '''size''' controls the width of the patch of color, for example {{tlc|color test|#850000|size{{=}}3}} becomes {{color test|#850000|size=3}} and {{tlc|color test|#00FF00|size{{=}}14}} becomes {{color test|#00FF00|size=14}}. The size number is the number of spaces in the template (using the {{tl|spaces}} template). Each unit is this size: {{color test|purple|size=1}}. |
| − | |||
== See also == | == See also == | ||
Revision as of 18:00, 29 March 2012
| This is a documentation subpage for Template:Color test. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{color}}
- {{hilite}}
- {{background color}}
- {{color box}}