Template:SkylistTableCaption: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(39 intermediate revisions by 8 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="14.28%"{{!}}Example  Map
! width="12%" {{!}} {{SkylistTableCaption/strings|ExMap}}
!width="14.28%"{{!}}Ideal Sun Angle
! width="12%" {{!}} {{SkylistTableCaption/strings|ISA}}
!width="14.28%"{{!}}Ideal Sun Pitch
! width="12%" {{!}} {{SkylistTableCaption/strings|ISP}}
!width="14.28%"{{!}}Ideal Brightness
! width="12%" {{!}} {{SkylistTableCaption/strings|IB}}
!width="14.28%"{{!}}Ideal Ambience
! width="12%" {{!}} {{SkylistTableCaption/strings|IA}}
!width="14.28%"{{!}}Ideal HDR Brightness
! width="12%" {{!}} {{SkylistTableCaption/strings|Ideal HDR Brightness}}
!width="14.28%"{{!}}Ideal HDR Ambience
! width="12%" {{!}} {{SkylistTableCaption/strings|Ideal HDR Ambience}}
|
! width="12%" {{!}} {{SkylistTableCaption/strings|ISSA}}
{{#ifeq: {{{layout}}} | new |
| {{#ifeq: {{{layout}}} | new |
!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 Directional Angle
! width="12%" {{!}} {{SkylistTableCaption/strings|IDA}}
!width="12%"{{!}}Ideal Directional Pitch
! width="12%" {{!}} {{SkylistTableCaption/strings|IDP}}
!width="12%"{{!}}Ideal Directional Brightness
! width="12%" {{!}} {{SkylistTableCaption/strings|IDB}}
| {{#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
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