Difference between revisions of "Template:Infobox color/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Quiddity
(add linebreaking code, for testing)
imported>Quiddity
(→‎Linebreaking data: reflist to prevent warning)
Line 173: Line 173:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
{{Reflist}}

Revision as of 20:50, 31 July 2012

Required parameters only

Wiki codeLive versionSandbox version
{{Infobox color|title=Sample color|hex=007fff}}
Sample color
 
About these coordinates     Color coordinates
Hex triplet#007fff
Source[Unsourced]
Sample color
 
About these coordinates     Color coordinates
Hex triplet#007fff
Source[Unsourced]

Double ##

Wiki codeLive versionSandbox version
{{Infobox color|title=Sample color|hex=007fff|wavelength=##-##}}
Sample color
 
Wavelength
    1. -## nm
About these coordinates     Color coordinates
Hex triplet#007fff
Source[Unsourced]
Sample color
 
Wavelength
    1. -## nm
About these coordinates     Color coordinates
Hex triplet#007fff
Source[Unsourced]

Everything set

Wiki codeLive versionSandbox version
{{Infobox color
|title=Sample color
|variations=1
|variation1=Darker sample|variation1color=#003F7F|variation1textcolor=white
|variation2=Lighter sample|variation2color=#3FCFFF
|variation3=Grey3|variation3color=#333333
|variation4=Grey4|variation4color=#444444
|variation5=Grey5|variation5color=#555555
|variation6=Grey6|variation6color=#666666
|variation7=Grey7|variation7color=#777777
|variation8=Grey8|variation8color=#888888
|symbolism=Some symbols
|hex=007FFF
|r=0|g=127|b=255
|sRGB=1
|cmyk=1
|c=C|m=M|y=Y|k=K
|h=H|s=S|v=V
|pic=Image:CIExy1931.png
|caption=Caption for the picture
|colorspace=Color Space
|wavelength=num - num
|frequency=num - num
|source=Sample color
|caveat=Some caveat}}
Sample color
 
Spectral coordinates
Wavelengthnum - num nm
Frequencynum - num THz
Common connotations
Some symbols
About these coordinates     Color coordinates
Hex triplet#007FFF
HSV       (h, s, v)(H°, S%, V%)
sRGBB  (rgb)(0, 127, 255)
SourceSample color
Color spaceColor Space
B: Normalized to [0–255] (byte)
H: Normalized to [0–100] (hundred)
Some caveat
Some shades of Sample color
Darker sample 
Lighter sample 
Grey3 
Grey4 
Grey5 
Grey6 
Grey7 
Grey8 
Sample color
 
Spectral coordinates
Wavelengthnum - num nm
Frequencynum - num THz
Common connotations
Some symbols
About these coordinates     Color coordinates
Hex triplet#007FFF
sRGBB  (rgb)(0, 127, 255)
CMYKH   (c, m, y, k)(C, M, Y, K)
HSV       (h, s, v)(H°, S%, V%)
SourceSample color
Color spaceColor Space
B: Normalized to [0–255] (byte)
H: Normalized to [0–100] (hundred)
Some caveat
Some shades of Sample color
Darker sample 
Lighter sample 
Grey3 
Grey4 
Grey5 
Grey6 
Grey7 
Grey8 

Linebreaking data

Wiki codeLive versionSandbox version
{{infobox color
| title= Persian Blue|textcolor=white
| image= Image:Shah mosque2.jpg
| hex=1C39BB
| symbolism=[[Lapis lazuli]]  [[Celestial sphere]]  [[Heaven]]
| r=  28|g=  57|b= 187
| c= 100|m= 100|y= 21|k= 11
| h= 249|s=  85|v= 49
| source=[http://www.99colors.net/name/persian-blue] and Maerz and Paul<ref> The color displayed in the color box above matches the color called ''Persian blue'' in the 1930 book by Maerz and Paul ''A Dictionary of Color'' New York:1930 McGraw-Hill;  the color ''Persian blue'' is displayed on page 95, Plate 36, Color Sample L4.</ref>}}
Persian Blue
 
Shah mosque2.jpg
Common connotations
Lapis lazuli Celestial sphere Heaven
About these coordinates     Color coordinates
Hex triplet#1C39BB
HSV       (h, s, v)(249°, 85%, 49%)
sRGBB  (rgb)(28, 57, 187)
Source[1] and Maerz and Paul[1]
B: Normalized to [0–255] (byte)
H: Normalized to [0–100] (hundred)
Persian Blue
 
Shah mosque2.jpg
Common connotations
Lapis lazuli Celestial sphere Heaven
About these coordinates     Color coordinates
Hex triplet#1C39BB
sRGBB  (rgb)(28, 57, 187)
CMYKH   (c, m, y, k)(100, 100, 21, 11)
HSV       (h, s, v)(249°, 85%, 49%)
Source[2] and Maerz and Paul[2]
B: Normalized to [0–255] (byte)
H: Normalized to [0–100] (hundred)
  1. The color displayed in the color box above matches the color called Persian blue in the 1930 book by Maerz and Paul A Dictionary of Color New York:1930 McGraw-Hill; the color Persian blue is displayed on page 95, Plate 36, Color Sample L4.
  2. The color displayed in the color box above matches the color called Persian blue in the 1930 book by Maerz and Paul A Dictionary of Color New York:1930 McGraw-Hill; the color Persian blue is displayed on page 95, Plate 36, Color Sample L4.