Template:Ink chip: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 10: Line 10:


===Advanced attributes===
===Advanced attributes===
Sometimes you will need the chip label to be different from the full ink name, you can use that buy adding the {{code|label|inline=y}} attribute:
Sometimes you will need the chip label to be different from the full ink name, you can use that by adding the {{code|label|inline=y}} attribute:
<pre>
<pre>
{{Color chip|Fluorescent Orange|label=Fluo. Orange}}
{{Color chip|Fluorescent Orange|label=Fluo. Orange}}

Revision as of 16:39, 10 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 label to be different from the full ink name, you can use that by adding the Template:Code attribute:

{{Color chip|Fluorescent Orange|label=Fluo. Orange}}

Template:Color chip

Missing pages

If a chip is requested for a page that does not exist, it will be shown as a chip but with no color background and a red link.

{{Color chip|Huckleberry}}

Template:Color chip