Template:Skycell

Материал из Valve Developer Community
Перейти к навигации Перейти к поиску
Todo: Automatic coloring breaks on browsers that automatically create phone number links….
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngДокументация шаблона [посмотреть] [править] [создать Русский (ru)]
Icon-translate.png Available doc translations
Info.png
Страница документации Template:Skycell/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.

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.pngПримечание: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.

sky_day03_04
Sky day03 04.jpg
Карта Угол склонения Тангаж Яркость Рассеяный свет Яркость с HDR (Масштаб) Рассеяный свет с HDR (Масштаб) Угол падения солнечных лучей
d3_c17_08 0 53 0 -60 239 207 141 350  75 96 116 300  -1 -1 -1 -1 (.7) -1 -1 -1 -1 (1) 0