Template:KV TeamNum

From Valve Developer Community
Jump to: navigation, search


Template icon Template documentation[view] [edit] [history] [purge]

Display information for theTeamNumkey in a a consistent and easy to use manner. This key exists for all entities inheriting theCBaseEntityclass, but since quite a considerable amount of entities aren't affected by it at all, or in a meaningful enough manner, the information for this key will be documented with this template.

Usage

Parameters of this must be used for all pages to display information properly. They are as follow:

  • base - Shows only information relevant to when it was initially added for the first time
  • tf2 - Include info specific to <Team Fortress 2>
  • l4d - Include info specific to Left 4 Dead
  • l4d2 - Include info specific to <Left 4 Dead 2>
  • css - Include info specific to <Counter-Strike: Source>
  • csgo - Include info specific to Counter-Strike: Global Offensive

These must be used in a specific syntax; All the parameters must be given a value of 1, like for example:tf2=1for <Team Fortress 2> specific info. Refer to the Examples section.

Examples

Show info specific to a game Left 4 Dead

This makes information specific to Left 4 Dead be displayed.

{{KV TeamNum|l4d=1}}

TeamNum:

Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator
  • 2: Survivors Left 4 Dead
  • 3: Infected Left 4 Dead

Show info for its base

Information relevant only to this key at / before <Half-Life 2: Episode Two><Half-Life 2: Episode Two> is displayed.

{{KV TeamNum|base=1}}

TeamNum:

Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator

Show information for all games

Shows every game information for this key that this template can display.

{{KV TeamNum}}
will:

TeamNum:

Initial Team (TeamNum, teamnumber (only in Counter-Strike: Global Offensive)) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator
  • 2: Red <Team Fortress 2>, Survivors Left 4 Dead <Left 4 Dead 2>, Terrorists <Counter-Strike: Source> Counter-Strike: Global Offensive
  • 3: Blue <Team Fortress 2>, Infected Left 4 Dead <Left 4 Dead 2>, Counter-Terrorists <Counter-Strike: Source> Counter-Strike: Global Offensive

See Also