Difference between revisions of "Template:Deprecated"

From OpenGL Wiki
Jump to navigation Jump to search
(Changing the description slightly.)
(Adding a description of the template)
Line 1: Line 1:
<table class="metadata plainlinks stub" style="background: #FA8;"><tr>
+
<noinclude>This template marks the section or article as being predominantly about [[Deprecation|deprecated]] material. This template takes one optional named parameter:
<td>'''Warning:''' This article or section describes material that has been [[Deprecation|deprecated]] in OpenGL 3.0, and removed in core GL 3.1 and above implementations.</td></tr><tr><td>It is recommended that you not use this functionality in your programs.{{#if:{{{alternate|}}}|&nbsp;Consider using {{{alternate}}} instead.}}</td></tr></table><includeonly>
+
 
 +
* alternate: This is a short string of text. It should grammatically fit in the sentence: "<nowiki>Consider using {{{alternate}}} instead.</nowiki>". This is preferably a link to non-deprecated alternatives.
 +
 
 +
</noinclude><includeonly>{{alertbox
 +
| color = #FA8
 +
| text = '''Warning:''' This article or section describes material that has been [[Deprecation|deprecated]] in OpenGL 3.0, and removed in core GL 3.1 and above implementations. It is recommended that you not use this functionality in your programs. {{#if:{{{alternate|}}}|Consider using {{{alternate}}} instead. }}}}</includeonly>

Revision as of 18:50, 3 September 2009

This template marks the section or article as being predominantly about deprecated material. This template takes one optional named parameter:

  • alternate: This is a short string of text. It should grammatically fit in the sentence: "Consider using {{{alternate}}} instead.". This is preferably a link to non-deprecated alternatives.