Template:I
From Valve Developer Community
		(Redirected from Template:IO:zh-cn)
		
		
		
		Jump to navigation
		Jump to search
		 English
 EnglishThis template is used to generate input definitions on entity pages. Use {{O}} for output definitions.
Usage
{{I|<name>|<description>}}
 Note:Don't forget to use
Note:Don't forget to use {{=}} to escape any "=" characters in the text.Examples and Parameters
| Parameter | Description | Example | Preview | 
|---|---|---|---|
| deprecated | This input/output is deprecated and should no longer be used. | {{O|OnDeprecated|Really, don't use me anymore!|deprecated=1}} | |
| nofgd | This input/output isn't available in the official FGD. | {{I|AddFGD|Because I'm not there!|nofgd=1}} | 
 | 
| param | Optional variable type for parameters. | {{I|SetString|Updates the string.|param=string}} | 
 | 
| since | This input/output is available since this game. Can use either {{<game> add}} or {{Since}}templates. | {{O|OnAlienSwarm|I'm available in Portal 2, too!|since=AS}} | 
 | 
| also | This input/output is also available in this game. Can use either {{<game> also}} or {{Also}}templates. | {{O|OnAlienSwarm|I'm also available in Garry's Mod!|since=AS|also=GMOD}} | 
 | 
| only | This input/output is available only in this game. Can use either {{<game> only}} or {{Only}}templates. | {{O|OnAlienSwarm|I'm only available in Alien Swarm!|only=AS}} | |
| not | This input/output is not available just in this game. Only uses the template {{Not}}. | {{O|OnAlienSwarm|I'm available in Portal 2 as well, but not in CS:GO!|since={{as}}|not={{csgo}}}} | 
 | 
| removed | This input/output was removed in this game. Only uses the template {{Removed}}. | {{O|OnAlienSwarm|I'm available in Portal 2 too, but not in CS:GO, nor in anything after it!|since={{as}}|removed={{csgo}}}} | 
 | 
| to | Use this to define a set of inputs/outputs with very similar names. | {{I|SetTarget1|to=SetTarget4|param=string|Sets targets 1-4…}} | 
 | 
See also
The above documentation is transcluded from Template:I/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Hidden category: 























 Available doc translations
 Available doc translations 
 
  
  
  
 


