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
No edit summary
Line 9: Line 9:
     }}
     }}
}}<!--
}}<!--
     Icon for entity
     Icon for entity


Line 25: Line 26:
     All the actual text
     All the actual text


-->{{this is a/strings|this is a
-->{{this is a/strings|this is a|plural={{#if:{{{name1|}}}|1}}


   |this = {{#if:{{{name|}}}
   |this = {{#if:{{{name|}}}<!--
      |{{Code|{{{name}}}}}
    -->|{{this is a/strings|list
          |<code>{{{name}}}</code><!--
        -->|{{#if:{{{name1|}}}|<code>{{{name1}}}</code> }}<!--
        -->|{{#if:{{{name2|}}}|<code>{{{name2}}}</code> }}<!--
        -->|{{#if:{{{name3|}}}|<code>{{{name3}}}</code> }}<!--
        -->|{{#if:{{{name4|}}}|<code>{{{name4}}}</code> }}<!--
        -->|{{#if:{{{name5|}}}|<code>{{{name5}}}</code> }} }}
       |{{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" -->
     }}
     }}
Line 38: Line 45:
-->|dx95|dx90c={{Dx95}}
-->|dx95|dx90c={{Dx95}}
     }}
     }}
   |cut = {{yesno|{{{cut|}}}|yes={{this is a/strings|cut}} }}
 
   |internal = {{yesno|{{{internal|}}}|yes={{this is a/strings|internal}} }}
  <!-- The type and whether the word is plural are passed so the sentence can be properly conjugated in appropriate languages -->
   |cut     = {{yesno|{{{cut|}}}|yes={{this is a/strings|cut|type={{{1}}}|plural={{#if:{{{name1|}}}|1}} }} }}
   |internal = {{yesno|{{{internal|}}}|yes={{this is a/strings|internal|type={{{1}}}|plural={{#if:{{{name1|}}}|1}} }} }}




   |type = {{if empty <!-- if not a valid type, default to whatever the parameter says -->
   |type = {{if empty <!-- if not a valid type, default to whatever the parameter says -->
       |{{this is a/strings|type|{{{1}}} }}
       |{{this is a/strings|type|{{{1}}}|plural={{#if:{{{name1|}}}|1}}}}
       |{{{1}}}
       |{{{1}}}
     }}  
     }}
 
    <!-- Pass the type parameter for conjugation -->
  |type-param = {{{1|}}}




Line 111: Line 123:


     -->{{#if:{{{series|}}}|{{this is a/category|{{{1}}}|in={{{series}}} series|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
     -->{{#if:{{{series|}}}|{{this is a/category|{{{1}}}|in={{{series}}} series|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
 
-->{{#if:{{{internal|}}}||{{#ifeq:{{{non-internal|1}}|1|{{ACategory|Non-internal entities}}|}} }}<!--
     Add to Category:Source base (type) if game, engine, and series are all unspecified  
     Add to Category:Source base (type) if game, engine, and series are all unspecified  



Revision as of 14:03, 30 March 2025

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