Template:Obsolete
Jump to navigation
Jump to search
Todo: is it really supposed to not show the text when any of the parameters are shown? It seems wrong.
Todo: Autocats for each {{{type}}}
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|type=entity}} or {{obsolete|type=Entity}}
- Specifies that the page is an entity. Result below.
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
This entity is obsolete. Its use is discouraged.
{{obsolete|type=tool}} or {{Obsolete|type=Tool}}
- Specifies that the page is a tool. Result below.
This tool is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
This tool is obsolete. Its use is discouraged.
{{obsolete|type=shader}}
- Specifies that the page is a shader. Result below.
This shader is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
{{obsolete|replacement=<text>}}
- Indicates a newer entity, tool, or shader that has been introduced to replace this. For example,
{{obsolete|entity=1|replacement={{ent|func_brush}}}}would produce:
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: func_brush.
It has since been deprecated by: func_brush.
{{obsolete|replacement={{ent|Example page link here}}}}
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: Example page link here.
It has since been deprecated by: Example page link here.
{{obsolete|type=Shader|replacement={{ent|Example page link here}}}}
This shader is obsolete. Its use is discouraged.
It has since been deprecated by: Example page link here.
It has since been deprecated by: Example page link here.
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Please follow the format on this subpage(s) to add translations.