Template:Ent

From Valve Developer Community
Revision as of 19:20, 17 May 2022 by Popcorn (talk | contribs) (Removed padding from <code> i.e. the gap at its ends. Should look much nicer e.g. if {{ent}} is followed by a punctuation mark. Please give an example where this change is a problem when reverting this.)
Jump to navigation Jump to search


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.