Template:SkylistTableCaption/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 8: Line 8:


==Examples==
==Examples==
{{MdCodeBlock|outline|<nowiki>{{SkylistTableCaption|layout=older}}</nowiki>}}
{{MdCodeBlock|outline|{{MdCodeBlock/Header|Older Layout}}<nowiki>{| class="standard-table" style="width: 100%; text-align:center;"
{{MdCodeBlock|<nowiki>{| class="standard-table" style="width: 100%; text-align:center;"
!colspan="8"| sky_day01_01<br/>[[Image:sky_day01_01.png|600px]]
!colspan="8"| sky_day01_01<br/>[[Image:sky_day01_01.png|600px]]
|-
|-
Line 24: Line 23:
|-
|-
{{SkylistTableCaption|layout = older}}
{{SkylistTableCaption|layout = older}}
|-
| None
| {{vec3|0|0|0}}
| 0
| {{Skycell|255|255|255|200}}
| {{Skycell|255|255|255|20}}
|}
{{MdCodeBlock|outline|{{MdCodeBlock/Header|Old Layout}}<nowiki>{| class="standard-table" style="width: 100%; text-align:center;"
!colspan="8"| sky_day01_01<br/>[[Image: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/>[[Image: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
|}
{{MdCodeBlock|outline|{{MdCodeBlock/Header|New Layout}}<nowiki>{| class="standard-table" style="width: 100%; text-align:center;"
!colspan="8"| sky_day01_01<br/>[[Image: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/>[[Image: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}}
|}
{{MdCodeBlock|outline|{{MdCodeBlock/Header|Newer {{csgo}} Layout}}<nowiki>{| class="standard-table" style="width: 100%; text-align:center;"
!colspan="8"| sky_dust<br/>[[Image: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}}
| {{vec3|0|30|0}}
| -80
| {{skycell|171|206|220|15}}
|}</nowiki>}}
{| class="standard-table" style="width: 100%; text-align:center;"
!colspan="8"| sky_dust<br/>[[Image:sky_dust_csgo.jpg|600px]]
|-
{{SkylistTableCaption|layout = newer_csgo}}
|-
|-
| None
| None

Revision as of 07:42, 5 January 2023

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.

Template:ModernNote

Parameters

  • {{{layout}}} - older, old, new, newer_csgo.
  • {{{suf}}} - switches content language (text, links, etc.).

Examples

Template:MdCodeBlock

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 


Template:MdCodeBlock

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


Template:MdCodeBlock

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 


Template:MdCodeBlock

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