Template:Ink chip: Difference between revisions

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


<pre>
<pre>
{{Color chip|Violet}}
{{Color chip|Violet}}{{Color chip|Yellow}}
</pre>
</pre>
{{Color chip|Violet}}  
{{Color chip|Violet}}{{Color chip|Yellow}}


=== Advanced attributes ===
=== 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:
Sometimes you will need the chip to point to a link other than the title, you can use that buy adding the ''link'' attribute:
<pre>
<pre>
{{Color chip|Yellow|link=Violet}}
{{Color chip|Black|link=Black (Riso)}}
</pre>
</pre>
{{Color chip|Yellow|link=Violet}}
{{Color chip|Black|link=Black (Riso)}}


=== Advanced attributes ===
=== Advanced attributes ===

Revision as of 16:24, 10 December 2024

A template to display ink colors as chips.

Usage

{{Color chip|Violet}}{{Color chip|Yellow}}

Template:Color chipTemplate: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|Black|link=Black (Riso)}}

Template:Color chip

Advanced attributes

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