Template:SkylistTableCaption: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Идеальный Sun Angle}}
|:ru=Угол}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Идеальный Sun Pitch}}
|:ru=Наклон}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|#default=Ideal Brightness
|:ru=Идеальный Brightness}}
|:ru=Яркость}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Идеальный Ambient}}
|:ru=Окружение}}
|
|
{{#ifeq: {{{layout}}} | old |  
{{#ifeq: {{{layout}}} | old |  
Line 33: Line 33:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Идеальный Sun Angle}}
|:ru=Угол}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Идеальный Sun Pitch}}
|:ru=Наклон}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|#default=Ideal Brightness
|:ru=Идеальный Brightness}}
|:ru=Яркость}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Идеальный Ambient}}
|:ru=Окружение}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal HDR Brightness {{Hover info|The value in parentheses is BrightnessHDRScale's value in light_environment, aka the amount to scale direct light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}
|#default=Ideal HDR Brightness {{Hover info|The value in parentheses is BrightnessHDRScale's value in light_environment, aka the amount to scale direct light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}
|:ru=Идеальный HDR Brightness {{Hover info|The value in parentheses is BrightnessHDRScale's value in light_environment, aka the amount to scale direct light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}<!--
|:ru=HDR Brightness {{Hover info|The value in parentheses is BrightnessHDRScale's value in light_environment, aka the amount to scale direct light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}<!--
-->}}
-->}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal HDR Ambience {{Hover info|The value in parentheses is AmbientHDRScale's value in light_environment, aka the amount to scale ambient light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}
|#default=Ideal HDR Ambience {{Hover info|The value in parentheses is AmbientHDRScale's value in light_environment, aka the amount to scale ambient light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}
|:ru=Идеальный HDR Ambience {{Hover info|The value in parentheses is AmbientHDRScale's value in light_environment, aka the amount to scale ambient light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}<!--
|:ru=HDR Ambience {{Hover info|The value in parentheses is AmbientHDRScale's value in light_environment, aka the amount to scale ambient light by when compiling for HDR. If this isn't present, it's likely 1 or simply undefined in the sky list.|(Scale)}}<!--
-->}}
-->}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Spread Angle
|#default=Ideal Sun Spread Angle
|:ru=Идеальный Sun Spread Angle}}
|:ru=Sun Spread Angle}}
|
|
{{#ifeq: {{{layout}}} | new |
{{#ifeq: {{{layout}}} | new |
Line 69: Line 69:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Идеальный Sun Angle}}
|:ru=Угол}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Идеальный Sun Pitch}}
|:ru=Наклон}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|#default=Ideal Brightness
|:ru=Идеальный Brightness}}
|:ru=Яркость}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Идеальный Ambient}}
|:ru=Окружение}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Angle
|#default=Ideal Directional Angle
|:ru=Идеальный Directional Angle}}
|:ru=Directional Angle}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Pitch
|#default=Ideal Directional Pitch
|:ru=Идеальный Directional Pitch}}
|:ru=Directional Pitch}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Brightness
|#default=Ideal Directional Brightness
|:ru=Идеальный Directional Brightness}}
|:ru=Directional Brightness}}
|{{#ifeq: {{{layout}}} | newer_csgo |
|{{#ifeq: {{{layout}}} | newer_csgo |
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
Line 102: Line 102:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Идеальный Sun Angle}}
|:ru=Угол}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Идеальный Sun Pitch}}
|:ru=Наклон}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|#default=Ideal Brightness
|:ru=Идеальный Brightness}}
|:ru=Яркость}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Идеальный Ambient}}
|:ru=Окружение}}
}}
}}
}}
}}

Revision as of 05:46, 5 January 2023

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.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

This template contains a ready-made set of table rows that point to the parameters to which the light_environment properties described in the Sky List article belong.

Note.pngNote:Rows start to follow the scroll if their borders touch the top of the page.

Parameters

  • {{{layout}}} - older, old, new, newer_csgo.

Examples

Older Layout
{| class="standard-table" style="width: 100%; text-align:center;" !colspan="8"| sky_day01_01<br/>[[File:sky_day01_01.png|600px]] |- {{SkylistTableCaption|layout=older}} |- | None | {{vec3|0|0|0}} | 0 | {{Skycell|255|255|255|200}} | {{Skycell|255|255|255|20}} |}
sky_day01_01
Sky day01 01.png
Example Map Ideal Sun Angle Ideal Sun Pitch Ideal Brightness Ideal Ambience
None 0 0 0 0 255 255 255 200  255 255 255 20 


Old Layout
{| class="standard-table" style="width: 100%; text-align:center;" !colspan="8"| sky_day01_01<br/>[[File:sky_day01_01.png|600px]] |- {{SkylistTableCaption|layout=old}} |- | None | {{vec3|0|0|0}} | 0 | {{Skycell|255|255|255|200}} | {{Skycell|255|255|255|20}} | {{vec5|-1|-1|-1|-1|(1)}} | {{vec5|-1|-1|-1|-1|(1)}} | 0 |}
sky_day01_01
Sky day01 01.png
Example Map Ideal Sun Angle Ideal Sun Pitch Ideal Brightness Ideal Ambience Ideal HDR Brightness (Scale) Ideal HDR Ambience (Scale) Ideal Sun Spread Angle
None 0 0 0 0 255 255 255 200  255 255 255 20  -1 -1 -1 -1 (1) -1 -1 -1 -1 (1) 0


New Layout
{| class="standard-table" style="width: 100%; text-align:center;" !colspan="8"| sky_day01_01<br/>[[File:sky_day01_01.png|600px]] |- {{SkylistTableCaption|layout=new}} |- | None | {{vec3|0|0|0}} | 0 | {{Skycell|255|255|255|200}} | {{Skycell|255|255|255|20}} | {{vec3|0|30|0}} | -80 | {{skycell|171|206|220|15}} |}
sky_day01_01
Sky day01 01.png
Example Map Ideal Sun Angle Ideal Sun Pitch Ideal Brightness Ideal Ambience Ideal Directional Angle Ideal Directional Pitch Ideal Directional Brightness
None 0 0 0 0 255 255 255 200  255 255 255 20  0 0 0 0 255 255 255 200 


Newer Counter-Strike: Global Offensive Layout
{| class="standard-table" style="width: 100%; text-align:center;" !colspan="8"| sky_dust<br/>[[File:sky_dust_csgo.jpg|600px]] |- {{SkylistTableCaption|layout=newer_csgo}} |- | None | {{vec3|0|0|0}} | 0 | {{Skycell|255|255|255|200}} | {{Skycell|255|255|255|20}} |}
sky_dust
Sky dust csgo.jpg
Example Map Ideal Sun Angle Ideal Sun Pitch Ideal Brightness Ideal Ambience
None 0 0 0 0 255 255 255 200  255 255 255 20