Template:SkylistTableCaption: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed infra layout and merged it into the old layout, as the old layout should have Scale information and moving that to the old layout makes the infra layout redundtant)
mNo edit summary
 
(34 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>
{{Lang}} {{Doc}}
{| class="standard-table" style="width: 100%; text-align: center;"
{| class="standard-table" style="width:100%; text-align:center"
</noinclude>
<onlyinclude><includeonly>
|- style="position:-webkit-sticky; position:sticky; top:0"
{{#ifeq: {{{layout}}} | older |  
{{#ifeq: {{{layout}}} | older |  
!width="20%"{{!}}Example Map
! width="20%" {{!}} {{SkylistTableCaption/strings|ExMap}}
!width="20%"{{!}}Ideal Sun Angle
! width="20%" {{!}} {{SkylistTableCaption/strings|ISA}}
!width="20%"{{!}}Ideal Sun Pitch
! width="20%" {{!}} {{SkylistTableCaption/strings|ISP}}
!width="20%"{{!}}Ideal Brightness
! width="20%" {{!}} {{SkylistTableCaption/strings|IB}}
!width="20%"{{!}}Ideal Ambience
! width="20%" {{!}} {{SkylistTableCaption/strings|IA}}
|
|
{{#ifeq: {{{layout}}} | old |  
{{#ifeq: {{{layout}}} | old |  
!width="16%"{{!}}Example  Map
! width="12%" {{!}} {{SkylistTableCaption/strings|ExMap}}
!width="12%"{{!}}Ideal Sun Angle
! width="12%" {{!}} {{SkylistTableCaption/strings|ISA}}
!width="12%"{{!}}Ideal Sun Pitch
! width="12%" {{!}} {{SkylistTableCaption/strings|ISP}}
!width="12%"{{!}}Ideal Brightness
! width="12%" {{!}} {{SkylistTableCaption/strings|IB}}
!width="12%"{{!}}Ideal Ambience
! width="12%" {{!}} {{SkylistTableCaption/strings|IA}}
!width="12%"{{!}}Ideal HDR Brightness {{Hover info|The value in parentheses is BrightnessHDRScale's value in light_environment, "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%" {{!}} {{SkylistTableCaption/strings|Ideal HDR Brightness}}
!width="12%"{{!}}Ideal HDR Ambience {{Hover info|The value in parentheses is AmbientHDRScale's value in light_environment, "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%" {{!}} {{SkylistTableCaption/strings|Ideal HDR Ambience}}
!width="12%"{{!}}Ideal Sun Spread Angle
! width="12%" {{!}} {{SkylistTableCaption/strings|ISSA}}
|
| {{#ifeq: {{{layout}}} | new |
{{#ifeq: {{{layout}}} | new |
! width="12%" {{!}} {{SkylistTableCaption/strings|ExMap}}
!width="16%"{{!}}Example Map
! width="12%" {{!}} {{SkylistTableCaption/strings|ISA}}
!width="12%"{{!}}Ideal Sun Angle
! width="12%" {{!}} {{SkylistTableCaption/strings|ISP}}
!width="12%"{{!}}Ideal Sun Pitch
! width="12%" {{!}} {{SkylistTableCaption/strings|IB}}
!width="12%"{{!}}Ideal Brightness
! width="12%" {{!}} {{SkylistTableCaption/strings|IA}}
!width="12%"{{!}}Ideal Ambience
! width="12%" {{!}} {{SkylistTableCaption/strings|IDA}}
!width="12%"{{!}}Ideal Directional Angle
! width="12%" {{!}} {{SkylistTableCaption/strings|IDP}}
!width="12%"{{!}}Ideal Directional Pitch
! width="12%" {{!}} {{SkylistTableCaption/strings|IDB}}
!width="12%"{{!}}Ideal Directional Brightness
| {{#ifeq: {{{layout}}} | newer_csgo |
! width="20%" {{!}} {{SkylistTableCaption/strings|ExMap}}
! width="20%" {{!}} {{SkylistTableCaption/strings|ISA}}
! width="20%" {{!}} {{SkylistTableCaption/strings|ISP}}
! width="20%" {{!}} {{SkylistTableCaption/strings|IB}}
! width="20%" {{!}} {{SkylistTableCaption/strings|IA}}
}}
}}
}}
}}
}}
}}
}}
<noinclude>
</includeonly></onlyinclude>
|-
|- style="position:-webkit-sticky; position:sticky; top:0"
|}
|}
</noinclude>

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
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