<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.openfortress.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AKeyValue%2FDoc</id>
	<title>Template:KeyValue/Doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.openfortress.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AKeyValue%2FDoc"/>
	<link rel="alternate" type="text/html" href="https://www.openfortress.wiki/w/index.php?title=Template:KeyValue/Doc&amp;action=history"/>
	<updated>2026-05-03T13:20:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://www.openfortress.wiki/w/index.php?title=Template:KeyValue/Doc&amp;diff=662&amp;oldid=prev</id>
		<title>Kate: Created page with &quot;&lt;noinclude&gt;{{Doc/subpage}}&lt;/noinclude&gt; &lt;!-- Please place categories where indicated at the bottom of this page.) --&gt; {{shortcut|KV&lt;br&gt;kv}} This template is used to generate Keyvalue definitions on entity pages.  == Usage ==  &lt;nowiki&gt;{{KV|&lt;name&gt;|&lt;variable type&gt;|&lt;description&gt;}}&lt;/nowiki&gt;  {{note|Don&#039;t forget to use Template:= to escape any &quot;{{=}}&quot; characters in the text.}}  == Examples and Parameters ==  {| class=standard-table ! Parameter || Description || Example...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.openfortress.wiki/w/index.php?title=Template:KeyValue/Doc&amp;diff=662&amp;oldid=prev"/>
		<updated>2025-01-04T09:10:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{Doc/subpage}}&amp;lt;/noinclude&amp;gt; &amp;lt;!-- Please place categories where indicated at the bottom of this page.) --&amp;gt; {{shortcut|KV&amp;lt;br&amp;gt;kv}} This template is used to generate &lt;a href=&quot;/wiki/Keyvalue&quot; class=&quot;mw-redirect&quot; title=&quot;Keyvalue&quot;&gt;Keyvalue&lt;/a&gt; definitions on entity pages.  == Usage ==  &amp;lt;nowiki&amp;gt;{{KV|&amp;lt;name&amp;gt;|&amp;lt;variable type&amp;gt;|&amp;lt;description&amp;gt;}}&amp;lt;/nowiki&amp;gt;  {{note|Don&amp;#039;t forget to use &lt;a href=&quot;/wiki/Template:%3D&quot; title=&quot;Template:=&quot;&gt;Template:=&lt;/a&gt; to escape any &amp;quot;{{=}}&amp;quot; characters in the text.}}  == Examples and Parameters ==  {| class=standard-table ! Parameter || Description || Example...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Doc/subpage}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page.) --&amp;gt;&lt;br /&gt;
{{shortcut|KV&amp;lt;br&amp;gt;kv}}&lt;br /&gt;
This template is used to generate [[Keyvalue]] definitions on entity pages.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{KV|&amp;lt;name&amp;gt;|&amp;lt;variable type&amp;gt;|&amp;lt;description&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note|Don&amp;#039;t forget to use [[Template:=]] to escape any &amp;quot;{{=}}&amp;quot; characters in the text.}}&lt;br /&gt;
&lt;br /&gt;
== Examples and Parameters == &lt;br /&gt;
{| class=standard-table&lt;br /&gt;
! Parameter || Description || Example || Preview&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;deprecated&amp;lt;/code&amp;gt; || This Keyvalue is deprecated and should no longer be used. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|I&amp;#039;m deprecated|intn=deprecated|string|Really, don&amp;#039;t use me anymore!|deprecated=1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|I&amp;#039;m deprecated|intn=deprecated|string|Really, don&amp;#039;t use me anymore!|deprecated=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;nofgd&amp;lt;/code&amp;gt; || This Keyvalue isn&amp;#039;t available in the official FGD. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|Add me to the FGD|intn=addfgd|boolean|Because I&amp;#039;m not there!|nofgd=1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|Add me to the FGD|intn=addfgd|boolean|Because I&amp;#039;m not there!|nofgd=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;intn&amp;lt;/code&amp;gt; || The internal/engine name for this Keyvalue.&amp;lt;br&amp;gt;Required; if absent, the page will display green todo text and applies [[:Category:Pages with undefined internal keyvalue names]]. You can look for internal names in [[:Category:Valve FGD|fgds]]. If internal name doesn&amp;#039;t need to be specified use &amp;lt;code&amp;gt;intn=0.&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|Name|intn=targetname|string|The name that other entities refer to this entity by.}}&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{KV|Name|string|The name that other entities refer to this entity by.}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{KV|Name|intn=targetname|string|The name that other entities refer to this entity by.}}&lt;br /&gt;
{{KV|Name|string|The name that other entities refer to this entity by.}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;since&amp;lt;/code&amp;gt; || This Keyvalue is available since this game. Can use either &amp;lt;nowiki&amp;gt;{{&amp;lt;game&amp;gt; add}}&amp;lt;/nowiki&amp;gt; or {{tl|Since}} templates. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|I like Alien Swarm|intn=likealienswarm|bool|I&amp;#039;m available in Portal 2, too!|since=AS}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|I like Alien Swarm|intn=likealienswarm|bool|I&amp;#039;m available in Portal 2, too!|since=AS}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;also&amp;lt;/code&amp;gt; || This Keyvalue is also available in this game. Can use either &amp;lt;nowiki&amp;gt;{{&amp;lt;game&amp;gt; also}}&amp;lt;/nowiki&amp;gt; or {{tl|Also}} templates. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|I like Alien Swarm|intn=likealienswarm|bool|I&amp;#039;m also available in Garry&amp;#039;s Mod!|since=AS|also=GMOD}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|I like Alien Swarm|intn=likealienswarm|bool|I&amp;#039;m also available in Garry&amp;#039;s Mod!|since=AS|also={{GMOD}}}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;only&amp;lt;/code&amp;gt; || This Keyvalue is available only in this game. Can use either &amp;lt;nowiki&amp;gt;{{&amp;lt;game&amp;gt; only}}&amp;lt;/nowiki&amp;gt; or {{tl|Only}} templates. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|I love Alien Swarm|intn=lovealienswarm|integer|I&amp;#039;m only available in Alien Swarm!|only=AS}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|I love Alien Swarm|intn=lovealienswarm|integer|I&amp;#039;m only available in Alien Swarm!|only=AS}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;not&amp;lt;/code&amp;gt; || This Keyvalue is not available just in this game. Only uses the template {{tl|Not}}. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|I love Alien Swarm|intn=lovealienswarm|integer|I&amp;#039;m available in Portal 2 too, but not in CS:GO!|since={{as}}|removed={{csgo}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|I love Alien Swarm|intn=lovealienswarm|integer|I&amp;#039;m available in Portal 2 too, but not in CS:GO!|since={{as}}|not={{csgo}}}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;removed&amp;lt;/code&amp;gt; || This Keyvalue was removed in this game onwards. Only uses the template {{tl|Removed}}. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|I love Alien Swarm|intn=lovealienswarm|integer|Actually... I&amp;#039;m not here anymore since Portal 2, including CS:GO...|since={{as}}|removed={{csgo}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|I love Alien Swarm|intn=lovealienswarm|integer|Actually... I&amp;#039;m not here anymore since Portal 2, including CS:GO...|since={{as}}|removed={{portal2}}}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;to&amp;lt;/code&amp;gt; || Use this to define a set of Keyvalues with very similar names. Use &amp;lt;code&amp;gt;intn2&amp;lt;/code&amp;gt; for the second keyvalue&amp;#039;s internal name. || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{KV|Sound 01|intn=Sound01|to=Sound 24|intn2=Sound24|string|There are many of us...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{KV|Sound 01|intn=Sound01|to=Sound 24|intn2=Sound24|string|There are many of us...}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Template:IO]]&lt;br /&gt;
* [[Template:Fl]]&lt;br /&gt;
* [[Template:MatParam]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please --&amp;gt;&lt;br /&gt;
[[Category:FGD Templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kate</name></author>
	</entry>
</feed>