Difference between revisions of "Template:Point ent"

From Valve Developer Community
Jump to: navigation, search
m (Don't automatically append .png to sprite file.)
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
| false      = [[Category:Non-internal entity]]
 
| false      = [[Category:Non-internal entity]]
 
| true        =
 
| true        =
}}</includeonly>{{#if: {{{sprite|}}} | [[File:{{#ifeq: {{{sprite}}} | 1 | {{{1|{{PAGENAME}}}}} | {{{sprite}}} }}.png|left|link=]] }}{{#if: {{{icon|}}} |{{{{{icon}}}}}&nbsp; }}{{#if:{{{1|}}} |{{DISPLAYTITLE:{{{1}}}}}'''<code>{{{1}}}</code>'''|This}} is a {{#switch:{{lc:{{{cut}}}}}
+
}}</includeonly>{{#if: {{{sprite|}}} | [[File:{{#ifeq: {{{sprite}}} | 1 | {{{1|{{PAGENAME}}}}} | {{{sprite}}} }}|left|link=]] }}{{#if: {{{icon|}}} |{{{{{icon}}}}}&nbsp; }}{{#if:{{{1|}}} |{{DISPLAYTITLE:{{{1}}}}}'''<code>{{{1}}}</code>'''|This}} is a {{#switch:{{lc:{{{cut}}}}}
 
| #default    =
 
| #default    =
 
| 1          = cutᅠ[[Category:Cut Entities]]
 
| 1          = cutᅠ[[Category:Cut Entities]]
Line 11: Line 11:
 
| false      =  
 
| false      =  
 
| true        = cutᅠ[[Category:Cut Entities]]
 
| true        = cutᅠ[[Category:Cut Entities]]
}}{{#if:{{{internal|}}} | [[internal entity|internal]]{{Main other|[[Category:Internal entities]]|}} }} [[point entity]] available in {{#if: {{{series|}}} | the [[{{{series}}}]] series | {{#if: {{{seriescs|}}} | the [[{{{seriescs}}}]] series {{#if:{{{game|}}} | (since [[{{{game}}}]]) }} | {{#if: {{{game|}}} | [[{{{game}}}]] | all {{{engine|Source}}} games {{#if: {{{since|}}} | since {{game link|{{{since}}}}} }} }} }} }}. {{#if: {{{game|}}} |{{Main other|[[Category:{{{game}}} Entities]]|}} | {{#if: {{{series|}}} |{{Main other|[[Category:{{{series}}} Entities]]|}} | {{#if: {{{seriescs|}}} |{{Main other|[[Category:{{{seriescs}}}: Source Entities]]|}} | <includeonly>{{Main other|[[Category:{{{engine|Source}}} Base Entities]]|}}</includeonly>}} }} }}<includeonly>{{Main other|[[Category:Point Entities]][[Category:Entities]]|}}</includeonly><noinclude>[[Category:Entity Templates]]</noinclude>
+
}}{{#if:{{{internal|}}} | [[internal entity|internal]]{{Main other|[[Category:Internal entities]]|}} }} [[point entity]] available in {{#if: {{{series|}}} | the [[{{{series}}}]] series | {{#if: {{{seriescs|}}} | the [[{{{seriescs}}}]] series {{#if:{{{game|}}} | (since [[{{{game}}}]]) }} | {{#if: {{{game|}}} | [[{{{game}}}]] | all {{{engine|Source}}} games {{#if: {{{since|}}} | since {{game link|{{{since}}}}} }} }} }} }}. {{#if: {{{game|}}} |{{Main other|[[Category:{{{game}}} Entities]]|}} | {{#if: {{{series|}}} |{{Main other|[[Category:{{{series}}} Entities]]|}} | {{#if: {{{seriescs|}}} |{{Main other|[[Category:{{{seriescs}}}: Source Entities]]|}} | <includeonly>{{Main other|[[Category:{{{engine|Source}}} Base Entities]]|}}</includeonly>}} }} }}<includeonly>{{Main other|[[Category:Point Entities]][[Category:Entities]]|}}</includeonly><noinclude>
 +
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, not here -->
 +
</noinclude>

Revision as of 15:49, 12 September 2021

English Français Русский 简体中文 简体中文

This is a point entity available in all Source games.

Template icon Template documentation[view] [edit] [history] [purge]

Examples

Wikitext Result
{{point ent}}
This is a point entity available in all Source games.
{{point ent|info_player_start}}
info_player_start is a point entity available in all Source games.
{{point ent|game=Half-Life 2}}
This is a point entity available in Half-Life 2 Half-Life 2 .
{{point ent|series=Counter-Strike}}
This is a point entity available in the Counter-Strike series.
{{point ent|seriescs=Counter-Strike|game=Counter-Strike: Source}}
This is a point entity available in the Counter-Strike series (since Counter-Strike: Source Counter-Strike: Source ).
{{point ent|icon=tf2}}
Team Fortress 2 This is a point entity available in all Source games.
{{point ent|icon=tf2|game=Team Fortress 2}}
Team Fortress 2 This is a point entity available in Team Fortress 2 .

See Also