Template:Infobox ink: Difference between revisions

From stencil.wiki
(Undo revision 127 by IssuePress (talk))
No edit summary
 
(51 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
<noinclude>{{Infobox template|class=Ink|category=Inks}}</noinclude><!--
| title    = {{PAGENAME}}
--><includeonly><!--
| datastyle =  
-->{| align="right" class="infobox"
| header1  = Ink Information
|-
| label1    = Japanese name
! colspan="2" class="infobox-title" | {{{title|}}}
| data1    = {{{japanese_name}}}
{{#if:{{{japanese_name|}}}|<tr><th colspan="2" class="infobox-subheader">{{{japanese_name}}}</th></tr>|}}<!--
| label2    = Brand
-->{{#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>|}}<!--
| data2    = {{{brand}}}
-->{{#if:{{{hex|}}}{{{rgb|}}}{{{cmyk|}}}{{{cielab|}}}{{{pantone|}}}|<tr><th colspan="2" class="infobox-header">Color coordinates</th></tr>|}}<!--
| label3    = Series
-->{{#if:{{{hex|}}}|<tr><th scope="row">Hex</th><td><code><nowiki>#</nowiki>{{uc:{{{hex|}}}}}</code></td></tr>|}}<!--
| data3    = {{{series}}}
-->{{#if:{{{rgb|}}}|<tr><th scope="row">RGB</th><td><code>({{#rreplace:{{{rgb}}}|,|, }})</code></td></tr>|}}<!--
| label4    = Hex code
-->{{#if:{{{cmyk|}}}|<tr><th scope="row">CMYK</th><td><code>({{#rreplace:{{{cmyk}}}|,|, }})</code></td></tr>|}}<!--
| data4    = {{{display_hex}}}
-->{{#if:{{{cielab|}}}|<tr><th scope="row">CIELab*</th><td><code>({{#rreplace:{{{cielab}}}|,|, }})</code></td></tr>|}}<!--
}}
-->{{#if:{{{pantone|}}}|<tr><th scope="row">Pantone</th><td><code>{{{pantone}}}</code></td></tr>|}}
 
|-
<!-- {{Infobox -->
!colspan="2" class="infobox-header"| Ink information
<!-- | title = {{{title|Ink Information}}} -->
|-
<!-- | rows = -->
! scope="row" | Brand
<!--   | style="font-weight: bold;" | Label 1 -->
| {{Brand chip|{{{brand|}}}}}
<!--   | Value 1 -->
|-
<!--   |- -->
! scope="row" | Series
<!--  | style="font-weight: bold;" | Label 2 -->
| {{{series}}}<!--
<!-| Value 2 -->
-->{{#if:{{{products|}}}|<tr><th colspan="2" class="infobox-header">Product number(s)</th></tr>{{{products|}}}|}}
<!-- |footer = {{{footer|}}} -->
|}</includeonly>
<!-- }} -->

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.