Template:Ink chip: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | IssuePress (talk | contribs)  No edit summary | ||
| Line 1: | Line 1: | ||
| <noinclude>{{Color chip| | <noinclude> | ||
| <includeonly><span   | A template to display ink colors as chips.  | ||
| style="font-size:.75rem; display:inline-block;  | |||
| '''Example'''<br> | |||
| <pre> | |||
| <nowiki>{{Color chip|Violet}}</nowiki> | |||
| </pre> | |||
| '''Output'''<br> | |||
| {{Color chip|Violet}}   | |||
| </noinclude> | |||
| <includeonly><span class="color-chip" style=" | |||
| font-size:.75rem;   | |||
| line-height: 1rem; | |||
| display:inline-block;   | |||
| border-radius: .25rem;   | |||
| padding:.25rem .75rem;  | |||
| font-weight: 600; | |||
| letter-spacing: 1px; | |||
| vertical-align: middle; | |||
| color: white; | |||
| background:#{{#show: {{{1}}} |?Has display hex # }};">{{{1|}}}</span></includeonly> | |||