Template:SkylistTableCaption: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{lang|Template:SkylistTableCaption}}
{{Lang}} {{Doc}}
{| class="standard-table" style="width: 100%; text-align: center;"
{| class="standard-table" style="width:100%; text-align:center"
<onlyinclude><includeonly>
<onlyinclude><includeonly>
|- style="position: -webkit-sticky; position: sticky; top: 0;"
|- style="position:-webkit-sticky; position:sticky; top:0"
{{#ifeq: {{{layout}}} | older |  
{{#ifeq: {{{layout}}} | older |  
!width="20%"{{!}}<!--
! width="20%" {{!}} {{SkylistTableCaption/strings|ExMap}}
-->{{#switch:{{{suf}}}
! width="20%" {{!}} {{SkylistTableCaption/strings|ISA}}
|#default=Example Map
! width="20%" {{!}} {{SkylistTableCaption/strings|ISP}}
|:ru=Карта
! width="20%" {{!}} {{SkylistTableCaption/strings|IB}}
|:zh-cn=示例地图}}
! width="20%" {{!}} {{SkylistTableCaption/strings|IA}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|:ru={{Hover info|Pitch Yaw Roll|Угол}}
|:zh-cn=理想的太阳角度}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|:ru={{Hover info|Pitch|Наклон}}
|:zh-cn=理想的太阳球场(Pitch)}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|:ru={{Hover info|Brightness|Яркость}}
|:zh-cn=理想的亮度}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|:ru={{Hover info|Ambient|Окружение}}
|:zh-cn=理想的氛围(Ambience)}}
|
|
{{#ifeq: {{{layout}}} | old |  
{{#ifeq: {{{layout}}} | old |  
!width="12%"{{!}}<!--
! width="12%" {{!}} {{SkylistTableCaption/strings|ExMap}}
-->{{#switch:{{{suf}}}
! width="12%" {{!}} {{SkylistTableCaption/strings|ISA}}
|#default=Example Map
! width="12%" {{!}} {{SkylistTableCaption/strings|ISP}}
|:ru=Карта
! width="12%" {{!}} {{SkylistTableCaption/strings|IB}}
|:zh-cn=示例地图}}
! width="12%" {{!}} {{SkylistTableCaption/strings|IA}}
!width="12%"{{!}}<!--
! width="12%" {{!}} {{SkylistTableCaption/strings|Ideal HDR Brightness}}
-->{{#switch:{{{suf}}}
! width="12%" {{!}} {{SkylistTableCaption/strings|Ideal HDR Ambience}}
|#default=Ideal Sun Angle
! width="12%" {{!}} {{SkylistTableCaption/strings|ISSA}}
|:ru={{Hover info|Pitch Yaw Roll|Угол}}
| {{#ifeq: {{{layout}}} | new |
|:zh-cn=理想的太阳角度}}
! width="12%" {{!}} {{SkylistTableCaption/strings|ExMap}}
!width="12%"{{!}}<!--
! width="12%" {{!}} {{SkylistTableCaption/strings|ISA}}
-->{{#switch:{{{suf}}}
! width="12%" {{!}} {{SkylistTableCaption/strings|ISP}}
|#default=Ideal Sun Pitch
! width="12%" {{!}} {{SkylistTableCaption/strings|IB}}
|:ru={{Hover info|Pitch|Наклон}}
! width="12%" {{!}} {{SkylistTableCaption/strings|IA}}
|:zh-cn=理想的太阳球场(Pitch)}}
! width="12%" {{!}} {{SkylistTableCaption/strings|IDA}}
!width="12%"{{!}}<!--
! width="12%" {{!}} {{SkylistTableCaption/strings|IDP}}
-->{{#switch:{{{suf}}}
! width="12%" {{!}} {{SkylistTableCaption/strings|IDB}}
|#default=Ideal Brightness
| {{#ifeq: {{{layout}}} | newer_csgo |
|:ru={{Hover info|Brightness|Яркость}}
! width="20%" {{!}} {{SkylistTableCaption/strings|ExMap}}
|:zh-cn=理想的亮度}}
! width="20%" {{!}} {{SkylistTableCaption/strings|ISA}}
!width="12%"{{!}}<!--
! width="20%" {{!}} {{SkylistTableCaption/strings|ISP}}
-->{{#switch:{{{suf}}}
! width="20%" {{!}} {{SkylistTableCaption/strings|IB}}
|#default=Ideal Ambience
! width="20%" {{!}} {{SkylistTableCaption/strings|IA}}
|:ru={{Hover info|Ambient|Окружение}}
|:zh-cn=理想的氛围(Ambience)}}
!width="12%"{{!}}<!--
-->{{#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)}}
|:ru={{Hover info|HDR Brightness|Яркость для HDR}} {{Hover info|Значение в скобках — это значение Brightness Scale HDR в light_environment, также известное как величина масштабирования прямого света при компиляции для HDR. Если это не указано, то, скорее всего, значение равно 1 или просто не определено в списке настроек неба.|(Масштаб)}}
|:zh-cn=理想的 HDR 亮度 {{Hover info|括号中的值是 light_environment 中 BrightnessHDRScale 的值,也就是在为 HDR 编译时缩放直接光的量。如果这不存在,则可能是 1 或在天空列表中未定义。|(Scale)}}<!--
-->}}
!width="12%"{{!}}<!--
-->{{#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)}}
|:ru={{Hover info|HDR Ambient|Окружение для HDR}} {{Hover info|Значение в скобках — это значение Ambient Scale HDR в light_environment, также известное как величина масштабирования окружающего света при компиляции для HDR. Если это не указано, то, скорее всего, значение равно 1 или просто не определено в списке настроек неба.|(Масштаб)}}
|:zh-cn=理想的 HDR 氛围 {{Hover info|括号中的值是 AmbientHDRScale 在 light_environment 中的值,也就是编译 HDR 时缩放环境光的量。如果这不存在,则可能是 1 或在天空列表中未定义。|(Scale)}}<!--
-->}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Spread Angle
|:ru={{Hover info|Sun Spread Angle|Угол падения солнечных лучей}}
|:zh-cn=理想的太阳传播角度}}
|
{{#ifeq: {{{layout}}} | new |
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Example Map
|:ru=Карта
|:zh-cn=示例地图}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|:ru={{Hover info|Pitch Yaw Roll|Угол}}
|:zh-cn=理想的太阳角度}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|:ru={{Hover info|Pitch|Наклон}}
|:zh-cn=理想的太阳俯球场(Pitch)}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|:ru={{Hover info|Brightness|Яркость}}
|:zh-cn=理想的亮度}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|:ru={{Hover info|Ambient|Окружение}}
|:zh-cn=理想的氛围(Ambience)}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Angle
|:ru={{Hover info|Directional Angle|Угол направленного света}}
|:zh-cn=理想的定向(Directional)角度}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Pitch
|:ru={{Hover info|Directional Pitch|Наклон направленного света}}
|:zh-cn=理想的定向球场(Pitch)}}
!width="12%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Directional Brightness
|:ru={{Hover info|Directional Brightness|Яркость направленного света}}
|:zh-cn=理想的定向亮度}}
|{{#ifeq: {{{layout}}} | newer_csgo |
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Example Map
|:ru=Карта
|:zh-cn=示例地图}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Angle
|:ru={{Hover info|Pitch Yaw Roll|Угол}}
|:zh-cn=理想的太阳角度}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Sun Pitch
|:ru={{Hover info|Pitch|Наклон}}
|:zh-cn=理想的太阳球场(Pitch)}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Brightness
|:ru={{Hover info|Brightness|Яркость}}
|:zh-cn=理想的亮度}}
!width="20%"{{!}}<!--
-->{{#switch:{{{suf}}}
|#default=Ideal Ambience
|:ru={{Hover info|Ambient|Окружение}}
|:zh-cn=理想的氛围(Ambience)}}
}}
}}
}}
}}
Line 146: Line 39:
}}
}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>
|- style="position: -webkit-sticky; position: sticky; top: 0;"
|- style="position:-webkit-sticky; position:sticky; top:0"
|}
|}
{{doc}}[[Category:Sky List Templates]]

Latest revision as of 06:41, 7 May 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