Templat:Infobox color: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Addbot (bicara | kontrib)
k Bot: Migrasi 36 pranala interwiki, karena telah disediakan oleh Wikidata pada item d:q7975414
Farras (bicara | kontrib)
+
Baris 1:
{{infobox
<includeonly>
!| abovestyle colspan="3" style="text-align: center; background-color:#{{{bgcolor|{{{hex}}}}}}; color:{{{textcolor|inherit}}};" | {{{title}}}
{| class="toccolours" style="float:right; width:21em; clear:right; margin: 0em 0em 1em 1em;"
| above = {{{title|<includeonly>{{PAGENAME}}</includeonly>}}}
|-
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{photo-size|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
! colspan="3" style="text-align: center; background-color:#{{{bgcolor|{{{hex}}}}}}; color:{{{textcolor|inherit}}};" | {{{title}}}
| caption = {{{caption|}}}
|-
| header2 = {{#if:{{{frequency|}}}|[[Warna spektrum|Koordinat spektrum]]}}
{{#ifeq:{{{pic|1}}}|{{{pic|2}}}|! style="text-align:center;" colspan="3" {{!}} [[{{{pic}}}|none|250px]]}}
| label3 = [[Panjang gelombang]]
|-
| data3 = {{#ifeqif:{{{wavelength|1}}}{{{frequency|1}}}|{{{wavelength|2}}}{{{frequency [[Nanometre|2nm]]}}}|
| label4 = [[Frekuensi]]
{{!}} colspan="3" style="height:25px; text-align: center;" {{!}} &mdash; [[Spectral color|Spectral coordinates]] &mdash;}}
| data4 = {{!#if:{{{frequency|}} }|{{{frequency}}} [[Terahertz|THz]]}}
|-
| header5 = {{#if:{{{symbolism|}}}|Common connotations}}
{{#ifeq:{{{wavelength|1}}}|{{{wavelength|2}}}|! style="text-align:left;" colspan="2" {{!}} [[Wavelength]]
| data6 = {{{symbolism||yy}}}
{{!}} {{{wavelength}}} [[Nanometre|nm]]}}
| header8 = <includeonly><span style="position: relative; float: right; font-size: 70%">[[File: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]]
{{#ifeq:{{{frequency|1}}}|{{{frequency|2}}}|! style="text-align:left;" colspan="2" {{!}} [[Frequency]]
| data9 = {{#if:{{{hex|}}}|&#35;{{{hex}}}}}
{{!}} {{{frequency}}} [[Terahertz|THz]]}}
| 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 = {{#ifeqif:{{{symbolismr|1}}}|({{{symbolism|2r}}}|, {{{g}}}, {{{b}}})}}
| label11 = {{nowrap|[[model warna CMYK|CMYK]]<sup>'''H'''</sup> &nbsp; ([[sian|c]], [[magenta|m]], [[kuning|y]], [[hitam|k]])}}
{{!}} colspan="3" style="height:25px; text-align: center;" {{!}} &mdash; Commonly represents &mdash;
|cmyk data11 = {{#if:{cmyk{{c|}}}|c={{nowrap|({{{c|}}}|m=, {{{m|}}}|y=, {{{y|}}}|k=, {{{k|}}})}}}}
{{!}}-
| label12 = {{nowrap|[[ruang warna HSV|HSV]] &nbsp; &nbsp; &nbsp; ([[hue|h]], [[Saturasi (teori warna)|s]], [[Kecerahan|v]])}}
{{!}} colspan="3" style="text-align: left;" {{!}} {{{symbolism}}}}}
| data12 = {{#if:{{{h|}}}|{{nowrap|({{{h}}}°, {{{s}}}%, {{{v}}}%)}}}}
{{#ifeq:{{{nocoords|1}}}|{{{nocoords|2}}}||
| label13 = [[ruang warna HSL|HSL]] &nbsp; ([[hue|hslH]], [[Saturation (color theory)|hslS]], [[Kecerahan (warna)|hslL]])
{{Infobox Color/Color Coordinates
| data13 = {{#if:{{{hslL|}}}|({{{hslH}}}°, {{{hslS}}}%, {{{hslL}}}%)}}
|spelling={{{spelling|}}}
| label14 = Sumber
|r={{{r|}}}|g={{{g|}}}|b={{{b|}}}|hex={{{hex|}}}|rgbspace={{{rgbspace|}}}|sRGB={{{sRGB|}}}
| data14 = <includeonly>{{#if:{{{source|}}}|{{{source}}}|<sup><nowiki>[</nowiki>Tidak ada sumber<nowiki>]</nowiki></sup>}}</includeonly>
|cmyk={{{cmyk|}}}|c={{{c|}}}|m={{{m|}}}|y={{{y|}}}|k={{{k|}}}
| label15 = [[Color space]]
|h={{{h|}}}|s={{{s|}}}|v={{{v|}}}
|colorspace data15 = {{{colorspace|}}}
| data16 = {{#if:{{{r|}}}|'''B''': Dinormalkan ke <nowiki>[</nowiki>0–255] (bita)<br>}}{{#if:{{{c|}}}|'''H''': Dinormalkan ke <nowiki>[</nowiki>0–100] (ratusan)}}
|source={{{source|}}}}}}}
{{#if:| data17 = {{{caveat|}}}|
| header18 = {{#if:{{{variations|}}}|{{{variationstitle|Variasi {{{title}}}|}}}}}
{{!}}-
| label19 = {{{variation1|}}}
{{!}} colspan="3" style="text-align: center; font-size:smaller;" {{!}} {{{caveat|}}}}}
| data19 = {{#if:{{{variation1|}}}|<span style="background-color:{{{variation1color|{{{variation1}}}}}}; border:1px solid {{{variation1color|{{{variation1}}}}}};display:block">&nbsp;</span>}}
|}</includeonly><noinclude>Sub halaman:
| label20 = {{{variation2|}}}
{{tl|Infobox Color/Color Coordinates}}
| data20 = {{#if:{{{variation2|}}}|<span style="background-color:{{{variation2color|{{{variation2}}}}}}; border:1px solid {{{variation2color|{{{variation2}}}}}};display:block">&nbsp;</span>}}
[[Kategori:Templat kotak info]]
| label21 = {{{variation3|}}}
 
| data21 = {{#if:{{{variation3|}}}|<span style="background-color:{{{variation3color|{{{variation3}}}}}}; border:1px solid {{{variation3color|{{{variation3}}}}}};display:block">&nbsp;</span>}}
[[bar:Vorlage:Infobox Farbe]]
| label22 = {{{variation4|}}}
[[is:Snið:Infobox color]]
| data22 = {{#if:{{{variation4|}}}|<span style="background-color:{{{variation4color|{{{variation4}}}}}}; border:1px solid {{{variation4color|{{{variation4}}}}}};display:block">&nbsp;</span>}}
[[mt:Mudell:Infobox Kulur]]
| label23 = {{{variation5|}}}
[[tl:Suleras:Infobox color]]
| data23 = {{#if:{{{variation5|}}}|<span style="background-color:{{{variation5color|{{{variation5}}}}}}; border:1px solid {{{variation5color|{{{variation5}}}}}};display:block">&nbsp;</span>}}
[[tt:Калып:Төс карточкасы]]
| label24 = {{{variation6|}}}
</noinclude>
| 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>