Template:InputOutput/doc
![Edit-copy.png](/w/images/thumb/7/78/Edit-copy.png/40px-Edit-copy.png)
This is a documentation subpage for Template:InputOutput.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template is used to generate input/output definitions on entity pages.
Usage
{{IO|<name>|<description>}}
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
Examples and Parameters
Parameter | Description | Example | Preview |
---|---|---|---|
deprecated |
This input/output is deprecated and should no longer be used. | {{IO|OnDeprecated|Really, don't use me anymore!|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. Can use either {{<game> add}} or {{Since}} templates. |
{{IO|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. |
{{IO|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. |
{{IO|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}} . |
{{IO|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}} . |
{{IO|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. | {{IO|Sound01|to=Sound24|There are many of us...}} |
|
See also