Template:Shader
(重新導向自Template:Shader Name)
跳至導覽
跳至搜尋
Todo: Make automatic icon selection
Todo: Fix link wrapping to a new line when used in a list.
Based on Template:Path ( Path
)
Based on Template:Path ( Path
)
Shader name/param
Parameter | 描述 | 範例 | 預覽 |
---|---|---|---|
{{{1}}} | Shader / parameter name | {{shader|UnlitGeneric}} |
|
{{{2}}} | Value. Works only if type is param |
{{shader|type=param|$detail|texture}} {{shader|type=param|$detail|notexisting}} |
![]() $detail notexisting |
{{{type}}} | At the moment it has one value - param. Param sets shader parameter icon and unlock 3rd field. | {{shader|key|value}} {{shader|type=param|key|value}} |
![]() key ![]() key value |
{{{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|Water (shader)|alt=Water}} |