Difference between revisions of "Template:Color sample"
Jump to navigation
Jump to search
Template documentation
imported>RossPatterson (It's been almost five months, and no obvious decision.) |
imported>Dispenser (1em square box now) |
||
| Line 1: | Line 1: | ||
| − | <span style="display:inline-block;width: | + | <span style="display:inline-block;width:1em;height:1em;border:1.62px solid {{border|black}};background:{{{1}}};"> </span><noinclude> |
| + | {{documentation|content= | ||
==Usage== | ==Usage== | ||
| − | <nowiki>{{Colorsample| | + | *<nowiki>{{Colorsample|red}}</nowiki> '''Gives:''' {{Colorsample|red}} |
| − | <nowiki>{{Colorsample|#00FF00}}</nowiki> '''Gives:''' {{Colorsample|#00FF00}} | + | * <nowiki>{{Colorsample|#00FF00}}</nowiki> '''Gives:''' {{Colorsample|#00FF00}} |
| Line 12: | Line 13: | ||
*[[List of colors]] | *[[List of colors]] | ||
| + | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 19:51, 4 January 2009
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:{{{1}}};">
Usage
- {{Colorsample|red}} Gives: <span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:red;">
- {{Colorsample|#00FF00}} Gives: <span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:#00FF00;">
See also
| The above documentation is transcluded from Template:Color sample/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |