Template:Infobox ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(55 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
<noinclude>{{Infobox template|class=Ink|category=Inks}}</noinclude><!--
|title        = title
--><includeonly><!--
|headerstyle  = background: #ccf;
-->{| align="right" class="infobox"
|labelstyle  = background: #ddf;
|-
|datastyle    =  
! colspan="2" class="infobox-title" | {{{title|}}}
|header1 = Ink Information
{{#if:{{{japanese_name|}}}|<tr><th colspan="2" class="infobox-subheader">{{{japanese_name}}}</th></tr>|}}<!--
| label1 = Japanese name
-->{{#if:{{{rgb|}}}|<tr><th colspan="2"><div style="border:.5px solid black; height:.75rem; width:100%; background-color:rgba({{{rgb|255,255,255}}},1);"></div></th></tr>|}}<!--
|  data1 = {{{japanese_name}}}
-->{{#if:{{{hex|}}}{{{rgb|}}}{{{cmyk|}}}{{{cielab|}}}{{{pantone|}}}|<tr><th colspan="2" class="infobox-header">Color coordinates</th></tr>|}}<!--
| label2 = Brand
-->{{#if:{{{hex|}}}|<tr><th scope="row">Hex</th><td><code><nowiki>#</nowiki>{{uc:{{{hex|}}}}}</code></td></tr>|}}<!--
|  data2 = {{{brand}}}
-->{{#if:{{{rgb|}}}|<tr><th scope="row">RGB</th><td><code>({{#rreplace:{{{rgb}}}|,|, }})</code></td></tr>|}}<!--
| label3 = Series
-->{{#if:{{{cmyk|}}}|<tr><th scope="row">CMYK</th><td><code>({{#rreplace:{{{cmyk}}}|,|, }})</code></td></tr>|}}<!--
|  data3 = {{{series}}}
-->{{#if:{{{cielab|}}}|<tr><th scope="row">CIELab*</th><td><code>({{#rreplace:{{{cielab}}}|,|, }})</code></td></tr>|}}<!--
| label4 = Hex code
-->{{#if:{{{pantone|}}}|<tr><th scope="row">Pantone</th><td><code>{{{pantone}}}</code></td></tr>|}}
|  data4 = {{{display_hex}}}
|-
}}
!colspan="2" class="infobox-header"| Ink information
 
|-
<!-- {{Infobox -->
! scope="row" | Brand
<!-- | title = {{{title|Ink Information}}} -->
| {{Brand chip|{{{brand|}}}}}
<!-- | rows = -->
|-
<!--   | style="font-weight: bold;" | Label 1 -->
! scope="row" | Series
<!--   | Value 1 -->
| {{{series}}}<!--
<!--   |- -->
-->{{#if:{{{products|}}}|<tr><th colspan="2" class="infobox-header">Product number(s)</th></tr>{{{products|}}}|}}
<!--  | style="font-weight: bold;" | Label 2 -->
|}</includeonly>
<!-| Value 2 -->
<!-- |footer = {{{footer|}}} -->
<!-- }} -->

Latest revision as of 23:31, 16 December 2024

Warning: Infobox template
This is an infobox template for the Ink class—it is used as a display template for Template:Ink, with values from the associated Form:Ink, and should never be transcluded outside of that context.

Pages which use this infobox are listed at Category:Inks.