Template:Shader Name: Difference between revisions
Jump to navigation
Jump to search
(Created test page for Shader Name tag) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Shader_Name|UnlitGeneric}} | {{Shader_Name|UnlitGeneric}} | ||
{{Shader_Name|$detail|type=param}} | |||
{{todo|Make automatic icon selection}} | |||
<includeonly><onlyinclude><!-- | <includeonly><onlyinclude><!-- | ||
--><span title="{{{1}}} shader" style="display:inline-flex; align-items:center; line-height:1.35em"><!-- | --><span title="{{{1}}} shader" style="display:inline-flex; align-items:center; line-height:1.35em"><!-- | ||
--><span style="background-color:#dd4e4ecc; border-radius:4px 0 0 4px; padding:0 3px 0 3px; user-select:none; pointer-events:none"><!-- | --><span style="background-color:#dd4e4ecc; border-radius:4px 0 0 4px; padding:0 3px 0 3px; user-select:none; pointer-events:none"><!-- | ||
--><span style="position:relative; top: -1px">[[File:Shader-ball.png|15px]] | --><span style="position:relative; top: -1px">[[File:{{#switch:{{{type}}} | ||
|#default=Shader-ball.png | |||
|param=Shader-ball-settings.png}}|15px]] | |||
</span></span><code style="background-color:rgba(221,78,78,.25); border-radius:0 4px 4px 0; color:#CCC; padding:0 4px; {{#if:{{{select|}}}|user-select:{{{select}}}|}}">{{#ifexist:{{{1}}}|[[{{{1}}}]]|{{{1}}}}}</code></span><!-- | </span></span><code style="background-color:rgba(221,78,78,.25); border-radius:0 4px 4px 0; color:#CCC; padding:0 4px; {{#if:{{{select|}}}|user-select:{{{select}}}|}}">{{#ifexist:{{{1}}}|[[{{{1}}}]]|{{{1}}}}}</code></span><!-- | ||
--></onlyinclude></includeonly> | --></onlyinclude></includeonly> |