Template:This is a/doc/zh: Difference between revisions
< Template:This is a | doc
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
! 预览 | ! 预览 | ||
|- | |- | ||
|align="center"|{{Code|{{param|type}}}} | |align="center"|<strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>{{Code|{{param|type}}}} | ||
| 实体的类型。以下类型可用: | | 实体的类型。以下类型可用: | ||
:* {{Code|e0}} - [[Point entity|点实体]] | :* {{Code|e0}} - [[Point entity|点实体]] | ||
Line 19: | Line 19: | ||
:* {{Code|e4}} - [[Mesh entity|网格实体]] ({{source2|suf=:zh-cn}}) | :* {{Code|e4}} - [[Mesh entity|网格实体]] ({{source2|suf=:zh-cn}}) | ||
:* {{Code|e5}} - [[Path entity|路径实体]] ({{source2|suf=:zh-cn}}) | :* {{Code|e5}} - [[Path entity|路径实体]] ({{source2|suf=:zh-cn}}) | ||
:* 你可以自己指定实体类型。(详见示例) | :* 你可以自己指定实体类型。(详见示例) | ||
| | | | ||
Line 44: | Line 43: | ||
|- | |- | ||
|align="center"|{{Code|{{param|except}}}} | |align="center"|{{Code|{{param|except}}}} | ||
| | | 该实体存在于其他所有游戏除了这个游戏外。默认值为“这”。{{Note:zh-cn|应该在此处填写游戏的全称而不是简称,以便模板根据语言后缀连接多语言页面。}} | ||
| {{CodeBlock|<nowiki>{{entity|suf=:zh-cn|func_monitor|type=e2|except=Left 4 Dead series}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|suf=:zh-cn|func_monitor|type=e2|except=Left 4 Dead series}}</nowiki>}} | ||
| {{Doc/PreviewBlock|margin=5px|{{entity|notitlechange=1|suf=:zh-cn|func_monitor|type=e2|except=Left 4 Dead series}}}} | | {{Doc/PreviewBlock|margin=5px|{{entity|notitlechange=1|suf=:zh-cn|func_monitor|type=e2|except=Left 4 Dead series}}}} | ||
Line 86: | Line 85: | ||
# {{Doc/PreviewBlock|{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | # {{Doc/PreviewBlock|{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | ||
# {{Doc/PreviewBlock|{{entity|suf=:ru|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | # {{Doc/PreviewBlock|{{entity|suf=:ru|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | ||
|- | |||
|align="center"|{{Code|{{param|internal}}}} | |||
|如果启用 (值为 {{Code|1}} 或 {{Code|true}}),则将页面添加到 [[:Category:Internal entities]],并且在“……实体”前显示“内部的”。{{Note:zh-cn|如果 {{param|type|tag=kbd}} 为已经定义的值 (例如 {{Code|e0}}),则该参数无效。}} | |||
|{{CodeBlock|<nowiki>{{entity|suf=:zh-cn|internal=1|type=实体}}</nowiki>}} | |||
|{{Doc/PreviewBlock|{{entity|suf=:zh-cn|internal=1|type=实体}}}} | |||
|- | |||
|align="center"|{{Code|{{param|cut}}}} | |||
|如果启用,则在“……(内部的)实体”前显示“被移除的”。同时把页面添加到 [[:Category:Cut Entities]]。 | |||
|{{CodeBlock|<nowiki>{{entity|suf=:zh-cn|internal=1|type=实体|cut=1}}</nowiki>}} | |||
|{{Doc/PreviewBlock|{{entity|suf=:zh-cn|internal=1|type=实体|cut=1}}}} | |||
|- | |||
|} | |} | ||
<sub>——————<br><strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>: 必要的参数。</sub> | |||
== 另请参阅 == | == 另请参阅 == | ||
* {{tl|Ent}} | * {{tl|Ent}} |
Revision as of 18:11, 24 January 2023

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.
该模板即每个实体页面上的第一句话,用于描述一个实体的基本信息。
参数和示例
参数 | 描述 | 示例 | 预览 |
---|---|---|---|
*{{{type}}} | 实体的类型。以下类型可用: |
|
|
{{{engine}}} | 实体应该属于哪个引擎。 |
|
|
{{{except}}} | 该实体存在于其他所有游戏除了这个游戏外。默认值为“这”。Template:Note:zh-cn | ||
{{{since}}} | 这个实体自从这个游戏中可用。Template:Note:zh-cn | ||
{{{1}}} | 实体的名称。它会更改页面名称。Template:Note:zh-cn![]() {{lang}} 模板的 {{{title}}} 参数指定为{{Code|selected=1|<实体名称>}}即可。 |
||
{{{series}}} | 实体存在于的系列游戏。 | ||
{{{seriescs}}} | 实体存在于的反恐精英系列游戏。 | ||
{{{game}}} | 实体可用于的游戏。Template:Note:zh-cn | ||
{{{notitlechange}}} | 你可以通过这个参数来防止模板更改页面标题。用于 /doc 页面。 | ||
{{{suf}}} | 指定语言后缀。模板支持多种语言并且你可以让模板支持更多的语言。 |
|
|
{{{internal}}} | 如果启用 (值为 1 或 true),则将页面添加到 Category:Internal entities,并且在“……实体”前显示“内部的”。Template:Note:zh-cn | ||
{{{cut}}} | 如果启用,则在“……(内部的)实体”前显示“被移除的”。同时把页面添加到 Category:Cut Entities。 |
——————
*: 必要的参数。
另请参阅
{{Ent}}
{{Point ent}}
{{Base point multi}}
{{Brush ent}}
{{Base brush multi}}
{{Game name}}