Template:Obsolete

From Valve Developer Community
Revision as of 09:10, 16 August 2023 by Equalizer5118 (talk | contribs)
Jump to navigation Jump to search
Info content.png
This template needs translations.
This template does not contain translations for the most popular languages.
If you are fluent in one of these languages, please help out by translating the text inside this template. This can be done by using the {{language}} template where appropriate.
Also, please make sure the article complies with the alternate languages guide.
The following content or section specifically needs to be translated:
Everything really, it would be beneficial to use a strings subpage
Obsolete-notext.png
This is obsolete; its use is discouraged and it may only exist/function in older engine branches.

This template marks a page as obsolete. It has three parameters, used to specify if the page is an entity, a tool, or a shader. This template automatically adds a page to an Obsolete Entites, Obsolete Tools, or Obsolete Shaders category, depending on parameter. If no parameter is specified, the template does not specify what the page is, and it will not be added to any categories.

Usage

{{obsolete|entity=1}}

Specifies that the page is an entity. Result below.

{{obsolete|tool=1}}

Specifies that the page is a tool. Result below.

{{obsolete|shader=1}}

Specifies that the page is a shader. Result below.

{{obsolete|replacement=<text>}}

Indicates a newer entity, tool, or shader that has been introduced to replace this. For example, {{obsolete|entity=1|replacement=[[func_brush]]}} would produce: