Template:Obsolete: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Expanded templates in template documentation so that the template itself no longer appears in Obsolete categories, documented a little more)
m (Attempt to fix spacing issue)
Line 3: Line 3:
|image = [[File:obsolete.png|40px|link=]]
|image = [[File:obsolete.png|40px|link=]]
|bdcolor = #F4C430
|bdcolor = #F4C430
}}
}}<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. If no parameter is specified, the template does not specify what the page is, and it will not be added to any categories.
<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. If no parameter is specified, the template does not specify what the page is, and it will not be added to any categories.
==Usage==
==Usage==
<code><nowiki>{{obsolete|entity=1}}</nowiki></code>
<code><nowiki>{{obsolete|entity=1}}</nowiki></code>

Revision as of 18:43, 14 January 2020

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.