Template:Ent/doc: Difference between revisions
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
| align="center" | <code>{{Param}}</code> | | align="center" | <code>{{Param}}</code> | ||
| The entity name should link and show. | | The entity name should link and show. | ||
| <pre | | <pre>{{ent|logic_relay}}</pre> | ||
| bgcolor="#262626 | | bgcolor="#262626" | {{ent|logic_relay}} | ||
|- | |- | ||
| align="center" | <code>{{Param|game}}</code> | | align="center" | <code>{{Param|game}}</code> | ||
| Game name. Appends <code>' ({{param|game}})'</code> to the link. | | Game name. Appends <code>' ({{param|game}})'</code> to the link. | ||
| <pre | | <pre>{{ent|player|game=Left 4 Dead series}}</pre> | ||
| bgcolor="#262626 | | bgcolor="#262626" | {{ent|player|game=Left 4 Dead series}} | ||
|- | |- | ||
| align="center" | <code>{{Param|engine}}</code> | | align="center" | <code>{{Param|engine}}</code> | ||
Line 25: | Line 25: | ||
* 1 or source appends ' (Source)' to the link | * 1 or source appends ' (Source)' to the link | ||
* 2 or source 2 appends ' (Source 2)' to the link | * 2 or source 2 appends ' (Source 2)' to the link | ||
| <pre | | <pre>{{ent|func_pushable|engine=goldsrc}}</pre> | ||
| bgcolor="#262626 | | bgcolor="#262626" | {{ent|func_pushable|engine=goldsrc}} | ||
|- | |- | ||
|} | |} | ||
== See also == | == See also == | ||
* {{T| | * {{T|matparam}} | ||
* {{T| | * {{T|cmd}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
[[Category:Templates]][[Category:Formatting templates]][[Category:Entity Templates]] | [[Category:Templates]][[Category:Formatting templates]][[Category:Entity Templates]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 10:17, 24 August 2025

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 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
|
{{ent|func_pushable|engine=goldsrc}} |
func_pushable |
See also