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

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (- changed links to :lang suffix redirect pages to the redirected link)
 
(32 intermediate revisions by 5 users not shown)
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|}}} | [[{{{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:{{{series|}}}{{{seriescs|}}}<!--
-->| {{#if: {{{icon|}}} | {{{{{icon}}}|suf=:zh-cn}} }}<!--
-->| {{{{{icon|Source}}}|suf=:zh-cn}} }}<!--
 
-->{{#if:{{{1|}}}
| {{#if: {{{dontchangetitle|}}}||{{DISPLAYTITLE:<code>{{{1}}}</code>|noreplace}}}}&nbsp;<b><code>{{{1}}}</code></b>
| 这
}}<!--
 
-->是一个存在于<!--
 
-->{{#switch: {{{series|1}}}
| Left 4 Dead={{l4dseries|3|suf=:zh-cn}}
| #default= [[{{{series}}}| {{{series}}} ]]系列
| 1= {{#if: {{{seriescs|}}}
  | [[{{{seriescs}}}| {{{seriescs}}} ]]系列 <!--
    -->{{#if:{{{game|}}}
    | (自从 {{{{{game}}}|4|suf=:zh-cn}} 以来)
    }}
  | {{#if: {{{game|}}}
    | {{{{{game}}}|suf=:zh-cn|{{#if:{{{icon|}}}|3|4}}}}
    |所有的 {{Source|3|suf=:zh-cn}} 游戏<!--
      -->{{#if: {{{since|}}}
      |自从 {{name={{{since}}}|4}} 以来
      }}
    }}
  }}
}}的<!--
 
-->{{#switch:{{lc:{{{cut}}}}}
| #default    =
| 1
| true        = 被移除的ᅠ&nbsp;[[Category:Cut Entities:zh-cn]]
}}<!--
 
-->{{#if:{{{internal|}}}
| [[:Category:Internal entities:zh-cn|内部]]的{{Main other|[[Category:Internal entities:zh-cn]]|}}
}}<!--
 
-->[[Point entity|点实体]]<!--
 
-->{{#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 -->

Latest revision as of 13:15, 4 July 2024

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

示例

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

另请参阅

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