Template:Ent/doc: Difference between revisions
Jump to navigation
Jump to search
Note:The template has still the old code of
1416006136 (talk | contribs) m (→Default Mode) |
1416006136 (talk | contribs) (notice for "entity mode") |
||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
{{ModernNote|'''The entity mode will move to a new page - [[Template:Entity]]. Don't use this template on entity mode for now. Later, you should use {{tl|entity}} for the first sentence on entity pages.'''}} | |||
This template has two purposes. See the following for details. | This template has two purposes. See the following for details. | ||
== Parameters and Examples == | == Parameters and Examples == |
Revision as of 03:41, 24 January 2023

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.
Template:ModernNote This template has two purposes. See the following for details.
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{mode}}} | The mode of the template. The following modes are available:
|
Default Mode
This mode 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.
See the following for syntax.
Parameter | Description | Example | Preview |
---|---|---|---|
{{{1}}} | The entity name should link and show. | ||
{{{2}}} | Optionally, you can specify a second field of text to not be counted as a link. | ||
{{{alt}}} | The entity name should show. (Additionally, you can specify {{{alt}}} as a different name to show. ) |
Entity Mode

{{point ent}}
for compatibility with those page having not updated.This mode is used to describe the basic information of a entity. See the following for usage.
Parameter | Description | Example | Preview |
---|---|---|---|
{{{type}}} | The type of the entity. The following types 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}}