Difference between revisions of "Template:Colorsample2"
Jump to navigation
Jump to search
imported>Jacobolus |
imported>Jdaloner m (Updated template name.) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <span style="display:inline-block;width:1em;height: | + | <span style="display:inline-block;width:1em;height:.8em;border:1px solid {{{border|black}}};background:{{{1}}};position:relative;top:.15em;" title="{{{1}}}"> </span><noinclude> |
{{documentation|content= | {{documentation|content= | ||
| − | This is similar to [[Template:Colorsample]], but | + | This is similar to [[Template:Colorsample]], but shrinks the square slightly into a rectangle and lowers it so that it is closer to centered with the text, and doesn't unbalance lines upward. |
==Usage== | ==Usage== | ||
| Line 11: | Line 11: | ||
==See also== | ==See also== | ||
*[[Template:Colorsample]] | *[[Template:Colorsample]] | ||
| − | *[[Template:Swatch | + | *[[Template:Swatch inline]] |
*[[Template:Swatch]] | *[[Template:Swatch]] | ||
*[[List of colors]] | *[[List of colors]] | ||
}} | }} | ||
| + | |||
| + | [[Category:Color templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:43, 16 October 2018
50px Template documentation
This is similar to Template:Colorsample, but shrinks the square slightly into a rectangle and lowers it so that it is closer to centered with the text, and doesn't unbalance lines upward.
Usage
- {{Colorsample2|red}} Gives:
- {{Colorsample2|#00FF00}} Gives:
See also
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |