(Created page with "<includeonly><span style="display:inline-block;white-space:nowrap;"><span style="display:inline-block;background-color:{{{1|#000}}};border-radius:50%;width:1em;height:1em;vertical-align:text-top;"><br></span> {{{2|{{{1|#000}}}}}}</span></includeonly>") Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<includeonly><span style="display:inline-block;white-space:nowrap;"><span style="display:inline-block;background-color:{{ | <includeonly><span style="display:inline-block;white-space:nowrap;"><span style="display:inline-block;background-color:{{Hex|#000}}};width:1em;height:1em;vertical-align:text-top;"><br></span> {{{Text|{{{Hex|#000}}}}}}</span></includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Hex": { | |||
"aliases": [ | |||
"1" | |||
], | |||
"label": "Hex code", | |||
"description": "Hex code of the color", | |||
"example": "#000", | |||
"type": "string", | |||
"default": "#000", | |||
"required": true | |||
}, | |||
"Text": { | |||
"aliases": [ | |||
"2" | |||
], | |||
"label": "Text", | |||
"description": "Text of the color instead of the hex code.", | |||
"example": "Black", | |||
"default": "Black" | |||
} | |||
}, | |||
"description": "This template shows the color of the ", | |||
"paramOrder": [ | |||
"Hex", | |||
"Text" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 13:07, 4 May 2022
This template shows the color of the
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hex code | Hex 1 | Hex code of the color
| String | required |
Text | Text 2 | Text of the color instead of the hex code.
| Unknown | optional |