Template:Ent: Difference between revisions

From Valve Cut Content
Jump to: navigation, search
(Created page with "<includeonly><code>[[{{{1}}}]]{{#if:{{{2|}}}| {{{2|}}}|}}</code></includeonly><noinclude> From [https://developer.valvesoftware.com/wiki/Template:Ent VCC] This template i...")
 
No edit summary
Line 1: Line 1:
<includeonly><code>[[{{{1}}}]]{{#if:{{{2|}}}|&nbsp;{{{2|}}}|}}</code></includeonly><noinclude>
<includeonly><code>[[{{{1}}}]]{{#if:{{{2|}}}|&nbsp;{{{2|}}}|}}</code></includeonly><noinclude>
From [https://developer.valvesoftware.com/wiki/Template:Ent VCC]
From [https://developer.valvesoftware.com/wiki/Template:Ent VCC]
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.
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.



Revision as of 07:27, 9 November 2018

From VCC

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.