Template:Shader/doc/ru: Difference between revisions
< Template:Shader | doc
Jump to navigation
Jump to search
mNo edit summary |
m (Updated due to the expansion of functionality) |
||
| Line 16: | Line 16: | ||
| align=center | {{Param|2}} | | align=center | {{Param|2}} | ||
| Значение.<br>Работает только если {{code|preset=1|type}} имеет значение {{code|preset=1|param}} | | Значение.<br>Работает только если {{code|preset=1|type}} имеет значение {{code|preset=1|param}} | ||
| {{CodeBlock|margin=5px| <nowiki>{{Shader_Name|type=param|$detail|texture}}</nowiki> }} | | {{CodeBlock|margin=5px| <nowiki>{{Shader_Name|type=param|$detail|texture}}</nowiki> }} {{CodeBlock|margin=5px| <nowiki>{{Shader_Name|type=param|$detail|notexisting}}</nowiki> }} | ||
| {{Capsule|margin=5px| {{Shader_Name|type=param|$detail|texture}} }} | | {{Capsule|margin=5px| {{Shader_Name|type=param|$detail|texture}} }} {{Capsule|margin=5px| {{Shader_Name|type=param|$detail|notexisting}} }} | ||
|- | |- | ||
| align=center | {{Param|type}} | | align=center | {{Param|type}} | ||
Revision as of 07:33, 19 July 2023
This is a documentation subpage for Template:Shader.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Имя шейдера/параметра
Parameters and Examples
| Parameter | Description | Examples | Preview |
|---|---|---|---|
| {{{1}}} | Имя шейдера / параметра | ||
| {{{2}}} | Значение. Работает только если type имеет значение param
|
$detailnotexisting | |
| {{{type}}} | На данный момент, имеет только одно значение param.Param устанавливает иконку "параметр шейдера" и открывает доступ к 3-ему полю.
|
key keyvalue |