Difference between revisions of "Template:Colorsample2"

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

Revision as of 09:42, 21 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