Template:I WeaponSpawnSingle/doc

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)
Edit-copy.png
This is a documentation subpage for Template:I WeaponSpawnSingle.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

This is just a shell template for I BaseEntity and I BaseAnimating.

Usage

This template accepts {{{base}}}, {{{l4d2}}}, {{{as}}}, {{{tf2}}}, and {{{portal2}}}. The first three are passed to BaseEntity, and the last two are passed to I BaseAnimating; however, {{{tf2}}} also activates {{{base}}}, and {{{portal2}}} also activates {{{as}}}. If none are set, both will display their default forms (i.e., all inputs).

{{{tf2}}} is for displaying inputs specific to Team Fortress 2 Team Fortress 2, while all the others are for displaying inputs added by those games.

Examples

{{I WeaponSpawnSingle|base=1}} will display the Source 2013 Source 2013/Left 4 Dead Left 4 Dead version:


{{I WeaponSpawnSingle|tf2=1}} will display the Team Fortress 2 Team Fortress 2 version:


{{I WeaponSpawnSingle|l4d2=1}} will display the Left 4 Dead 2 Left 4 Dead 2 version:


{{I WeaponSpawnSingle|as=1}} will display the Alien Swarm engine branch Alien Swarm engine branch version:


{{I WeaponSpawnSingle|portal2=1}} will display the Portal 2 engine branch Portal 2 engine branch/CS:GO engine branch CS:GO engine branch version:


See also

  • {{I BaseAnimating}}
  • {{I BaseEntity}}
  • {{O Weapon}}