Template:Skycell
(Redirected from User:Dr. Orange/Template:Skycell)
Todo: Automatic coloring breaks on browsers that automatically create phone number links….
A template for use in Sky List tables for the brightness and ambience table cells.
Documentation
This template accepts up to five parameters. The first four parameters should be the standard color and brightness values from the light_environment
, while the fifth value (optional) should be the HDR scale for the brightness or ambience. The first three parameters are used to fill in the background color of the table cell that the Skycell template is used in.
Note:If the HDR brightness and ambience values are -1 -1 -1 1, use the Template:Vec4 or Template:Vec5 templates instead. This is because this template will color the background completely black with those values. This is undesired, as those values tell HDR to use the same values as LDR.
Example
| {{Skycell|239|207|141|350}}
| {{Skycell|75|96|116|300}}
These skycell templates are used in the Sky table below. To see where and how they are used, check this page's source.
The above documentation is transcluded from Template:Skycell/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.