Template:Ink chip: Difference between revisions
IssuePress (talk | contribs) No edit summary |
IssuePress (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
{{Color chip|Yellow|text=black}} | {{Color chip|Yellow|text=black}} | ||
</noinclude> | </noinclude> | ||
<includeonly><span class="color-chip" style=" | <includeonly><span class="chip color-chip" style=" | ||
color: {{{text|white}}}; | color: {{{text|white}}}; | ||
background:#{{#show: {{{1}}} |?Has display hex # }};">{{{1|}}}</span></includeonly> | background:#{{#show: {{{1}}} |?Has display hex # }};">[[{{{1|}}}]]</span></includeonly> |
Revision as of 01:51, 3 December 2024
A template to display ink colors as chips.
Usage
{{Color chip|Violet}}
Advanced attributes
Some chips, such as Yellow, will require Black text. You can add the additional attribute `text=black` to change the overlaying text color to Black.
{{Color chip|Yellow|text=black}}