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

Template:This is a/sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Blanked the page)
Tag: Blanking
(testing if the lag is caused by the text or something here)
Line 1: Line 1:
<!--


    Page display name
-->{{#if:{{{name|}}}
  |{{yesno|{{{notitlechange|no}}}
      |yes =
      |no = {{#switch:{{{1}}}
          |#default = {{DISPLAYTITLE:{{Code|preset=0|style=color:white|background=transparent|{{{name}}} }}|noreplace}}
          |console command|console variable|pixel shader|vertex shader =
        }}
    }}
}}<!--
    Icon for entity
-->{{yesno|{{{sprite|no}}}
  |yes = [[File:{{{name|{{PAGENAME}} }}}.png|left|link=]]
  |def = [[File:{{{sprite}}}|left|link=]]
}}<!--
    Icon for game
-->{{yesno|{{{icon|no}}}
  |yes = {{Game icon|{{{game}}} }}&nbsp;
  |def = {{Game icon|{{{icon}}} }}&nbsp;
}}<!--
    All the actual text
--><!--
    Categories
-->{{yesno|{{{nocat|no}}}
|yes =
|no = {{#if:{{this is a/strings|type|{{{1}}} }}
      |{{#if:{{{game|}}} |{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game}}} |cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game1|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game1}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game2|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game2}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game3|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game3}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game4|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game4}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game5|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game5}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{engine|}}} |{{this is a/category|{{{1}}}|type={{{type}}}|in={{{engine}}} base |cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{engine1|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{engine1}}} base|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{engine2|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{engine2}}} base|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{series|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{series}}} series|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    Add to Category:Source base (type) if game, engine, and series are all unspecified
    -->{{#if:{{{game|}}}{{{engine|}}}{{{series|}}}||{{this is a/category|{{{1}}}|type={{{type}}}|in=source base|cut={{{cut|}}}|internal={{{internal|}}} }} }}
    }}
}}<!--
    Top icons
-->{{#if:{{{engine|}}}|{{ {{{engine}}} topicon|nocat=1}} }}<!--
-->{{#if:{{{engine1|}}}|{{ {{{engine1}}} topicon|nocat=1}} }}<!--
-->{{#if:{{{engine2|}}}|{{ {{{engine2}}} topicon|nocat=1}} }}<!--
-->{{#if:{{{engine|}}}{{{game|}}}{{{series|}}}||{{source topicon|nocat=1}} }}<!--
    Warning if {{{1}}} is not present
--><includeonly>{{#if:{{{1|}}}||{{warning|{{this is a/strings|missing parameter }} }} }}</includeonly><!--
-->

Revision as of 14:08, 21 May 2024