Template:Infobox ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 6: Line 6:
-->{{#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>|}}<!--
-->{{#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>|}}<!--
-->{{#if:{{{hex|}}}{{{rgb|}}}{{{cmyk|}}}{{{cielab|}}}{{{pantone|}}}|<tr><th colspan="2" class="infobox-header">Color coordinates</th></tr>|}}<!--
-->{{#if:{{{hex|}}}{{{rgb|}}}{{{cmyk|}}}{{{cielab|}}}{{{pantone|}}}|<tr><th colspan="2" class="infobox-header">Color coordinates</th></tr>|}}<!--
-->{{#if:{{{hex|}}}|<tr><th scope="row">Hex</th><td><code><nowiki>#</nowiki>{{uc:{{{hex|}}}}}</cod></td></tr>|}}<!--
-->{{#if:{{{hex|}}}|<tr><th scope="row">Hex</th><td><code><nowiki>#</nowiki>{{uc:{{{hex|}}}}}</code></td></tr>|}}<!--
-->{{#if:{{{rgb|}}}|<tr><th scope="row">RGB</th><td><code>({{#rreplace:{{{rgb}}}|,|, }})</code></td></tr>|}}<!--
-->{{#if:{{{rgb|}}}|<tr><th scope="row">RGB</th><td><code>({{#rreplace:{{{rgb}}}|,|, }})</code></td></tr>|}}<!--
-->{{#if:{{{cmyk|}}}|<tr><th scope="row">CMYK</th><td><code>({{#rreplace:{{{cmyk}}}|,|, }})</code></td></tr>|}}<!--
-->{{#if:{{{cmyk|}}}|<tr><th scope="row">CMYK</th><td><code>({{#rreplace:{{{cmyk}}}|,|, }})</code></td></tr>|}}<!--

Revision as of 13:41, 11 December 2024