Template:Obsolete: Difference between revisions
Jump to navigation
Jump to search
Deprecated (talk | contribs) (Changed Obsolete template to change text to specify entity, tool or shader depending on parameter, documented usage) |
Deprecated (talk | contribs) (Expanded templates in template documentation so that the template itself no longer appears in Obsolete categories, documented a little more) |
||
Line 5: | Line 5: | ||
}} | }} | ||
<noinclude>[[Category:Notice templates|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Notice templates|{{PAGENAME}}]]</noinclude> | ||
<noinclude>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. | <noinclude>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== | |||
<code><nowiki>{{obsolete|entity=1}}</nowiki></code> | <code><nowiki>{{obsolete|entity=1}}</nowiki></code> | ||
: Specifies that the page is an entity. Result below. | : Specifies that the page is an entity. Result below. | ||
{{obsolete| | {{messagebox | ||
|text = This entity is '''obsolete'''; its use is discouraged and it may only exist/function in older engine branches. | |||
|image = [[File:obsolete.png|40px|link=]] | |||
|bdcolor = #F4C430 | |||
}} | |||
<code><nowiki>{{obsolete|tool=1}}</nowiki></code> | <code><nowiki>{{obsolete|tool=1}}</nowiki></code> | ||
: Specifies that the page is a tool. Result below. | : Specifies that the page is a tool. Result below. | ||
{{obsolete| | {{messagebox | ||
|text = This tool is '''obsolete'''; its use is discouraged and it may only exist/function in older engine branches. | |||
|image = [[File:obsolete.png|40px|link=]] | |||
|bdcolor = #F4C430 | |||
}} | |||
<code><nowiki>{{obsolete|shader=1}}</nowiki></code> | <code><nowiki>{{obsolete|shader=1}}</nowiki></code> | ||
: Specifies that the page is a shader. Result below. | : Specifies that the page is a shader. Result below. | ||
{{obsolete| | {{messagebox | ||
|text = This shader is '''obsolete'''; its use is discouraged and it may only exist/function in older engine branches. | |||
|image = [[File:obsolete.png|40px|link=]] | |||
|bdcolor = #F4C430 | |||
}}</noinclude> |
Revision as of 11:57, 9 June 2019

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.

This entity is obsolete; its use is discouraged and it may only exist/function in older engine branches.
{{obsolete|tool=1}}
- Specifies that the page is a tool. Result below.

This tool is obsolete; its use is discouraged and it may only exist/function in older engine branches.
{{obsolete|shader=1}}
- Specifies that the page is a shader. Result below.

This shader is obsolete; its use is discouraged and it may only exist/function in older engine branches.