Difference between revisions of "Template:Color sample"

From blackwiki
Jump to navigation Jump to search
imported>Fanx
(added example using nested color template)
imported>Crissov
(add optional description parameter in title attribute)
Line 1: Line 1:
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid {{{border|black}}};background:{{{1}}};">&emsp;</span><noinclude>
+
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid {{{border|black}}};background:{{{1}}};" title="{{{description|{{{1}}}}}}">&emsp;</span><noinclude>
 
{{documentation|content=
 
{{documentation|content=
  

Revision as of 12:11, 2 November 2011

Template documentation

Usage

  • {{Color sample|red}} Gives:
  • {{Color sample|#00FF00}} Gives:
  • {{Color sample|{{Independent (politician)/meta/color}}}} Gives:


See also