Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Color: Difference between revisions

Template page
Hans5958 (talk | contribs)
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>"
 
Hans5958 (talk | contribs)
m Fix error
 
(3 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:{{{1|#000}}};border-radius:50%;width:1em;height:1em;vertical-align:text-top;"><br></span>&nbsp;{{{2|{{{1|#000}}}}}}</span></includeonly>
<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>&nbsp;{{{2|{{{1|#000}}}}}}</span></includeonly>
<noinclude>
<templatedata>
{
"params": {
"1": {
"aliases": [
"Hex"
],
"label": "Hex code",
"description": "Hex code of the color",
"example": "#000",
"type": "string",
"default": "#000",
"required": true
},
"2": {
"aliases": [
"Text"
],
"label": "Text",
"description": "Text of the color instead of the hex code.",
"example": "Black",
"default": "Black",
"type": "string"
}
},
"paramOrder": [
"1",
"2"
],
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 14:10, 4 May 2022


No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hex code1 Hex

Hex code of the color

Default
#000
Example
#000
Stringrequired
Text2 Text

Text of the color instead of the hex code.

Default
Black
Example
Black
Stringoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.