Templat:Infobox color: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Farras (bicara | kontrib)
k Farras memindahkan halaman Templat:Infobox Color ke Templat:Infobox color menimpa pengalihan lama
Tidak ada ringkasan suntingan
 
(3 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 1:
{{infobox
| abovestyle = background-color:#{{{bgcolor|{{{hex}}}}}}; color:{{{textcolor|inherit}}}
| above = {{{title|<includeonly>{{PAGENAME}}</includeonly>}}}
| subheader = {{#if:{{{bgcolor|{{{hex|}}}}}}|&nbsp;}}
| abovestylesubheaderstyle = line-height:12px; background-color:#{{{bgcolor|{{{hex}}}}}}; colorborder:{{{textcolor|inherit}}} 0.1px solid #000000
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{photo-size|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
| caption = {{{caption|}}}
| header2 = {{#if:{{{frequency|}}}|[[Warna spektrum|Koordinat spektrum]]}}
| label3 = [[Panjang gelombang]]
| data3 = {{#if:{{{wavelength|}}}|{{{wavelength}}} [[NanometreNanometer|nm]]}}
| label4 = [[Frekuensi]]
| data4 = {{#if:{{{frequency|}}}|{{{frequency}}} [[TerahertzHertz|THz]]}}
| header5 = {{#if:{{{symbolism|}}}|Common connotations}}
| data6 = {{{symbolism||yy}}}
| header8 = <includeonly><span style="position: relative; float: right; font-size: 70%">[[FileBerkas:Gtk-dialog-info.svg|16px|About these coordinates|link=Wikipedia:WikiProject Color/Normalized Color Coordinates]]</span> &nbsp; &nbsp; Koordinat warna</includeonly>
| label9 = [[Warna web#Triplet hex|Triplet hex]]
| data9 = {{#if:{{{hex|}}}|&#35;{{{hex}}}}}
| label10 = {{#if:{{{sRGB}}}|[[ruang warna sRGB|sRGB]]|{{#if:{{{rgbspace}}}|{{{rgbspace}}}|[[model warna RGB|RGB]]}}}}<sup>'''B'''</sup> &nbsp;&nbsp; ([[red|r]], [[green|g]], [[blue|b]])
| data10 = {{#if:{{{r|}}}|({{{r}}}, {{{g}}}, {{{b}}})}}
| label11 = {{nowrap|[[modelCyan Magenta warnaYellow CMYKKey|CMYK]]<sup>'''H'''</sup> &nbsp; ([[sian|c]], [[magenta|m]], [[kuning|y]], [[hitam|k]])}}
| data11 = {{#if:{{{c|}}}|{{nowrap|({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}})}}}}
| label12 = {{nowrap|[[ruangHSL warnadan HSV|HSV]] &nbsp; &nbsp; &nbsp; ([[hue|h]], [[Saturasi (teori warna)|s]], [[Kecerahan|v]])}}
| data12 = {{#if:{{{h|}}}|{{nowrap|({{{h}}}°, {{{s}}}%, {{{v}}}%)}}}}
| label13 = [[ruangHSL warnadan HSLHSV|HSL]] &nbsp; ([[hue|hslH]], [[Saturation (color theory)Kewarna-warnian|hslS]], [[Kecerahan (warna)Kebercahayaan|hslL]])
| data13 = {{#if:{{{hslL|}}}|({{{hslH}}}°, {{{hslS}}}%, {{{hslL}}}%)}}
| label14 = Sumber
| data14 = <includeonly>{{#if:{{{source|}}}|{{{source}}}|<sup><nowiki>[</nowiki>Tidak ada sumber<nowiki>]</nowiki></sup>}}</includeonly>
| label15 = [[Color space]]
| data15 = {{{colorspace|}}}
| data16 = {{#if:{{{r|}}}|'''B''': Dinormalkan ke <nowiki>[</nowiki>0–255] (bita)<br>}}{{#if:{{{c|}}}|'''H''': Dinormalkan ke <nowiki>[</nowiki>0–100] (ratusan)}}
| data17 = {{{caveat|}}}
| header18 = {{#if:{{{variations|}}}|{{{variationstitle|Variasi {{{title}}}|}}}}}
| label19 = {{{variation1|}}}
| data19 = {{#if:{{{variation1|}}}|<span style="background-color:{{{variation1color|{{{variation1}}}}}}; border:1px solid {{{variation1color|{{{variation1}}}}}};display:block">&nbsp;</span>}}
| label20 = {{{variation2|}}}
| data20 = {{#if:{{{variation2|}}}|<span style="background-color:{{{variation2color|{{{variation2}}}}}}; border:1px solid {{{variation2color|{{{variation2}}}}}};display:block">&nbsp;</span>}}
| label21 = {{{variation3|}}}
| data21 = {{#if:{{{variation3|}}}|<span style="background-color:{{{variation3color|{{{variation3}}}}}}; border:1px solid {{{variation3color|{{{variation3}}}}}};display:block">&nbsp;</span>}}
| label22 = {{{variation4|}}}
| data22 = {{#if:{{{variation4|}}}|<span style="background-color:{{{variation4color|{{{variation4}}}}}}; border:1px solid {{{variation4color|{{{variation4}}}}}};display:block">&nbsp;</span>}}
| label23 = {{{variation5|}}}
| data23 = {{#if:{{{variation5|}}}|<span style="background-color:{{{variation5color|{{{variation5}}}}}}; border:1px solid {{{variation5color|{{{variation5}}}}}};display:block">&nbsp;</span>}}
| label24 = {{{variation6|}}}
| data24 = {{#if:{{{variation6|}}}|<span style="background-color:{{{variation6color|{{{variation6}}}}}}; border:1px solid {{{variation6color|{{{variation6}}}}}};display:block">&nbsp;</span>}}
| label25 = {{{variation7|}}}
| data25 = {{#if:{{{variation7|}}}|<span style="background-color:{{{variation7color|{{{variation7}}}}}}; border:1px solid {{{variation7color|{{{variation7}}}}}};display:block">&nbsp;</span>}}
| label26 = {{{variation8|}}}
| data26 = {{#if:{{{variation8|}}}|<span style="background-color:{{{variation8color|{{{variation8}}}}}}; border:1px solid {{{variation8color|{{{variation8}}}}}};display:block">&nbsp;</span>}}
}}<noinclude>{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>