Jump to content

Template:Colorblock: Difference between revisions

From Spacepedia
nonapplicable>Strangelv
Template to display a color square or rectangle; 1em square by default
 
nonapplicable>Strangelv
Bugfix
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|1em}}}; width:{{{width|1em}}}; display:inline; display:inline-block"> </DIV></onlyinclude><noinclude>


==Examples==
==Examples==

Revision as of 07:55, 1 August 2018

Examples

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


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