Template:Ink chip: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 15: | Line 15: | ||
| </pre> | </pre> | ||
| {{Color chip|Yellow|link=Violet}}   | {{Color chip|Yellow|link=Violet}}   | ||
| === TEST === | |||
| {{Color chip|Violet}}  | |||
| {{Color chip|Yellow}}  | |||
| {{Color chip|Black}}  | |||
| {{Color chip|Cornflower}}  | |||
| {{Color chip|Burgundy}}  | |||
| </noinclude> | </noinclude> | ||
| Line 27: | Line 36: | ||
| }} | }} | ||
| |/([0-9]{1,3})%$/|$1}} | |/([0-9]{1,3})%$/|$1}} | ||
| <50|black | <50|white|black}}" style="background:rgba({{#show: {{{1}}} |? Has rgb#}},1);border-color:rgba({{#show: {{{1}}} |? Has rgb#}},1);">[[{{{link|{{{1|}}}}}}|{{{1|}}}]]</span></includeonly> | ||
Revision as of 19:55, 3 December 2024
A template to display ink colors as chips.
Usage
{{Color chip|Violet}}
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}}
TEST
Template:Color chip Template:Color chip Template:Color chip Template:Color chip Template:Color chip