Keyvalue/Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed the grammar in the Russian version)
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Uselangflags|en=1|hr=1|ru=1|zh=1|sk=1}}
{{LanguageBar}}
{{see also|{{t|KV Targetname null}}, for entities that are either stripped by compilers or removed shortly after the map spawns}}
<onlyinclude>{{KV
| intn = targetname
| addtext = {{Invisible edit link|namespace=|Keyvalue/Targetname}}
| 1 = [[Targetname|Name]]
| 2 = target_source
| 3 = The name that other entities refer to this entity by, via [[Inputs and Outputs|Inputs/Outputs]] or other [[keyvalue]]s (e.g. <code>[[Entity_Hierarchy_(parenting)#Parentname|parentname]]</code> or <code>target</code>).</br>Also displayed in Hammer's 2D views and [[Hammer Entity Report Dialog|Entity Report]].}} {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}}</onlyinclude>


 
{{wikinote|Can be added to entity pages using template {{T|KV Targetname}}. Language is selected automatically based on the page's prefix.}}
; {{code|<nowiki>{{KV Targetname}}</nowiki>}}
{{KV Targetname}}
[[Category:Keyvalue Templates|T]]
 
<includeonly><onlyinclude>
{{#switch: {{language}}
| #default = {{KV|[[Targetname|Name]]|intn=targetname|target_source|The name that other entities refer to this entity by, via [[Inputs and Outputs|Inputs/Outputs]] or other [[keyvalue]]s (e.g. <code>[[Entity_Hierarchy_(parenting)#Parentname|parentname]]</code> or <code>target</code>).</br>Also displayed in Hammer's 2D views and [[Hammer Entity Report Dialog|Entity Report]].}} {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}}
 
| hr = {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|Naziv kojim se drugi entiteti pozivaju na ovaj entitet, putem {{L|Inputs and Outputs|Inputs/Outputs}} ili drugih {{L|keyvalue|ključne vrijednosti}} (npr. <code>[[Entity_Hierarchy_(parenting)#Parentname|parentname]]</code> ili <code>target</code>).</br>Također se prikazuje u Hammerovim 2D pogledima i {{L|Hammer Entity Report Dialog|Entity Report}}.}} {{seealso|{{L|Generic Keyvalues, Inputs and Outputs|Generičke ključne vrijednosti, ulazi i izlazi}} dostupni svim subjektima}}
 
| ru = {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}} {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|Имя энтити, по которому другие энтити могут ссылаться на этот объект.}}
 
| sk = {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}} {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|Meno, ktoré iné entity použijú ak treba referovať na túto entitu.}}
 
| zh = {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}} {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|其他实体引用该实体的目标名称。}}
}}</onlyinclude></includeonly>

Latest revision as of 07:37, 2 June 2025

English (en)Deutsch (de)Español (es)Français (fr)Hrvatski (hr)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)中文 (zh)Translate (Translate)
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Wiki Note:Can be added to entity pages using template {{KV Targetname}}. Language is selected automatically based on the page's prefix.