Template:Ink chip: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{DISPLAYTITLE:Template:ink chip}} | ||
This template displays links to ink color pages as visually styled [https://m3.material.io/components/chips/overview chips]. | This template displays links to ink color pages as visually styled [https://m3.material.io/components/chips/overview chips]. | ||
Revision as of 14:07, 14 October 2025
This template displays links to ink color pages as visually styled chips.
Usage
To display an ink chip, use the following syntax:
{{Ink chip|Violet}}
Ink chips can be included inline within a paragraph using {{Ink chip|Yellow}}
to produce a Yellow chip. When used this way, they appear smaller to maintain the article's visual flow.
Advanced attributes
To display a custom label for the chip, use the optional label
attribute:
{{Ink chip|Fluorescent Orange|label=Fluo. Orange}}
Error Handling
If the specified page does not exist, the chip will display without a color background and include a red link:
{{Ink chip|Huckleberry}}