Template:SkylistTableCaption: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(added Simplified Chinese translations)
Line 7: Line 7:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Example Map
|#default=Example Map
|:ru=Карта}}
|:ru=Карта
|:zh-cn=示例地图}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Угол}}
|:ru=Угол
|:zh-cn=理想的太阳角度}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Наклон}}
|:ru=Наклон
|:zh-cn=理想的太阳球场(Pitch)}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|#default=Ideal Brightness
|:ru=Яркость}}
|:ru=Яркость
|:zh-cn=理想的亮度}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Окружение}}
|:ru=Окружение
|:zh-cn=理想的氛围(Ambience)}}
|
|
{{#ifeq: {{{layout}}} | old |  
{{#ifeq: {{{layout}}} | old |  
Line 29: Line 34:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Example Map
|#default=Example Map
|:ru=Карта}}
|:ru=Карта
|:zh-cn=示例地图}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Угол}}
|:ru=Угол
|:zh-cn=理想的太阳角度}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Наклон}}
|:ru=Наклон
|:zh-cn=理想的太阳球场(Pitch)}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|#default=Ideal Brightness
|:ru=Яркость}}
|:ru=Яркость
|:zh-cn=理想的亮度}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Окружение}}
|:ru=Окружение
|:zh-cn=理想的氛围(Ambience)}}
!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)}}
|:zh-cn=理想的 HDR 亮度 {{Hover info|括号中的值是 light_environment 中 BrightnessHDRScale 的值,也就是在为 HDR 编译时缩放直接光的量。如果这不存在,则可能是 1 或在天空列表中未定义。}}<!--
-->}}
-->}}
!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)}}
|:zh-cn=理想的 HDR 氛围 {{Hover info|括号中的值是 AmbientHDRScale 在 light_environment 中的值,也就是编译 HDR 时缩放环境光的量。如果这不存在,则可能是 1 或在天空列表中未定义。|(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
|:zh-cn=理想的太阳传播角度}}
|
|
{{#ifeq: {{{layout}}} | new |
{{#ifeq: {{{layout}}} | new |
Line 65: Line 78:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Example Map
|#default=Example Map
|:ru=Карта}}
|:ru=Карта
|:zh-cn=示例地图}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Угол}}
|:ru=Угол
|:zh-cn=理想的太阳角度}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Наклон}}
|:ru=Наклон
|:zh-cn=理想的太阳俯球场(Pitch)}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|#default=Ideal Brightness
|:ru=Яркость}}
|:ru=Яркость
|:zh-cn=理想的亮度}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Окружение}}
|:ru=Окружение
|:zh-cn=理想的氛围(Ambience)}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Angle
|#default=Ideal Directional Angle
|:ru=Directional Angle}}
|:ru=Directional Angle
|:zh-cn=理想的定向(Directional)角度}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Pitch
|#default=Ideal Directional Pitch
|:ru=Directional Pitch}}
|:ru=Directional Pitch
|:zh-cn=理想的定向球场(Pitch)}}
!width="12%"{{!}}<!--
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Brightness
|#default=Ideal Directional Brightness
|:ru=Directional Brightness}}
|:ru=Directional Brightness
|:zh-cn=理想的定向亮度}}
|{{#ifeq: {{{layout}}} | newer_csgo |
|{{#ifeq: {{{layout}}} | newer_csgo |
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Example Map
|#default=Example Map
|:ru=Карта}}
|:ru=Карта
|:zh-cn=示例地图}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|#default=Ideal Sun Angle
|:ru=Угол}}
|:ru=Угол
|:zh-cn=理想的太阳角度}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|#default=Ideal Sun Pitch
|:ru=Наклон}}
|:ru=Наклон
|:zh-cn=理想的太阳球场(Pitch)}}
!width="20%"{{!}}<!--
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
Line 114: Line 138:
-->{{#switch:{{{suf}}}
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|#default=Ideal Ambience
|:ru=Окружение}}
|:ru=Окружение
|:zh-cn=理想的氛围(Ambience)}}
}}
}}
}}
}}
Line 122: Line 147:
|- style="position: -webkit-sticky; position: sticky; top: 0;"
|- style="position: -webkit-sticky; position: sticky; top: 0;"
|}
|}
{{doc|nolang=1}}[[Category:Sky List Templates]]
{{doc}}[[Category:Sky List Templates]]

Revision as of 03:48, 9 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