Template:IO:zh-cn: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Note:Don't forget to use Template:= to escape any "=" characters in the text.
		
	
No edit summary  | 
				No edit summary  | 
				||
| Line 11: | Line 11: | ||
! Parameter || Description || Example || Preview  | ! Parameter || Description || Example || Preview  | ||
|-  | |-  | ||
| <code>deprecated</code> ||   | | <code>deprecated</code> || 这个输出或者输入已经被弃用。 || <code><nowiki>{{IO;zh|已弃用|说真的,请不要再用我啦!|deprecated=1}}</nowiki></code> || {{IO:zh|已弃用|说真的,请不要再用我啦!|deprecated=1}}  | ||
|-  | |-  | ||
| <code>nofgd</code> || This input/output isn't available in the official FGD. || <code><nowiki>{{IO|AddFGD|Because I'm not there!|nofgd=1}}</nowiki></code> || {{IO|AddFGD|Because I'm not there!|nofgd=1}}  | | <code>nofgd</code> || This input/output isn't available in the official FGD. || <code><nowiki>{{IO|AddFGD|Because I'm not there!|nofgd=1}}</nowiki></code> || {{IO|AddFGD|Because I'm not there!|nofgd=1}}  | ||
Revision as of 04:56, 12 October 2019
This template is used to generate input/output definitions on entity pages.
Basic usage
{{IO|<name>|<description>}}
Named parameters
| Parameter | Description | Example | Preview | 
|---|---|---|---|
deprecated | 
这个输出或者输入已经被弃用。 | {{IO;zh|已弃用|说真的,请不要再用我啦!|deprecated=1}} | 
|
nofgd | 
This input/output isn't available in the official FGD. | {{IO|AddFGD|Because I'm not there!|nofgd=1}} | 
  | 
param | 
Optional variable type for parameters. | {{IO|SetString|Updates the string.|param=string}} | 
  | 
since | 
This input/output is available since this game. Uses the template {{<game> add}}. | {{IO|OnAlienSwarm|I'm available in Portal 2, too!|since=AS}} | 
  | 
also | 
This input/output is also available in this game. Uses the template {{<game> also}}. | {{IO|OnAlienSwarm|I'm also available in Garry's Mod!|since=AS|also=GMOD}} | 
  | 
only | 
This input/output is available only in this game. Uses the template {{<game> only}}. | {{IO|OnAlienSwarm|I'm only available in Alien Swarm!|only=AS}} | 
|
to | 
Use this to define a set of inputs/outputs with very similar names. | {{IO|Sound01|to=Sound24|There are many of us...}} | 
  | 
See also
{{{1}}}