Template:Shader Name

From Valve Developer Community
(Redirected from Template:Shader)
Jump to: navigation, search
Blank image.pngTodo: Make automatic icon selection

Based on Template:Path ( 🖿Path )

Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history

Shader name/param

Parameters and Examples

Parameter Description Examples Preview
{{{1}}} Shader / parameter name
{{Shader_Name|UnlitGeneric}}
{{{2}}} Value.
Works only if type is param
{{Shader_Name|type=param|$detail|texture}}
{{Shader_Name|type=param|$detail|notexisting}}
Shader-ball-settings.png $detailnotexisting
{{{type}}} At the moment it has one value - param. Param sets shader parameter icon and unlock 3rd field.
{{Shader_Name|key|value}}
{{Shader_Name|type=param|key|value}}
Shader-ball.png key
Shader-ball-settings.png keyvalue
{{{alt}}} This displays alternate text for the {{{1}}} parameter. Useful when wanting to make the link to the, for example, Water (shader) shader look more formal.
{{Shader Name|Water (shader)|alt=Water}}