Template:Ink chip: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 29: Line 29:
| clear medium = black
| clear medium = black
| #default = {{{text|white}}}
| #default = {{{text|white}}}
}}" style="background:#{{#show: {{{1}}} |?Has display hex # }};">[[{{{link|{{{1|}}}}}}|{{{1|}}}]]</span></includeonly>
}}" style="background:#{{#show: {{{1}}} |? Has hex #}};">[[{{{link|{{{1|}}}}}}|{{{1|}}}]]</span></includeonly>

Revision as of 17:58, 3 December 2024

A template to display ink colors as chips.

Usage

{{Color chip|Violet}}

Template:Color chip

Advanced attributes

Sometimes you will need the chip to point to a link other than the title, you can use that buy adding the link attribute:

{{Color chip|Yellow|link=Violet}}

Template:Color chip