This article's documentation is for anything that uses the Source engine. Click here for more information.

Template:This is a: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Note|This template will be moved to [[Template:Format]] in order to unify all the formatting templates such as {{tl2|Console command}}, {{tl2|Shader}}. ([[Template talk:Console command|Discuss]])}}
{{Note|This template will be moved to [[Template:Format]] in order to unify all the formatting templates such as {{tl2|Console Command}}, {{tl2|Shader}}. ([[Template talk:Console command|Discuss]])}}
{{Doc}}
{{Doc}}
<includeonly><onlyinclude><!--
<includeonly><onlyinclude><!--
Line 7: Line 7:


-->{{#if:{{{sprite|}}}
-->{{#if:{{{sprite|}}}
|[[File:{{#ifeq:{{{sprite}}}|1|{{{1|{{PAGENAME}} }}}.png|{{{sprite}}} }}|left|link=]]<!--
|[[File:{{#ifeq:{{{sprite}}}|1
|{{{1|{{PAGENAME}}}}}.png
|{{{sprite}}}}}|left|link=]]<!--
-->}}<!--
-->}}<!--


Line 20: Line 22:
     + "This" +
     + "This" +


-->{{#if:{{{icon|}}}|&nbsp;}}<!--
-->{{#if:{{{icon|}}}|&nbsp;}}{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{#switch:{{{type|}}}|#default={{DISPLAYTITLE:{{Code|preset=0|style=color:white|select=all|background=transparent|{{{1|}}}}}|noreplace}}}}|convar|command=|shader|s0|s1=}}{{Code|select=all|<!---->{{{1|}}}<!---->}}|{{#switch:{{{this|}}}|#default={{Autolang|{{{this|This}}}|eo=ĉi tio|ru={{{this|Это}}}|zh={{{this|这}}}}}|0=}} }}<!--
-->{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{#switch:{{{type|}}}|#default={{DISPLAYTITLE:{{Code|preset=0|style=color:white|select=all|background=transparent|{{{1|}}}}}|noreplace}}}}|convar|command=|shader|s0|s1=}}{{Code|select=all| {{{1|}}} }}|{{Autolang|This is a|eo=ĉi tio estas|ru=Это&nbsp|zh=这是一个}} }}<!--
 
    ++ Space (Chinese doesn't need space) ++
 
-->{{Autolang
|&nbsp;
|eo=&nbsp;
|ru=&nbsp;
|zh=}}<!--
 
    ++ "is a" ++
 
-->{{Autolang
|is a
|eo=estas
|ru={{#if:{{{1|}}}|— это}}
|zh=是一个}}<!--


     ++ Cut entities ++
     ++ Cut entities ++


-->{{#switch:{{lc:{{{cut}}}}}
-->{{#switch:{{lc:{{{cut}}}}}
|1|true   = {{Autolang|&nbsp;cut|zh=被移除的}}{{main other|{{#if:{{{nocat|}}}||[[Category:Cut Entities]]}}}}
| 1
|#default =<!--
| true       = {{Autolang|&nbsp;cut|zh=被移除的}}{{main other|{{#if:{{{nocat|}}}||[[Category:Cut Entities]]}}}}
-->}}<!--
| #default   =}}<!--


     ++ Space (Chinese doesn't need space) ++
     ++ Space (Chinese doesn't need space) ++
Line 190: Line 207:
                 -->|s0|pixel shader=Pixel Shader
                 -->|s0|pixel shader=Pixel Shader
                 -->|s1|vertex shader=Vertex Shader<!--
                 -->|s1|vertex shader=Vertex Shader<!--
-->}} }}}]]}}}}
-->}}<!---->}}}]]}}}}
| {{#if: {{{series|}}}
| {{#if: {{{series|}}}
   | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{series}}} {{{topic|<!--
   | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{series}}} {{{topic|<!--
Line 200: Line 217:
                 -->|s0|pixel shader=Pixel Shader
                 -->|s0|pixel shader=Pixel Shader
                 -->|s1|vertex shader=Vertex Shader<!--
                 -->|s1|vertex shader=Vertex Shader<!--
-->}} }}}]]}}}}
-->}}<!---->}}}]]}}}}
   | {{#if: {{{seriescs|}}}
   | {{#if: {{{seriescs|}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{seriescs}}}: Source <!--
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{seriescs}}}: Source <!--

Revision as of 14:35, 15 August 2023

Note.pngNote:This template will be moved to Template:Format in order to unify all the formatting templates such as {{Console Command}}, {{Shader}}. (Discuss)

Template:Doc