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
No edit summary
(updated. adding multiple name support and doing test to make sure its working as intended.)
Line 9: Line 9:
     }}
     }}
}}<!--
}}<!--
     Icon for entity
     Icon for entity


-->{{yesno|{{{sprite|no}}}
-->{{yesno|{{{sprite|no}}}
   |yes = [[File:{{{name|{{SUBPAGENAME}} }}}.png|left|link=]]
   |yes = [[File:{{{name|{{SUBPAGENAME}} }}}.png|left|{{{spritesize|64px}}}|link=]]
   |def = [[File:{{{sprite}}}|left|link=]]
   |def = [[File:{{{sprite}}}|left|{{{spritesize|64px}}}|link=]]
}}<!--
}}<!--


Line 29: Line 28:


   |this = {{#if:{{{name|}}}
   |this = {{#if:{{{name|}}}
       |{{Code|{{{name}}}}}
       |{{Code|{{{name}}}}}<!--
-->{{#if:{{{name1|}}}|{{{name1}}}}}<!--
-->{{#if:{{{name2|}}}|{{{name2}}}}}
       |{{yesno|{{{this}}}|yes={{{this|{{this is a/strings|this}} }}} }} <!-- If the parameter "this" is defined as anything except a 0, no etc., then it reads as a translation of the word "this" -->
       |{{yesno|{{{this}}}|yes={{{this|{{this is a/strings|this}} }}} }} <!-- If the parameter "this" is defined as anything except a 0, no etc., then it reads as a translation of the word "this" -->
     }}
     }}

Revision as of 05:35, 10 February 2025

This is a {{{semi-internal}}} {{{1}}} available in all Source Source games.