Template:Deprecated: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
| style="padding-left:5px;" | '''<span class="smallcaps" style="font-variant:small-caps;">{{LangSwitch
| style="padding-left:5px;" | '''<span class="smallcaps" style="font-variant:small-caps;">{{LangSwitch
  | en = Deprecated
  | en = Deprecated
| fr = Obsolète
}}</span>'''&ensp; {{{1|Add message}}}
}}</span>'''&ensp; {{{1|Add message}}}
|}<noinclude>{{Informative template |1=
|}<noinclude>{{Informative template |1=
Line 9: Line 10:


== Usage ==
== Usage ==
  {{obr}}'''depreciated'''{{!}}message{{!}}''width=''{{cbr}}
  {{obr}}'''deprecated'''{{!}}message{{!}}''width=''{{cbr}}


; width : Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90%.
; width : Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90%.

Latest revision as of 08:04, 13 November 2022

Deprecated  Add message
The following template description is not displayed when the template is inserted in an article.

Goal

Use this template to mark deprecated templates.

Usage

{{deprecated|message|width=}}
width
Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90%.

Example

{{deprecated|This template should no longer be used.  Instead please use {{tl|caution}}.}}
Deprecated  This template should no longer be used. Instead please use {{caution}}.