Template:PreservedEnt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Add lang template)
(Added unnamed parameter to override the first half sentence and documentation to it.)
Line 1: Line 1:
<noinclude>{{lang|Template:PreservedEnt}}</noinclude>
<noinclude>{{lang|Template:PreservedEnt}}</noinclude><includeonly>
{{warning|In some/all multiplayer games, this entity will [[s_PreserveEnts|intentionally not reset]] itself to its default properties (including position) when a new round begins. If this is an issue, use inputs to emulate resetting it.}}
{{warning|{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | T | {{{1}}}, t }} | In some/all multiplayer games, t}}his is a [[s_PreserveEnts|preserved entity]] which will '''intentionally not reset itself''' to its default properties (including position) when a new round begins. If this is an issue, use [[logic_auto]] to emulate resetting it.}}
[[Category:Round-Preserved Entities]]
[[Category:Round-Preserved Entities]]</includeonly><noinclude>
{| class=standard-table
! Wikitext !! Result
|-
| <pre>{{PreservedEnt}}</pre>
| {{PreservedEnt}}
|-
| <pre>{{PreservedEnt|In all games except {{hl2dm}}}}</pre>
| {{PreservedEnt|In all games except {{hl2dm}}}}
|-
| <pre>{{PreservedEnt|0}}</pre>
| {{PreservedEnt|0}}
|}
</noinclude>

Revision as of 11:33, 29 August 2021

Wikitext Result
{{PreservedEnt}}
Warning.pngWarning:In some/all multiplayer games, this is a preserved entity which will intentionally not reset itself to its default properties (including position) when a new round begins. If this is an issue, use logic_auto to emulate resetting it.
{{PreservedEnt|In all games except {{hl2dm}}}}
Warning.pngWarning:In all games except Half-Life 2: Deathmatch, this is a preserved entity which will intentionally not reset itself to its default properties (including position) when a new round begins. If this is an issue, use logic_auto to emulate resetting it.
{{PreservedEnt|0}}
Warning.pngWarning:This is a preserved entity which will intentionally not reset itself to its default properties (including position) when a new round begins. If this is an issue, use logic_auto to emulate resetting it.