Template:KV BaseEntity/doc
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Info holder of all relevant keyvalues inheriting the CBaseEntity
class. Template parameters are vital in displaying the appropiate info, because new games have added new features throughout the years. See Help:Templates for more info on named parameters.
Not all CBaseEntity
keyvalues are not covered here. But you can see them all at the Uncovered Keyvalues page.
Contents
Usage
These must be used in a specific syntax! - ALL parameters must be given a value of 1, like:l4d2=1
. Only one game parameter can be used at once.
{{KV BaseEntity|l4d2=1}}
Parameters
If you leave the parameter field empty (using no arguments), the template will automatically fallback to displaying keyvalues from the current default game.
All parameters for this template:
base
- No game specific information are displayed, and base engine features only. (The / iteration engine)l4d2
- Set template KVs specific to (VScripts)csgo
- [CURRENT DEFAULT] Set template KVs specific to (VScripts + Auto-aim targets)brush
- Additionaly includes info specific to all sorts of brushes. For extra keys applicable only to visible brushes, use Template:KV visiblebrush in conjunction. Can be used along a game parameter.
css
-(DEPRECATED 10/1/18: Previously used for a notice that was thought to apply to all entities in CS:S. The purpose of this now exists in Template:PreservedEnt. This is completely removed from the template and won't affect anything.) (DEPRECATED 24/3/2021 was brought back for info specific to theteamnum
key. Use{{KV TeamNum}}
instead.)l4d
-(DEPRECATED 9/21/18: Found out these keyvalues only work with renderable things (cpu / gpu level). They have been migrated to visiblebrush and BaseAnimating KV templates. This is completely removed from the template and won't affect anything.)tf2
-(DEPRECATED 20/4/2021: Was only used to showTeamNum
keyvalue's TF2 specific information. Use{{KV TeamNum}}
instead.)
Refer to the Examples section for samples.
Examples
Show info specific to a game
This makes information relevant only to be displayed.
{{KV BaseEntity|l4d2=1}}
Show info specific to base engine
Information relevant only to base engine are displayed. ( / )
{{KV BaseEntity|base=1}}
Extra brush related keyvalues are displayed with this.
{{KV BaseEntity|brush=1}}
Using template defaults
Without using any arguments, the template fallbacks to a default, which is the latest Source game.
{{KV BaseEntity}}
See also
{{KV BaseAnimating}}
{{I BaseEntity}}
{{I BaseAnimating}}