Template:Color: Difference between revisions
From Firrhna Project Wiki
Jump to navigationJump to search
Kawa-neechan (talk | contribs) mNo edit summary |
Kawa-neechan (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span title="{{{2|#FF00FF}}}" | <includeonly><span title="{{{2|#FF00FF}}}" style="display: inline-block; background: {{{2|#FF00FF}}}; border: 1px solid #FFFFFF; border-radius: 1em; width: 0.75em; height: 0.75em; vertical-align: middle"> </span> {{{1|[Color missing]}}}</includeonly><noinclude> | ||
Input: | Input: | ||
<pre> | <pre> |
Latest revision as of 15:16, 10 September 2023
Input:
{{Color | Red | #f00 }}
Result: Red
Shows a color with a little swatch next to it.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color name | 1 colorName | Written name of the color
| String | required |
CSS | 2 colorSwatch | The color as a CSS value
| String | required |