Difference between revisions of "Template:Colorsample2"

From blackwiki
Jump to navigation Jump to search
imported>Jacobolus
imported>Jacobolus
Line 1: Line 1:
<span style="display:inline-block;width:1em;height:1em;border:1px solid {{{border|black}}};background:{{{1}}};position:relative;top:.25em;">&emsp;</span><noinclude>
+
<span style="display:inline-block;width:1em;height:.8em;border:1px solid {{{border|black}}};background:{{{1}}};position:relative;top:.1em;">&emsp;</span><noinclude>
 
{{documentation|content=
 
{{documentation|content=
  

Revision as of 04:18, 12 February 2010

50px Template documentation

This is similar to Template:Colorsample, but lowers the square slightly 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