Template:This is a
Материал из Valve Developer Community
Перейти к навигации
Перейти к поиску

Этот шаблон используется примерно в 2,800 страницах и изменения окажут сильное влияние.
Протестируйте изменения на подстраницах Песочница или Тестовые примеры или на собственной подстранице пользователя.Рассмотрите возможность обсуждения изменений на странице обсуждения перед их реализацией.
- это {{{1}}}, доступно для всех игр на движке Source.

…
Страница документации Template:This is a/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.

В этом шаблоне используется подстраница строк
Используйте формат этой подстраницы для добавления перевода.
Используйте формат этой подстраницы для добавления перевода.
Количество строк:32
Примерное состояние перевода:
96.88%
84.38%
68.75%
53.13%
78.13%
96.88%
81.25%
96.88%
81.25%
84.38%
Примерное состояние перевода:










This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
You can test how this page looks with it's different skins and parsers.
This template is the master format page for all Entity, Console command/variable, and Shader pages. Each page should have this at the beginning to describe the basic info about each one, such as what they are and their availability.
Parameters and Examples
*: Necessary parameters.

Parameter | Description | Example |
---|---|---|
*{{{1}}} | The type of the object need to describe. The following types are available: Entities:
Console Variables, Commands, QC Commands:
Miscellaneous:
![]() |
{{this is a|''incredible entity''}} {{this is a|brush entity|engine=GoldSrc}} {{this is a|console variable|name=sv_cheats}} {{this is a|pixel shader|name=LightmappedGeneric}} |
- это incredible entity, доступно для всех игр на движке
![]() | ||
{{{shader}}} {{{shader1}}}~{{{shader5}}} |
The shader that a parameter is in (only works if {{{1}}} is equal to shader parameter). Extra parameters allow you to specify multiple shaders. | {{this is a|shader parameter|name=$lightmap|shader=VertexLitGeneric|game=Source 2013 Multiplayer|game1=Garry's Mod}} |
$lightmap - это материальный(en) параметр шейдера(en), доступно для ![]() ![]() | ||
{{{dx}}} | Add DirectX levels inline text.
Available versions:
|
{{this is a|shader parameter|dx=dx8|name=$lightwarptexture|shader=VertexLitGeneric|since=Source 2006}} {{this is a|shader parameter|dx=dx9|name=$lightwarptexture|shader=VertexLitGeneric|since=Source 2006}} {{this is a|shader parameter|dx=dx95|name=$lightwarptexture|shader=VertexLitGeneric|since=Source 2006}} |
$lightwarptexture (DX8) - это материальный(en) параметр шейдера(en), доступно для всех игр на движке ![]() ![]() $lightwarptexture (DX9 SM2) - это материальный(en) параметр шейдера(en), доступно для всех игр на движке ![]() ![]() $lightwarptexture (DX9+ SM3) - это материальный(en) параметр шейдера(en), доступно для всех игр на движке ![]() ![]() | ||
{{{engine}}} {{{engine1}}} {{{engine2}}} |
Which engine the subject belongs to.
![]() |
{{this is a|point entity|engine=GoldSrc|engine1=Source}} {{this is a|point entity|engine=GoldSrc|engine1=Source|engine2=Source 2}} |
{{{except}}} | This is available in all other games except this one. ![]() |
{{this is a|brush entity|name=func_monitor|except=Left 4 Dead series}} |
func_monitor - это брашевая энтити(en), доступно для всех игр на движке ![]() ![]() ![]() | ||
{{{since}}} | This is available since this game. ![]() |
{{this is a|point entity|name=info_player_start|engine=GoldSrc|since=Half-Life}} |
info_player_start - это точечная энтити(en), доступно для всех игр на движке ![]() ![]() | ||
{{{name}}} | The name of the subject. It will change the title of a page. If unspecified, the sentence will just refer to the subject as "this." | {{this is a|point entity|name=info_player_start}} |
{{{this}}} | If set to 0, false, etc. then the sentence will not start with the word "this." Has no effect if {{{name}}} has been specified. | {{this is a|point entity|this=false}} |
{{{series}}} | The series that the subject is available in. | {{this is a|brush entity|series=Counter-Strike}} |
{{{game}}} | The game that the subject is available in. ![]() ![]() |
{{this is a|path entity|game=Team Fortress 2}} |
{{{notitlechange}}} | You can prevent title-changing from the template by using this parameter. Used in the /doc page. | {{this is a|point entity|notitlechange=1|name=info_player_start|engine=GoldSrc|since=Half-Life}} |
info_player_start - это точечная энтити(en), доступно для всех игр на движке ![]() ![]() | ||
{{{internal}}} | If enabled, "cut" will be displayed before "entity" and a category will be added to the page. | {{this is a|entity|internal=1}} |
{{{semi-internal}}} | If enabled, "cut" will be displayed before "entity" and a category will be added to the page. | {{this is a|entity|semi-internal=1}} |
{{{cut}}} | If enabled, "cut" will be displayed before "(internal) ... entity" and a category will be added to the page. | {{this is a|cut=1|internal=1|entity}} |
{{{sprite}}} | The icon of the entity:
|
{{this is a|point entity|name=logic_script|sprite=1}} |
{{{icon}}} | Make the game icon appear left-aligned.
|
{{this is a|point entity|name=info_survivor_position|icon=Left 4 Dead series|type=point entity|series=Left 4 Dead}} |
{{{name1}}} ~ {{{name5}}} | If the entity name is similar to another entity and functions the same, like terrorist_team_intro and counterterrorist_team_intro , use these parameters. ![]() |
{{this is a|point entity|name=terrorist_team_intro|name1=counterterrorist_team_intro|game=Counter-Strike 2}} |
terrorist_team_intro и counterterrorist_team_intro - это точечная энтити(en), доступно для ![]() | ||
{{{game1}}} ~ {{{game5}}} | If this is available in multiple games, use these parameters to describe. ![]() ![]() ![]() |
{{this is a|point entity|game=Left 4 Dead|game1=Left 4 Dead 2|game2=Portal 2
|game3=Team Fortress 2|game4=Portal 2|game5=Counter-Strike: Global Offensive}} {{this is a|point entity|name=info_survivor_position|game=Left 4 Dead|game1=Left 4 Dead 2}} |
- это точечная энтити(en), доступно для
![]() ![]() ![]() ![]() ![]() ![]() | ||
{{{nocat}}} | Don't place any categories. | {{this is a|point entity|name=info_player_start|nocat=1}} |
N/A | ||
{{{no-non-int}}} | Don't place it in Category:Non-internal {{{in|}}} entities. | {{this is a|point entity|name=info_player_start|no-non-int=1}} |
N/A | ||
{{{except-multi}}} | Similar to {{{except}}}, but can specify multiple games simultaneously. ![]() |
{{this is a|point entity|name=1|except-multi={{l4d}}{{hl2}}{{csgo}}}} |