Template:Point deprecation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Suggested use of {{This is a}} instead of {{Entity}}. Fixed a pair of misplaced brackets from <{>} to <{}>.)
m (→‎top: Unicodifying, replaced: {{ModernTodo| → {{todo| (4))
Line 1: Line 1:
<div>{{#switch:{{{type}}}
<div>{{#switch:{{{type}}}
| #default | 0 | point = {{ModernTodo|suf={{uilang|:}}|{{autolang
| #default | 0 | point = {{todo|suf={{uilang|:}}|{{autolang
|The deprecated template {{t|Base point}}, {{t|Point ent}} or {{t|Tf2 point}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
|The deprecated template {{t|Base point}}, {{t|Point ent}} or {{t|Tf2 point}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
|zh=已弃用模板 {{tl|Base point}}、{{tl|Point ent}} 或 {{tl|Tf2 point}} (以及相似的) 正在使用。请更新并使用模板 {{t|This is a}} 替代。
|zh=已弃用模板 {{tl|Base point}}、{{tl|Point ent}} 或 {{tl|Tf2 point}} (以及相似的) 正在使用。请更新并使用模板 {{t|This is a}} 替代。
}}}}
}}}}


| 1 | brush = {{ModernTodo|suf={{uilang|:}}|{{autolang
| 1 | brush = {{todo|suf={{uilang|:}}|{{autolang
|The deprecated template {{t|Base brush}}, {{t|Brush ent}} or {{t|Tf2 brush}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
|The deprecated template {{t|Base brush}}, {{t|Brush ent}} or {{t|Tf2 brush}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
|zh=已弃用模板 {{t|Base brush}}、{{t|Brush ent}} 或 {{t|Tf2 brush}} (以及相似的) 正在使用。请更新并使用模板 {{t|This is a}} 替代。
|zh=已弃用模板 {{t|Base brush}}、{{t|Brush ent}} 或 {{t|Tf2 brush}} (以及相似的) 正在使用。请更新并使用模板 {{t|This is a}} 替代。
}}}}
}}}}


| 2 | mesh = {{ModernTodo|suf={{uilang|:}}|{{autolang
| 2 | mesh = {{todo|suf={{uilang|:}}|{{autolang
|The deprecated template {{t|Mesh ent}} or {{t|Source2 base mesh}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
|The deprecated template {{t|Mesh ent}} or {{t|Source2 base mesh}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
}}}}
}}}}
| 3 | path = {{ModernTodo|suf={{uilang|:}}|{{autolang
| 3 | path = {{todo|suf={{uilang|:}}|{{autolang
|The deprecated template {{t|Path ent}} or {{t|Source2 path multi}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
|The deprecated template {{t|Path ent}} or {{t|Source2 path multi}} (and similar) was used. Use {{t|This is a}} (formerly {{tl|Entity}}, {{tl|Format}}) instead.
}}}}
}}}}

Revision as of 06:59, 7 January 2024

Todo: 
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
Page history
Todo: Better documentation.


Used to marking templates such as {{Point ent}}, and similar, that has been deprecated by {{This is a}}.

Copy and paste

{{Point deprecation}}
for Point ent.
{{Point deprecation|type=<1 or brush>}}
for Brush ent.
{{Point deprecation|type=<2 or mesh>}}
for Mesh ent.
{{Point deprecation|type=<3 or path>}}
for Path ent.