219
edits
No edit summary |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1:
<span style="color: {{{
== 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>
{
"params": {
"
"aliases": [
"
],
"label": "color",
"description": "the desired color of the box.",
"example": "dodgerblue",
"type": "string",
"required": true,
"suggested": true,
"suggestedvalues": [
"red",
"orangered",
"gold",
"limegreen",
"aqua",
"dodgerblue",
"blue",
"blueviolet",
"fuchsia"
]
}
},
"format": "inline",
"paramOrder": [
"1"
],
"description": "colored square"
}
</templatedata>
|