Template:Point ent:zh-cn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Update page)
Line 1: Line 1:
<noinclude>{{lang|Template:Point ent}}</noinclude>
{{lang|Template:Point ent}}<!--
{{#if: {{{sprite|}}} | [[File:{{#ifeq: {{{sprite}}} | 1 | {{{1|{{PAGENAME}}}}}.png | {{{sprite}}} }}|left|link=]] }}{{#if: {{{icon|}}} |{{{{{icon}}}}}&nbsp; }}{{#if:{{{1|}}}|{{DISPLAYTITLE:{{{1}}}}}'''{{{1}}} '''|这}}是一个{{#if:{{{internal|}}}|[[internal entity:zh-cn|内部]][[Category:Internal entities:zh-cn]]}}[[point entity|点实体]],可用于{{#if: {{{series|}}} |<nowiki> </nowiki>[[{{{series}}}]] 系列{{#if:{{{game|}}}|(自从 [[{{{game}}}|{{{game}}}]])}}|{{#if:{{{game|}}}|[[{{{game}}}|{{{game}}}]]|所有{{{engine|起源}}}游戏{{#if:{{{since|}}}|自从 {{game link|{{{since}}}}}}}}}}}。{{#if:{{{game|}}}|[[Category:{{{game}}} Entities:zh-cn]] | {{#if: {{{series|}}} |[[Category:{{{series}}} Entities:zh-cn]] | [[Category:{{{engine|Source}}} Base Entities:zh-cn]]}} }}
 
[[Category:Point Entities:zh-cn]]
--><onlyinclude><includeonly><!--
[[Category:Entities:zh-cn]]
 
-->{{#switch:{{lc:{{{internal}}}}}
| #default    = [[Category:Non-internal entity:zh-cn]]
| 1          =
| 0          = [[Category:Non-internal entity:zh-cn]]
| false      = [[Category:Non-internal entity:zh-cn]]
| true        =
}}{{#if: {{{sprite|}}}
| [[File:{{#ifeq: {{{sprite}}}
  | 1
  | {{{1|{{PAGENAME}}}}}.png
  | {{{sprite}}}
  }}|left|link=]]
}}<!--
 
-->{{#if: {{{icon|}}}
| {{ {{{icon}}} }}&nbsp;
}}<!--
 
-->{{#if:{{{1|}}}
| {{DISPLAYTITLE:{{{1}}}}}'''<code>{{{1}}}</code>'''
| 这
}}<!--
 
-->是一个<!--
 
-->{{#switch:{{lc:{{{cut}}}}}
| #default    =
| 1          = cut&nbsp;ᅠ[[Category:Cut Entities:zh-cn]]
| 0          =
| false      =
| true        = cutᅠ&nbsp;[[Category:Cut Entities:zh-cn]]
}}<!--
 
-->{{#if:{{{internal|}}}
| [[internal entity|内部]]{{Main other|[[Category:Internal entities:zh-cn]]|}}
}}<!--
 
-->[[point entity|点实体]]存在于 <!--
 
-->{{#if: {{{series|}}}
| [[{{{series}}}]] 系列
| {{#if: {{{seriescs|}}}
  | [[{{{seriescs}}}]] 系列 <!--
    -->{{#if:{{{game|}}}
    | (自从 {{game name|name={{{game}}}}} 以来)
    }}
  | {{#if: {{{game|}}}
    | {{#if: {{{icon|}}} | {{game name|name={{{game}}}|icon=0}} | {{game name|name={{{game}}}}} }}
    | 所有的 {{{engine| {{game name|src|name=Source}} }}} 游戏<!--
      -->{{#if: {{{since|}}}
      | 自从 {{game name|name={{{since}}}}} 以来
      }}
    }}
  }}
}}。<!--
 
-->{{#if: {{{game|}}}
| {{Main other|[[Category:{{{game}}} Entities:zh-cn]]|}}
| {{#if: {{{series|}}}
  | {{Main other|[[Category:{{{series}}} Entities:zh-cn]]|}}
  | {{#if: {{{seriescs|}}}
    | {{Main other|[[Category:{{{seriescs}}}: Source Entities:zh-cn]]|}}
    | {{Main other|[[Category:{{{engine|Source}}} Base Entities:zh-cn]]|}}
    }}
  }}
}}<!--
 
-->{{Main other|[[Category:Point Entities:zh-cn]][[Category:Entities:zh-cn]]|}}<!--
 
--></includeonly></onlyinclude>
{{Documentation:zh-cn}}
<!-- Add categories to the /doc subpage, not here -->

Revision as of 17:37, 17 January 2022

Note.pngNote:此模板已弃用。对于新的实体页面,请改用 Template:Entity。其他还在使用该模板的页面应更新使用的模板。

示例

Wikitext Result
{{point ent:zh-cn}}
这是一个点实体存在于 所有的 Template:Game name 游戏。
{{point ent:zh-cn|info_player_start}}
info_player_start是一个点实体存在于 所有的 Template:Game name 游戏。
{{point ent:zh-cn|game=Half-Life 2}}
这是一个点实体存在于 Template:Game name
{{point ent:zh-cn|series=Counter-Strike}}
这是一个点实体存在于 Counter-Strike 系列。
{{point ent:zh-cn|seriescs=Counter-Strike|game=Counter-Strike: Source}}
这是一个点实体存在于 Counter-Strike 系列 (自从 Template:Game name 以来)。
{{point ent:zh-cn|icon=tf2}}
Team Fortress 2 这是一个点实体存在于 所有的 Template:Game name 游戏。
{{point ent:zh-cn|icon=tf2|game=Team Fortress 2}}
Team Fortress 2 这是一个点实体存在于 Template:Game name

另请参阅

  • {{Point ent:zh-cn}}
  • {{Base point multi}}
  • {{Brush ent:zh-cn}}
  • {{Base brush multi}}
  • {{Game name}}