出自Valve Developer Community
跳至導覽
跳至搜尋
Template Documentation [
檢視] [
編輯] [
建立 
]

Available doc translations
…
中文(臺灣)The
Template:Ent/doc/zh-tw documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
This template is a faster and cleaner way of marking text as both a link and code. It should be used only on entity names. See the following for its syntax.
Parameters and Examples
Parameter
|
Description
|
Example
|
Preview
|
{{{1}}}
|
The entity name should link and show.
|
{{ent|logic_relay}}
|
logic_relay
|
{{{game}}}
|
Game name. Appends ' ({{{game}}})' to the link.
|
{{ent|player|game=Left 4 Dead series}}
|
player
|
{{{engine}}}
|
Engine name. Specifying
- 0 or goldsrc appends ' (GoldSrc)' to the link
- 1 or source appends ' (Source)' to the link
- 2 or source 2 appends ' (Source 2)' to the link
|
{{ent|func_pushable|engine=goldsrc}}
|
func_pushable
|
See also