Difference between revisions of "Template:Colorblock"

From Spacepedia
Jump to navigation Jump to search
nonapplicable>Strangelv
(Template to display a color square or rectangle; 1em square by default)
 
m (4 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><DIV style="background:{{color|#FF7FBF}}; height:{{{height|1em}}}; width:{{{width|1em}}}; display:inline; display:inline-block"> </DIV></onlyinclude><noinclude>
+
<onlyinclude><DIV style="background:{{{color|#FF7FBF}}}; height:{{{height|2em}}}; width:{{{width|2em}}}; display:inline; display:inline-block"> </DIV></onlyinclude><noinclude>
  
 
==Examples==
 
==Examples==

Latest revision as of 15:03, 8 April 2019

Examples

{{Colorblock | color={{288C}} }}


{{Colorblock | color={{640C}} | height=1.5em | width=3em}}