Misplaced Pages

Template:Infobox color and Template:Infobox color/sandbox: Difference between pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Difference between pages)
Page 1
Page 2
Content deleted Content addedVisualWikitext
Latest revision as of 22:42, 4 August 2024 view sourceLaundryPizza03 (talk | contribs)Extended confirmed users51,846 edits Ensure correct color display in dark mode  Latest revision as of 19:57, 16 January 2022 edit Ftrebien (talk | contribs)Extended confirmed users9,742 editsm Updated from main 
Line 1: Line 1:
{{infobox {{infobox
| above = {{{title|<includeonly>{{PAGENAME}}</includeonly>}}} | above = {{{title|<includeonly>{{PAGENAME}}</includeonly>}}}
| subbox = {{{subbox|}}}
| subheader = {{#if:{{{hex|}}}|&nbsp;}} | subheader = {{#if:{{{hex|}}}|&nbsp;}}
| subheaderstyle = line-height:12px; background-color:#{{{hex}}}!important; border: 0.1px solid #000000 | subheaderstyle = line-height:12px; background-color:#{{{hex}}}; border: 0.1px solid #000000
| subheaderclass = mw-no-invert
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{photo-size|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{photo-size|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
| caption = {{{caption|}}} | caption = {{{caption|}}}
Line 20: Line 18:
| data10 = {{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToRgbTriplet|{{{hex}}}}})}}}} | data10 = {{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToRgbTriplet|{{{hex}}}}})}}}}
| label11 = {{nowrap|]<sup>'''H'''</sup> (], ], ], ])}} | label11 = {{nowrap|]<sup>'''H'''</sup> (], ], ], ])}}
| data11 = {{#if:{{{c|}}}|{{#if:{{{cmyk|}}}|{{nowrap|({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}}){{{cmykref|]}}}}}}}|]}}|{{#if:{{{cmyk|}}}|{{error|CMYK requested, but no value given]}}}} | data11 = {{#if:{{{c|}}}|{{#if:{{{cmyk|}}}|{{nowrap|({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}}){{{cmykref|}}}}}|]}}|{{#if:{{{cmyk|}}}|{{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToCmyk|pctsign=0|{{{hex}}}}})}}}}}}}}
| label12 = {{nowrap|] (], ], ])}} | label12 = {{nowrap|] (], ], ])}}
| data12 = {{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToHsv|{{{hex}}}}})}}}} | data12 = {{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToHsv|{{{hex}}}}})}}}}
Line 33: Line 31:
| header20 = {{#if:{{{variations|}}}|{{{variationstitle|Some shades of {{{title}}}|}}}}} | header20 = {{#if:{{{variations|}}}|{{{variationstitle|Some shades of {{{title}}}|}}}}}
| label21 = {{{variation1|}}} | label21 = {{{variation1|}}}
| data21 = {{#if:{{{variation1|}}}|<span style="background-color:{{{variation1color|{{{variation1}}}}}}; border:1px solid {{{variation1color|{{{variation1}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data21 = {{#if:{{{variation1|}}}|<span style="background-color:{{{variation1color|{{{variation1}}}}}}; border:1px solid {{{variation1color|{{{variation1}}}}}};display:block">&nbsp;</span>}}
| label22 = {{{variation2|}}} | label22 = {{{variation2|}}}
| data22 = {{#if:{{{variation2|}}}|<span style="background-color:{{{variation2color|{{{variation2}}}}}}; border:1px solid {{{variation2color|{{{variation2}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data22 = {{#if:{{{variation2|}}}|<span style="background-color:{{{variation2color|{{{variation2}}}}}}; border:1px solid {{{variation2color|{{{variation2}}}}}};display:block">&nbsp;</span>}}
| label23 = {{{variation3|}}} | label23 = {{{variation3|}}}
| data23 = {{#if:{{{variation3|}}}|<span style="background-color:{{{variation3color|{{{variation3}}}}}}; border:1px solid {{{variation3color|{{{variation3}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data23 = {{#if:{{{variation3|}}}|<span style="background-color:{{{variation3color|{{{variation3}}}}}}; border:1px solid {{{variation3color|{{{variation3}}}}}};display:block">&nbsp;</span>}}
| label24 = {{{variation4|}}} | label24 = {{{variation4|}}}
| data24 = {{#if:{{{variation4|}}}|<span style="background-color:{{{variation4color|{{{variation4}}}}}}; border:1px solid {{{variation4color|{{{variation4}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data24 = {{#if:{{{variation4|}}}|<span style="background-color:{{{variation4color|{{{variation4}}}}}}; border:1px solid {{{variation4color|{{{variation4}}}}}};display:block">&nbsp;</span>}}
| label25 = {{{variation5|}}} | label25 = {{{variation5|}}}
| data25 = {{#if:{{{variation5|}}}|<span style="background-color:{{{variation5color|{{{variation5}}}}}}; border:1px solid {{{variation5color|{{{variation5}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data25 = {{#if:{{{variation5|}}}|<span style="background-color:{{{variation5color|{{{variation5}}}}}}; border:1px solid {{{variation5color|{{{variation5}}}}}};display:block">&nbsp;</span>}}
| label26 = {{{variation6|}}} | label26 = {{{variation6|}}}
| data26 = {{#if:{{{variation6|}}}|<span style="background-color:{{{variation6color|{{{variation6}}}}}}; border:1px solid {{{variation6color|{{{variation6}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data26 = {{#if:{{{variation6|}}}|<span style="background-color:{{{variation6color|{{{variation6}}}}}}; border:1px solid {{{variation6color|{{{variation6}}}}}};display:block">&nbsp;</span>}}
| label27 = {{{variation7|}}} | label27 = {{{variation7|}}}
| data27 = {{#if:{{{variation7|}}}|<span style="background-color:{{{variation7color|{{{variation7}}}}}}; border:1px solid {{{variation7color|{{{variation7}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data27 = {{#if:{{{variation7|}}}|<span style="background-color:{{{variation7color|{{{variation7}}}}}}; border:1px solid {{{variation7color|{{{variation7}}}}}};display:block">&nbsp;</span>}}
| label28 = {{{variation8|}}} | label28 = {{{variation8|}}}
| data28 = {{#if:{{{variation8|}}}|<span style="background-color:{{{variation8color|{{{variation8}}}}}}; border:1px solid {{{variation8color|{{{variation8}}}}}};display:block" class="mw-no-invert">&nbsp;</span>}} | data28 = {{#if:{{{variation8|}}}|<span style="background-color:{{{variation8color|{{{variation8}}}}}}; border:1px solid {{{variation8color|{{{variation8}}}}}};display:block">&nbsp;</span>}}
}}{{#if:{{{cmyk|}}}{{{c|}}}{{{m|}}}{{{y|}}}{{{k|}}}|{{Main other|]}}}}<noinclude>{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --></noinclude> }}{{#if:{{{cmyk|}}}{{{c|}}}{{{m|}}}{{{y|}}}{{{k|}}}|{{Main other|]}}}}<noinclude>{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --></noinclude>