Template:KV BaseEntity/doc
Jump to navigation
Jump to search
Note:If you want to edit something on this template, please make sure you edit it in both places. Per-game keyvalues are duplicated, for technical reasons. Also see FGD Template Prototype.
Note:Some
Show info specific to a game

This is a documentation subpage for Template:KV BaseEntity.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Info holder for all keyvalues that inherit theCBaseEntity class. Parameters are vital to display the appropiate info, because new games have added new features throughout the years. See Help:Templates for more info on named parameters.


CBaseEntity
keyvalues are not covered here. See the talk page.Usage
All parameters for this template:
base
- Shows only information relevant to when it was initially added for the first timel4d2
- Include info specific to(VScripts)
csgo
- Include info specific to(Auto-aim targets)
brush
- Include info specific to all sorts of brushes. For extra keys applicable only to visible brushes, use Template:KV visiblebrush in conjunction.
Show Deprecated:
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.)
These must be used in a specific syntax; All the parameters must be given a value of 1, like for example:tf2=1
for specific info. Refer to the Examples section.
Examples
Show info specific to a game 
This makes information relevant only to be displayed.
{{KV BaseEntity|csgo=1}}
will:
Show info for its base
Information relevant only to this key at / before is displayed.
{{KV BaseEntity|base=1}}
will:
Extra brush related keyvalues are displayed with this.
{{KV BaseEntity|brush=1}}
will:
Show information for all games
Shows every game information for this key that this template can display. (Except for brush related)
{{KV BaseEntity}}
will: