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:.8em;border:1px solid {{{border|black}}};background:{{{1}}};position:relative;top:.1em;">&emsp;</span><noinclude>
+
<span style="display:inline-block;width:1em;height:.8em;border:1px solid {{{border|black}}};background:{{{1}}};position:relative;top:.15em;">&emsp;</span><noinclude>
 
{{documentation|content=
 
{{documentation|content=
  
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.
+
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==

Revision as of 04:20, 12 February 2010

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