No edit summary Tag: 2017 source edit |
m (Fix error) Tag: 2017 source edit |
||
(2 intermediate revisions by the same user not shown) | |||
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:{{{1|#000}}};width:1em;height:1em;vertical-align:text-top;"><br></span> {{{2|{{{1|#000}}}}}}</span></includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"aliases": [ | "aliases": [ | ||
" | "Hex" | ||
], | ], | ||
"label": "Hex code", | "label": "Hex code", | ||
Line 15: | Line 15: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "2": { | ||
"aliases": [ | "aliases": [ | ||
" | "Text" | ||
], | ], | ||
"label": "Text", | "label": "Text", | ||
"description": "Text of the color instead of the hex code.", | "description": "Text of the color instead of the hex code.", | ||
"example": "Black", | "example": "Black", | ||
"default": "Black" | "default": "Black", | ||
"type": "string" | |||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
" | "2" | ||
], | ], | ||
"format": "inline" | "format": "inline" |
Latest revision as of 13:10, 4 May 2022
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hex code | 1 Hex | Hex code of the color
| String | required |
Text | 2 Text | Text of the color instead of the hex code.
| String | optional |