Template:KV TeamNum/doc: Difference between revisions
(Changed the method of showing Examples, along with the parameters document method) |
m (oops, wrong case for the case sensitive template (Template:EP2 --> Template:Ep2)) |
||
Line 22: | Line 22: | ||
{{KV TeamNum|l4d=1}} | {{KV TeamNum|l4d=1}} | ||
<h3>Show info for its base</h3> | <h3>Show info for its base</h3> | ||
Information relevant only to this key at / before {{ | Information relevant only to this key at / before {{Ep2}} is displayed. | ||
<pre>{{KV TeamNum|base=1}}</pre> | <pre>{{KV TeamNum|base=1}}</pre> | ||
{{KV TeamNum|base=1}} | {{KV TeamNum|base=1}} | ||
Line 29: | Line 29: | ||
<pre>{{KV TeamNum}}</pre>will: | <pre>{{KV TeamNum}}</pre>will: | ||
{{KV TeamNum}} | {{KV TeamNum}} | ||
==See Also== | ==See Also== | ||
* {{tl|KV BaseEntity}} | * {{tl|KV BaseEntity}} |
Revision as of 06:54, 19 April 2021

Don't forget to purge the contents of the base page upon creating or editing this subpage.
Display information for theTeamNum
key 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 timetf2
- Include info specific tol4d
- Include info specific tol4d2
- Include info specific tocss
- Include info specific tocsgo
- Include info specific to
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 specific to be displayed.
{{KV TeamNum|l4d=1}}
Show info for its base
Information relevant only to this key at / before is displayed.
{{KV TeamNum|base=1}}
- 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:
- Initial Team (TeamNum, or teamnumber
) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator, Spectator/Halloween Souls
- 2: RED
, Survivors
, Terrorists
, Marines (Team-based game modes only)
- 3: BLU/Robots
, Infected
, Counter-Terrorists
, Scientists (Team-based game modes only)
- 5: Halloween Bosses (only in
) !FGD
See Also
{{KV BaseEntity}}
{{I BaseEntity}}