Template:VT: Difference between revisions
Jump to navigation
Jump to search
(consistency, french, L template) |
mNo edit summary |
||
(42 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Doc}} | {{Doc}} | ||
<includeonly><onlyinclude>{{ | <includeonly> | ||
<onlyinclude>{{#switch: {{language}}<!-- | |||
----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ||
English | English | ||
-->| | -->| #default = <kbd><{{#switch:{{lc:{{{1|}}}}} | ||
| ??? = <span style="color:grey" title="Type not yet identified — check the games FGD documentation">???</span> | |||
| angle = {{lx|QAngle|angle}}{{VT/{{{type|}}}rawtypelink|Vector}} | |||
| angles = {{lx|QAngle|angles}}{{VT/{{{type|}}}rawtypelink|Vector}} | |||
| axis = axis | | axis = axis | ||
| bool | | bool | ||
| boolean = {{Lx|boolean}} | | boolean = {{Lx|boolean}}{{VT/{{{type|}}}rawtypelink|boolean}} | ||
| unsigned char | |||
| byte = {{Lx|byte}} | |||
| byte choices = {{Lx|byte}} choices | |||
| char = {{Lx|char}} | |||
| char choices = {{Lx|char}} choices | |||
| choices = choices | | choices = choices | ||
| rgb | | rgb | ||
| color255 = {{Lx|color255}} | | color255 = {{Lx|color255}}{{VT/{{{type|}}}rawtypelink|color32}} | ||
| color1 = {{Lx|color1}} | |||
| color255+int | | color255+int | ||
| color255 + int = {{Lx|color255}} + {{Lx|int}} | | color255 + int = {{Lx|color255}} + {{Lx|int}} | ||
Line 18: | Line 28: | ||
| env cubemap / texture | | env cubemap / texture | ||
| env_cubemap/texture | | env_cubemap/texture | ||
| env_cubemap / texture = {{Ent|env_cubemap}}/{{Lx|texture}} | | env_cubemap / texture = {{Ent|env_cubemap}}/{{Lx|texture}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| ehandle = [[IO type ehandle|targetname*]]{{VT/{{{type|}}}rawtypelink|ehandle}} | |||
| file | |||
| filename | |||
| filepath = file path{{VT/{{{type|}}}rawtypelink|string}} | |||
| filter | | filter | ||
| filterclass | | filterclass = {{Lx|filter}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| float = {{Lx|float}} | | float = {{Lx|float}}{{VT/{{{type|}}}rawtypelink|float}} | ||
| int | | int | ||
| integer = {{Lx|integer}} | | integer = {{Lx|integer}}{{VT/{{{type|}}}rawtypelink|integer}} | ||
| int 0-10 = {{Lx|integer}} 0–10 <!-- for ambient_generic --> | | integer choices = {{Lx|integer}} choices{{VT/{{{type|}}}rawtypelink|integer}} | ||
| int 0-100 = {{Lx|integer}} 0–100 <!-- for ambient_generic --> | | int 0-10 | ||
| int 0-1000 = {{Lx|integer}} 0–1000 <!-- for ambient_generic --> | | integer 0-10 = {{Lx|integer}} 0–10 <!-- for ambient_generic --> | ||
| int 0-255 = {{Lx|integer}} 0–255 <!-- for ambient_generic --> | | int 0-100 | ||
| integer 0-100 = {{Lx|integer}} 0–100 <!-- for ambient_generic --> | |||
| int 0-1000 | |||
| integer 0-1000 = {{Lx|integer}} 0–1000 <!-- for ambient_generic --> | |||
| int 0-255 | |||
| integer 0-255 = {{Lx|integer}} 0–255 <!-- for ambient_generic; not to be confused with byte --> | |||
| material property | | material property | ||
| property = {{Lx|Material surface properties|property}} | | property = {{Lx|Material surface properties|property}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| script | | script | ||
| vscript = {{Lx|VScript|script}} | | vscript = {{Lx|VScript/script|script}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| sky | |||
| skybox | |||
| skyname = {{Lx|Skybox|sky name}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| rgb matrix = {{Lx|RGB}} {{Lx|matrix}} | | rgb matrix = {{Lx|RGB}} {{Lx|matrix}} | ||
| scriptlist = {{Lx|VScript|scriptlist}} | | scriptlist = {{Lx|VScript/scriptlist|scriptlist}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| str | | str | ||
| string = {{Lx|string}} | | string = {{Lx|string}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| string choices = {{Lx|string}} choices{{VT/{{{type|}}}rawtypelink|string}} | |||
| model | | model | ||
| modelname | | modelname | ||
Line 41: | Line 64: | ||
| modelpath | | modelpath | ||
| model path | | model path | ||
| studio = {{Lx|Model|model path}} | | studio = {{Lx|Model|model path}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| target | | target | ||
| targetname | | targetname | ||
| | | target_destination = {{Lx|targetname|targetname}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| | | target_source = {{Lx|targetname|string}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| variant = [[IO type variant|variant]]{{VT/{{{type|}}}rawtypelink|variant}} | |||
| vec | |||
| vecline | | vecline | ||
| vector = {{Lx|Material vector|vector}} | | vector = {{Lx|Material vector|vector}}{{VT/{{{type|}}}rawtypelink|Vector}} | ||
| vec2 | |||
| vector2 = {{Lx|Material vector#vector2|vector2}} | | vector2 = {{Lx|Material vector#vector2|vector2}} | ||
| vec3 | |||
| vector3 = {{Lx|Material vector#vector3|vector3}} | | vector3 = {{Lx|Material vector#vector3|vector3}} | ||
| vec4 | |||
| vector4 = {{Lx|Material vector#vector4|vector4}} | | vector4 = {{Lx|Material vector#vector4|vector4}} | ||
| void = void | | void = <span style="color:grey">void</span> | ||
| {{#if:{{{1|}}}|{{Lx|{{{1|}}}}}|void}} | |||
}}></kbd><!-- | |||
----------------------------------------------------------------------------------- | |||
Croatian | |||
-->| hr = <kbd><{{#switch:{{lc:{{{1|}}}}} | |||
| ??? = <span style="color:grey" title="Vrsta još nije identificirana — provjerite FGD dokumentaciju igre">???</span> | |||
| angle = {{lx|QAngle|angle}}{{VT/{{{type|}}}rawtypelink|Vector}} | |||
| angles = {{lx|QAngle|angles}}{{VT/{{{type|}}}rawtypelink|Vector}} | |||
| axis = axis | |||
| bool | |||
| boolean = {{Lx|boolean|Booleov}}{{VT/{{{type|}}}rawtypelink|boolean}} | |||
| unsigned char | |||
| byte = {{Lx|byte|bajt}} | |||
| byte choices = izbor {{Lx|byte|bajtova}} | |||
| char = {{Lx|char}} | |||
| char choices = {{Lx|char}} izbora | |||
| choices = izbora | |||
| rgb | |||
| color255 = {{Lx|color255|boja255}}{{VT/{{{type|}}}rawtypelink|color32}} | |||
| color1 = {{Lx|color1|boja1}} | |||
| color255+int | |||
| color255 + int = {{Lx|color255|boja255}} + {{Lx|int|cijeli broj}} | |||
| cubemap/texture | |||
| cubemap / texture | |||
| env cubemap/texture | |||
| env cubemap / texture | |||
| env_cubemap/texture | |||
| env_cubemap / texture = {{Ent|env_cubemap}}/{{Lx|texture|tekstura}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| ehandle = {{Lx|IO type ehandle|targetname*}}{{VT/{{{type|}}}rawtypelink|ehandle}} | |||
| file | |||
| filename | |||
| filepath = put datoteke{{VT/{{{type|}}}rawtypelink|string}} | |||
| filter | |||
| filterclass = {{Lx|filter}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| float = {{Lx|float}}{{VT/{{{type|}}}rawtypelink|float}} | |||
| int | |||
| integer = {{Lx|integer|cijeli broj}}{{VT/{{{type|}}}rawtypelink|integer}} | |||
| integer choices = {{Lx|integer|cjelobrojni}} izbori{{VT/{{{type|}}}rawtypelink|integer}} | |||
| int 0-10 | |||
| integer 0-10 = {{Lx|integer|cijeli broj}} 0–10 <!-- for ambient_generic --> | |||
| int 0-100 | |||
| integer 0-100 = {{Lx|integer|cijeli broj}} 0–100 <!-- for ambient_generic --> | |||
| int 0-1000 | |||
| integer 0-1000 = {{Lx|integer|cijeli broj}} 0–1000 <!-- for ambient_generic --> | |||
| int 0-255 | |||
| integer 0-255 = {{Lx|integer|cijeli broj}} 0–255 <!-- for ambient_generic; not to be confused with byte --> | |||
| material property | |||
| property = {{Lx|Material surface properties|vlasništvo}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| script | |||
| vscript = {{Lx|VScript/script|script}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| sky | |||
| skybox | |||
| skyname = {{Lx|Skybox|ime neba}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| rgb matrix = {{Lx|RGB}} {{Lx|matrix|matrica}} | |||
| scriptlist = {{Lx|VScript/scriptlist|popis skripti}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| str | |||
| string = {{Lx|string|niz}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| string choices = izbor {{Lx|string|nizova}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| model | |||
| modelname | |||
| model name | |||
| modelpath | |||
| model path | |||
| studio = {{Lx|Model|put modela}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| target | |||
| targetname | |||
| target_destination = {{Lx|targetname|targetname}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| target_source = {{Lx|targetname|niz}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| variant = {{Lx|IO type variant|varijanta}}{{VT/{{{type|}}}rawtypelink|variant}} | |||
| vec | |||
| vecline | |||
| vector = {{Lx|Material vector|vektor}}{{VT/{{{type|}}}rawtypelink|Vector}} | |||
| vec2 | |||
| vector2 = {{Lx|Material vector#vector2|vektor2}} | |||
| vec3 | |||
| vector3 = {{Lx|Material vector#vector3|vektor3}} | |||
| vec4 | |||
| vector4 = {{Lx|Material vector#vector4|vektor4}} | |||
| void = <span style="color:grey">void</span> | |||
| {{#if:{{{1|}}}|{{Lx|{{{1|}}}}}|void}} | | {{#if:{{{1|}}}|{{Lx|{{{1|}}}}}|void}} | ||
}}></kbd><!-- | }}></kbd><!-- | ||
----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ||
Simplified Chinese | Simplified Chinese | ||
-->|zh=<kbd><{{#switch: {{{1|}}} | -->|zh = <kbd><{{#switch: {{{1|}}} | ||
|axis = 轴 | |axis = 轴 | ||
|boolean | |boolean | ||
Line 97: | Line 204: | ||
|script = {{L|VScript|脚本}} | |script = {{L|VScript|脚本}} | ||
|string | |string | ||
|字符串 = {{L|String | |字符串 = {{L|String|字符串}} | ||
|studio = {{L|Model|模型文件路径}} | |studio = {{L|Model|模型文件路径}} | ||
|target_source = target_source | |target_source = target_source | ||
Line 113: | Line 220: | ||
----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ||
Russian | Russian | ||
-->|ru=<kbd><{{#switch:{{lc:{{{1|}}}}} | -->| ru = <kbd><{{#switch:{{lc:{{{1|}}}}} | ||
| angles = {{ | | ??? = <span style="color:grey" title="Тип не определён — проверьте документацию FGD-файлов игры">???</span> | ||
| axis = {{ | | angle = {{Lx|QAngle|угол}}{{VT/{{{type|}}}rawtypelink|Vector}} | ||
| bool = {{ | | angles = {{Lx|QAngle|углы}}{{VT/{{{type|}}}rawtypelink|Vector}} | ||
| | | axis = {{Lx|coordinates|координаты}} | ||
| bool | |||
| boolean = {{Lx|boolean|булева переменная}}{{VT/{{{type|}}}rawtypelink|boolean}} | |||
| unsigned char | |||
| byte = {{Lx|byte|байт}} | |||
| byte choices = {{Lx|byte|байт}} выбор | |||
| char = {{Lx|char|символ}} | |||
| char choices = {{Lx|char|символ}} выбор | |||
| choices = варианты выбора | | choices = варианты выбора | ||
| rgb = {{ | | rgb | ||
| color255 = {{Lx|color255|цвет КЗС}}{{VT/{{{type|}}}rawtypelink|color32}} | |||
| | | color1 = {{Lx|color1|цвет КЗС}} 0-1 | ||
| color255 + int = {{ | | color255+int | ||
| cubemap/texture | | color255 + int = {{Lx|color255|цвет КЗС}} + {{Lx|integer|целое число}} | ||
| cubemap / texture | | cubemap/texture | ||
| | | cubemap / texture | ||
| env cubemap/texture | |||
| | | env cubemap / texture | ||
| | | env_cubemap/texture | ||
| filter = {{ | | env_cubemap / texture = {{Ent|env_cubemap}}/{{Lx|texture|текстура}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| ehandle = [[IO type ehandle|целевой_объект*]]{{VT/{{{type|}}}rawtypelink|ehandle}} | |||
| float = {{ | | file | ||
| int = {{ | | filename | ||
| integer = {{ | | filepath = путь файла{{VT/{{{type|}}}rawtypelink|string}} | ||
| int 0-10 = {{ | | filter | ||
| int 0-100 = {{ | | filterclass = {{Lx|filter|фильтр}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| int 0-1000 = {{ | | float = {{Lx|float|число с плавающей запятой}}{{VT/{{{type|}}}rawtypelink|float}} | ||
| int 0-255 = {{ | | int | ||
| material property = {{ | | integer = {{Lx|integer|целое число}}{{VT/{{{type|}}}rawtypelink|integer}} | ||
| integer choices = {{Lx|integer|целое число}} выбор{{VT/{{{type|}}}rawtypelink|integer}} | |||
| script = {{ | | int 0-10 | ||
| | | integer 0-10 = {{Lx|integer|целое число}} 0–10 <!-- для ambient_generic --> | ||
| rgb matrix = {{ | | int 0-100 | ||
| scriptlist = {{ | | integer 0-100 = {{Lx|integer|целое число}} 0–100 <!-- для ambient_generic --> | ||
| str = {{ | | int 0-1000 | ||
| string = {{ | | integer 0-1000 = {{Lx|integer|целое число}} 0–1000 <!-- для ambient_generic --> | ||
| int 0-255 | |||
| | | integer 0-255 = {{Lx|integer|целое число}} 0–255 <!-- для ambient_generic; не следует путать с байтом --> | ||
| model name = {{ | | material property | ||
| modelpath | | property = {{Lx|Material surface properties|свойство}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| model path = {{ | | script | ||
| vscript = {{Lx|VScript/script|скрипт}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| target = {{ | | sky | ||
| skybox | |||
| target_source = {{ | | skyname = {{Lx|Skybox|имя неба}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| rgb matrix = {{Lx|RGB|КЗС}} {{Lx|Matrix3x4_t|матрица}} | |||
| | | scriptlist = {{Lx|VScript/scriptlist|скриптлист VScript}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| vector = {{ | | str | ||
| vector2 = {{ | | string = {{Lx|string|строка}}{{VT/{{{type|}}}rawtypelink|string}} | ||
| vector3 = {{ | | string choices = {{Lx|string|строка}} выбор{{VT/{{{type|}}}rawtypelink|string}} | ||
| vector4 = {{ | | model = {{Lx|Model|модель}} | ||
| void = | | modelname | ||
| model name = {{Lx|Model|имя модели}} | |||
| modelpath | |||
| model path | |||
| studio = {{Lx|Model|путь к модели}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| target | |||
| targetname | |||
| target_destination = {{Lx|targetname|целевой объект}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| target_source = {{Lx|targetname|объект источник}}{{VT/{{{type|}}}rawtypelink|string}} | |||
| variant = [[IO type variant|варианта]]{{VT/{{{type|}}}rawtypelink|variant}} | |||
| vec | |||
| vecline | |||
| vector = {{Lx|Material vector|вектор данных}}{{VT/{{{type|}}}rawtypelink|Vector}} | |||
| vec2 | |||
| vector2 = {{Lx|Material vector#vector2|вектор данных2}} | |||
| vec3 | |||
| vector3 = {{Lx|Material vector#vector3|вектор данных3}} | |||
| vec4 | |||
| vector4 = {{Lx|Material vector#vector4|вектор данных4}} | |||
| void = <span style="color:grey">пусто</span> | |||
| {{#if:{{{1|}}}|{{L|{{{1|}}}}}|void}} | | {{#if:{{{1|}}}|{{L|{{{1|}}}}}|void}} | ||
}}></kbd><!-- | }}></kbd><!-- | ||
----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ||
French | French | ||
-->| | -->| fr = <kbd><{{#switch:{{lc:{{{1|}}}}} | ||
|bool={{L|boolean|bool}} | |bool={{L|boolean|bool}} | ||
|booléen={{L|boolean|booléen}} | |booléen={{L|boolean|booléen}} | ||
Line 187: | Line 320: | ||
}}></kbd> | }}></kbd> | ||
<!---------------------------> | <!---------------------------> | ||
}}<!--End of | }}<!--End of switch --></onlyinclude> | ||
</includeonly> |
Latest revision as of 06:52, 1 June 2025
The above documentation is transcluded from Template:VT/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.