Template:Ent: Difference between revisions

From Open Fortress Wiki
Jump to navigation Jump to search
(Created page with "{{Doc}} <includeonly> <onlyinclude><!-- --><kbd>[[{{langprefix}}{{ucfirst:{{{1}}}}}{{ #switch: {{{engine|}}}{{{eng|}}}{{{game|}}} | 0 | goldsrc =  (GoldSrc) | 1 | source =  (Source) | 2 | source2 =  (Source 2) | = | #default =  ({{{engine|}}}{{{eng|}}}{{{game|}}}) }}|{{{alt|{{{1}}}}}}]]{{#if: {{{2|}}} |  {{{2}}}{{Ent/param2usecheck}}}}</kbd><!-- --></onlyinclude> </includeonly>")
 
No edit summary
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 04:01, 4 January 2025

Template Documentation [edit]

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}}
{{{game}}} Game name. Appends '({{{game}}})' to the link.
{{ent|player|game=Left 4 Dead series}}
{{{engine}}} Engine name. Specifying
  • 0 or goldsrc appends ' (GoldSrc)' to the link
  • 1 or source appends ' (Source)' to the link
  • 2 or source 2 appends ' (Source 2)' to the link
{{ent|func_pushable|engine=goldsrc}}

See also