Template:Expand/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
=== Examples === | === Examples === | ||
<code><nowiki>{{expand|{{ | <code><nowiki>{{expand|{{:info_target}}}}</nowiki></code> renders as follows. | ||
{{expand|{{ | {{expand|{{:info_target}}}} | ||
<code><nowiki>{{expand|{{ | <code><nowiki>{{expand|{{:info_target}}|noborder=1}}</nowiki></code> renders as follows. | ||
{{expand|{{ | {{expand|{{:info_target}}|noborder=1}} | ||
Revision as of 11:32, 28 August 2024

Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
Parameters
left
or right
if floating is desired.
Examples
{{expand|{{:info_target}}}}
renders as follows.
![]() This is a preserved entity in
If the game has round restart mechanics this entity may not behave as expected. ![]() info_target is a point entity available in all ![]()
It can be used by many different entities, and is a great generic target for any entity that needs to point, shoot, look at, or walk to a specific target. It is primarily used for a target for other entities, similar to an info_null. An info_null is preferable to use as a point at target for spotlights, because an info_null is removed on map spawn, whereas an info_target remains. This entity can be placed with the Commentary Editor for changing the players view angles & position during a commentary. Keyvalues
Flags
See Also |
{{expand|{{:info_target}}|noborder=1}}
renders as follows.
![]() This is a preserved entity in
If the game has round restart mechanics this entity may not behave as expected. ![]() info_target is a point entity available in all ![]()
It can be used by many different entities, and is a great generic target for any entity that needs to point, shoot, look at, or walk to a specific target. It is primarily used for a target for other entities, similar to an info_null. An info_null is preferable to use as a point at target for spotlights, because an info_null is removed on map spawn, whereas an info_target remains. This entity can be placed with the Commentary Editor for changing the players view angles & position during a commentary. Keyvalues
Flags
See Also |
{{expand|color=yellow|title=Yellow|Yellow!}}
renders as follows.
Yellow! |
:{{expand|Can be indented.}}
renders as follows.
Can be indented.
{{expand |title=float{{=}}right |float=right | The title alignment also uses {{param|float}} so that the button stays at the same position when toggling. }}
The title alignment also uses {{{float}}} so that the button stays at the same position when toggling. |
See how this renders on the right.