Template:Legend: Difference between revisions
Wiki Port 2 (talk | contribs) (Created page with "<includeonly><!-- --><templatestyles src="Legend/styles.css" /><!-- --><div class="legend"><!-- --><span class="legend-color" style="<!-- -->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}}<!-- -->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!-- -->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}}<!-- -->{{#if:{{{size|}}}|font-size:{{{size}}};}}"><!-- -->{{#if:{{{text|}}}|<span class="...") |
Wiki Port 2 (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| | |||
| | |||
{| class="wikitable" style="max-width:20px;max-height:20px;min-width:20px;min-height:20px;cell-padding:0px;background-color:{{{color|}}}" | |||
|style="font-size: 0%|. | |||
-- | |} | ||
|style="font-size: 75%; font-weight: bold"|{{{description|}}} | |||
|} | |||
- | |||
<noinclude> | |||
{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"color": { | |||
"description": "Color to be displayed" | |||
}, | |||
"description": { | |||
"description": "Description of color" | |||
} | |||
}, | |||
"description": "Display a color and a description of the color", | |||
"paramOrder": [ | |||
"color", | |||
"description" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Latest revision as of 11:42, 24 December 2024
|
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]
Display a color and a description of the color
Parameter | Description | Type | Status | |
---|---|---|---|---|
color | color | Color to be displayed | Unknown | optional |
description | description | Description of color | Unknown | optional |