Template:KeyValue: Difference between revisions
Jump to navigation
Jump to search
Note:Don't forget to use Template:= to escape any "=" characters in the text.
Deprecated (talk | contribs) m (Added MatParam to see also, removed todo for keyvalues with no description) |
m (Lang template) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{ | {{lang|Template:KV}} | ||
| | |||
}} | |||
This template is used to generate Keyvalue definitions on entity pages. | This template is used to generate Keyvalue definitions on entity pages. | ||
Revision as of 20:41, 5 September 2019
This template is used to generate Keyvalue definitions on entity pages.
Basic usage
{{KV|<name>|<variable type>|<description>}}

Named parameters
Parameter | Description | Example | Preview |
---|---|---|---|
deprecated |
This Keyvalue is deprecated and should no longer be used. | {{KV|I'm deprecated|string|Really, don't use me anymore!|deprecated=1}} |
|
nofgd |
This Keyvalue isn't available in the official FGD. | {{KV|Add me to the FGD|boolean|Because I'm not there!|nofgd=1}} |
|
since |
This Keyvalue is available since this game. Uses the template {{<game> add}}. | {{KV|I like Alien Swarm|integer|I'm available in Portal 2, too!|since=AS}} |
|
also |
This Keyvalue is also available in this game. Uses the template {{<game> also}}. | {{KV|I like Alien Swarm|integer|I'm also available in Garry's Mod!|since=AS|also=GMOD}} |
|
only |
This Keyvalue is available only in this game. Uses the template {{<game> only}}. | {{KV|I love Alien Swarm|integer|I'm only available in Alien Swarm!|only=AS}} |
|
to |
Use this to define a set of Keyvalues with very similar names. | {{KV|Sound 01|to=Sound 24|string|There are many of us...}} |
|
See also
- {{{1}}}