Template:deprecated code

Hello, you have come here looking for the meaning of the word Template:deprecated code. In DICTIOUS you will not only get to know all the dictionary meanings for the word Template:deprecated code, but we will also tell you about its etymology, its characteristics and you will know how to say Template:deprecated code in singular and plural. Everything you need to know about the word Template:deprecated code you have here. The definition of the word Template:deprecated code will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofTemplate:deprecated code, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

(deprecated template usage) {{{1}}}


This template should be used in conjunction with successfully deprecated templates, i.e. templates that are deprecated and where all uses of the template have been eliminated. It can also be used with conditionally-deprecated templates, i.e. where certain uses of the template (e.g. using the |lang= parameter instead of |1=) have been deprecated and all such uses eliminated. It formats the output of the template call with the .deprecated CSS class (which by default displays the output in olive green), precedes it with some text (by default "deprecated template usage") and categorizes the page in Category:Pages using deprecated templates (for entries and content pages) or Category:Pages using deprecated templates/other (for other pages, such as talk pages).

Parameters

  • |1=: The template call.
  • |active= (optional): Control whether deprecation is active. Use this in conjunction with conditionally-deprecated templates. If the value is no, the deprecation is inactive; otherwise it's active.
  • |text= (optional): Text to display before the template output (by default "deprecated template usage").
  • |tooltip= (optional): Tooltip text to display when the user hovers over the template output (by default "This is a deprecated template usage.").

See also