Template:SkylistTableCaption/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "This template contains a prepared sticky set of strings describing the light_environment settings in the Sky List article.. ==Parameters== {{param|layout}} - older, old,...")
 
m (→‎Examples: clean up, replaced: [[Image: → [[File: (8))
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This template contains a prepared sticky set of strings describing the light_environment settings in the [[Sky List]] article..
{{Doc/subpage}}


==Parameters==
This template contains a ready-made set of table rows that point to the parameters to which the {{ent|mode=link|light_environment}} properties described in the [[Sky List]] article belong.
{{param|layout}} - older, old, new, newer_csgo


==Preview==
{{note|Rows start to follow the scroll if their borders touch the top of the page.}}
 
== Parameters ==
* {{param|layout}} - {{Code|select=1|older}}, {{Code|select=1|old}}, {{Code|select=1|new}}, {{Code|select=1|newer_csgo}}.
 
== Examples ==
{{CodeBlock|style=1|header=1|src=Older Layout|<nowiki>{| 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}}
|}</nowiki>}}
{| 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}}
|}
 
 
{{CodeBlock|style=1|header=1|src=Old Layout|<nowiki>{| 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
|}</nowiki>}}
{| 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
|}
 
 
{{CodeBlock|style=1|header=1|src=New Layout|<nowiki>{| 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}}
|}</nowiki>}}
{| 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|0|0}}
| 0
| {{skycell|255|255|255|200}}
|}
 
 
{{CodeBlock|style=1|header=1|src=Newer {{csgo}} Layout|<nowiki>{| 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}}
|}</nowiki>}}
{| class="standard-table" style="width: 100%; text-align:center;"
{| class="standard-table" style="width: 100%; text-align:center;"
!colspan="8"| sky_day01_01<br/>[[Image:sky_day01_01.png|600px]]
!colspan="8"| sky_dust<br/>[[File:sky_dust_csgo.jpg|600px]]
|-
|-
{{SkylistTableCaption|layout = older|suf={{{suf|}}}}}
{{SkylistTableCaption|layout = newer_csgo}}
|-
|-
| None
| None
Line 16: Line 115:
| {{Skycell|255|255|255|20}}
| {{Skycell|255|255|255|20}}
|}
|}
{{Doc/Sandbox other|
[[Category:Templates]]
[[Category:Sky List Templates]]
}}

Latest revision as of 02:28, 12 January 2024

Edit-copy.png
This is a documentation subpage for Template:SkylistTableCaption.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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