Template:This is a/doc/zh: Difference between revisions
< Template:This is a | doc
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
|align="center"|{{Code|preset=2|{{param|shader}}}} | |align="center"|{{Code|preset=2|{{param|shader}}}} | ||
| 参数所在的着色器(仅当 {{param|1}} 等于 {{code|shader parameter}} 时起作用)。 | | 参数所在的着色器(仅当 {{param|1}} 等于 {{code|shader parameter}} 时起作用)。 | ||
| {{CodeBlock|<nowiki>{{this is a|shader parameter|name=$lightmap|shader=VertexLitGeneric|game=Source 2013 | | {{CodeBlock|<nowiki>{{this is a|shader parameter|name=$lightmap|shader=VertexLitGeneric|game=Source 2013 Multiplayer|game1=Garry's Mod}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{this is a|nocat=1|shader parameter|name=$lightmap|shader=VertexLitGeneric|game=Source 2013 | | {{Capsule|style=2|margin=5px|{{this is a|nocat=1|shader parameter|name=$lightmap|shader=VertexLitGeneric|game=Source 2013 Multiplayer|game1=Garry's Mod|notitlechange=1}} }} | ||
|- | |- | ||
|align="center"|{{Code|preset=2|{{param|engine}}}}<br>{{Code|preset=2|{{param|engine1}}}}<br>{{Code|preset=2|{{param|engine2}}}} | |align="center"|{{Code|preset=2|{{param|engine}}}}<br>{{Code|preset=2|{{param|engine1}}}}<br>{{Code|preset=2|{{param|engine2}}}} |
Latest revision as of 16:04, 30 May 2025

This is a documentation subpage for Template:This is a.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
此模板是所有实体、控制台命令/变量和着色器页面的主格式页面。每个页面应该在开头包含此内容,以描述每个项目的基本信息,例如它们的含义和可用性。
参数和示例
*: 必要的参数。
参数 | 描述 | 示例 | 预览 |
---|---|---|---|
*{{{1}}} | 对象的类型。以下类型可用:
实体: 控制台变量、控制台命令和 QC 命令:
其他:
![]() |
|
|
{{{shader}}} | 参数所在的着色器(仅当 {{{1}}} 等于 shader parameter 时起作用)。 | ||
{{{engine}}} {{{engine1}}} {{{engine2}}} |
对象应该属于哪个引擎。
![]() |
||
{{{except}}} | 该对象存在于其他所有游戏除了这个游戏外。![]() ![]() |
||
{{{since}}} | 这个对象自从这个游戏中可用。![]() ![]() |
||
{{{name}}} | 对象的名称。它会更改页面名称。默认值为“这”。将其指定为 0 可以移除对象名称。 | ||
{{{series}}} | 对象存在于的系列游戏。 | 这是一个固体实体 ,可在
![]() ![]() | |
{{{game}}} | 对象可用于的游戏。![]() ![]() |
这是一个路径实体 ,可在
![]() | |
{{{notitlechange}}} | 你可以通过这个参数来防止模板更改页面标题。用于 /doc 页面。 | ||
{{{internal}}} | 如果启用 (值为 1 或 true),则分类页面,并且在“……实体”前显示“内部的”。 | ||
{{{cut}}} | 如果启用,则在“(内部的)……实体”前显示“被移除的”。同时把页面分类。 | ||
{{{sprite}}} | 实体的图标:
|
||
{{{icon}}} | 使游戏图标显示在左边。
|
||
{{{game1}}} ~ {{{game5}}} | 如果对象存在于多个游戏,用这些参数进行描述。![]() ![]() |
这是一个点实体 ,可在
![]() ![]() ![]() ![]() ![]() ![]() | |
{{{nocat}}} | 不添加任何分类。 | 不适用 | |
{{{except-multi}}} | 与 {{{except}}} 相似,但可以同时指定多个游戏。![]() |
另请参阅

- {{Ent}}
- {{Point ent}}
- {{Base point multi}}
- {{Brush ent}}
- {{Base brush multi}}
- {{Game name}}
- {{Shaderparam}}