Template:IO:zh-cn
Revision as of 01:51, 16 October 2019 by FloraC (talk | contribs) (FloraC moved page Template:IO:zh to Template:IO:zh-cn: Ditto)
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|OnDeprecated|说真的,请不要再用我啦!|deprecated=1}} |
|
nofgd |
这个输出或者输入不存在于fgd中。 | {{IO:zh|AddFGD|因为我不在那~|nofgd=1}} |
|
param |
参数可选的变量类型。 | {{IO:zh|SetString|更新字符。|param=string}} |
|
since |
该输出/输入自该游戏起可以使用。它使用了模板{{<game> add}}. | {{IO:zh|OnAlienSwarm|我也可以在Portal2中使用!|since=AS}} |
|
also |
该输出/输入自该游戏起也可以使用。它使用了模板{{<game> also}}. | {{IO:zh|OnAlienSwarm|我也可以在Gmod中使用!|since=AS|also=GMOD}} |
|
only |
该输出/输入只能在该游戏中使用。它使用了模板 {{<game> only}}. | {{IO:zh|OnAlienSwarm|我只能用于Alien Swarm!|only=AS}} |
|
to |
使用这个来定义一系列名字很相似的输出/输入。 | {{IO:zh|Sound01|to=Sound24|我们有许多……}} |
|
See also
{{{1}}}