Template:Color: Difference between revisions

From FrathWiki
Jump to navigationJump to search
(Created page with "<includeonly><span style="display: inline-block; border:1px solid #7f7f7f; width: 16px; height: 16px; color: {{{1|transparent}}}"></span></includeonly><noinclude> This template ...")
 
mNo edit summary
Line 11: Line 11:
{{Color|rgb(20, 250, 180)}} — rgb(20, 50, 80)
{{Color|rgb(20, 250, 180)}} — rgb(20, 50, 80)


{{Color|transparent}} — transparent}}
{{Color|transparent}} — transparent


[[Category:Templates]]
[[Category:Templates]]


</noinclude>
</noinclude>

Revision as of 00:35, 1 May 2012


This template accepts one parameter: a color in a format which is understood by CSS. It displays a small box filled with this color. The parameter defaults to transparent.

Examples

— red

— #60f

— rgb(20, 50, 80)

— transparent