Template:Point ent:zh-cn: Difference between revisions
Jump to navigation
Jump to search
Note:此模板已弃用。对于新的实体页面,请改用 Template:Entity。其他还在使用该模板的页面应更新使用的模板。
m (Only add .png extension for sprite=1.) |
m (- changed links to :lang suffix redirect pages to the redirected link) |
||
(34 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{lang|Template:Point ent}}<!-- | |||
{{#if: {{{sprite|}}} | [[File:{{#ifeq: {{{sprite}}} | 1 | {{{1|{{PAGENAME}}}}}.png | {{{sprite}}} }}|left|link=]] }}{{#if: {{{icon|}}} |{{{{{icon}}}}} | |||
[[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}}}} <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 = 被移除的ᅠ [[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

示例
Wikitext | Result |
---|---|
{{point ent:zh-cn}} |
![]() |
{{point ent:zh-cn|info_player_start}} |
![]() info_player_start 是一个存在于所有的 Source 游戏的点实体。
|
{{point ent:zh-cn|game=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 系列 (自从 ![]() |
{{point ent:zh-cn|icon=tf2}} |
![]() |
{{point ent:zh-cn|icon=tf2|game=Team Fortress 2}} |
![]() |
另请参阅
{{Point ent:zh-cn}}
{{Base point multi}}
{{Brush ent:zh-cn}}
{{Base brush multi}}
{{Game name}}
以上文档摘自 Template:Point ent:zh-cn/doc。(编辑 | 历史记录)
编辑者可以在此模板的沙盒 (创建 | 将本页内容写入至沙盒页面) 和 testcases(测试用例) (创建) 页面编辑。
请将分类(类别)添加到 /doc 子页面。 此模板的子页面
编辑者可以在此模板的沙盒 (创建 | 将本页内容写入至沙盒页面) 和 testcases(测试用例) (创建) 页面编辑。
请将分类(类别)添加到 /doc 子页面。 此模板的子页面