Template:Ent/doc
Jump to navigation
Jump to search
Note:The template has still the old code of

This is a documentation subpage for Template:Ent.
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.
This template has two purposes. See the following for details.
Default Mode
This template is a faster and cleaner way of marking text as both a link and code. Its primary use is on entity names, but it is used on other things too, such as VMT parameters and console commands.
The syntax is simple. {{ent|logic_relay}}
would return as logic_relay.
Optionally, you can specify a second field of text to not be counted as a link.
{{ent|sv_cheats|1}}
would give you sv_cheats 1.
Additionally, you can specify {{{alt}}} as a different name to show. For example, {{ent|Team Fortress 2.fgd|alt=tf.fgd}}
would return tf.fgd.
Entity Mode

{{point ent}}
for compatibility with those page having not updated.Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{type}}} | The type of the entity. The following types are available:
|
|
|
{{{mode}}} | The mode of the template. The following modes are available:
|
||
{{{engine}}} | Which engine the entity belongs to. |
|
|
{{{since}}} | This entity is available since this game. ![]() |
||
{{{1}}} | The name of the entity. It will change the title of a page. ![]() {{lang}} is in use. ![]() {{lang}} to {{Code|selected=1|<entity name>}}. |
||
{{{series}}} | The series that the entity is available in. | [[{{{1}}}|{{{1}}}]]
| |
{{{seriescs}}} | The series of Counter-Strike that the entity is available in. | [[{{{1}}} (Counter-Strike: Source)|{{{1}}}]]
| |
{{{game}}} | The game that the entity is available in. ![]() |
[[{{{1}}} (Team Fortress 2)|{{{1}}}]]
| |
{{{notitlechange}}} | You can prevent title-changing from the template by using this parameter. Used in the /doc page. | ||
{{{suf}}} | Specify the language suffix. The template supports multi-language and you can add more languages that the template supports. |
|
|
See Also
{{Point ent}}
{{Base point multi}}
{{Brush ent}}
{{Base brush multi}}
{{Game name}}