Jump to content

Template:color box: Difference between revisions

no edit summary
(fix unnecessary extra spacing)
No edit summary
 
Line 1:
<span style="color: {{{1}}}; font-size: 125%; line-height: 80%">⬛︎</span><noinclude>
== Documentation ==
This template types a big square character of the needed color. The color can be any CSS-valid color, here are some examples:
 
{| class="wikitable"
! Template usage !! Result
|-
| <nowiki>{{color box|darkviolet}}</nowiki> || {{color box|darkviolet}}
|-
| <nowiki>{{color box|#FF0000}}</nowiki> || {{color box|#FF0000}}
|-
| <nowiki>{{color box|rgb(210, 105, 30)}}</nowiki> || {{color box|rgb(210, 105, 30)}}
|}
<templatedata>
{
Line 29 ⟶ 41:
"paramOrder": [
"1"
],
"description": "colored square"
}
</templatedata>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.