Template:Color: Difference between revisions
From FrathWiki
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="display: inline-block; border:1px solid #7f7f7f; width: 16px; height: 16px; color: {{{1|transparent}}}"></span></includeonly><noinclude> | <includeonly><span style="display: inline-block; border:1px solid #7f7f7f; width: 16px; height: 16px; background-color: {{{1|transparent}}}"></span></includeonly><noinclude> | ||
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. | 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. |
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