Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Template:Deprecated"

From FlightGear wiki
Jump to: navigation, search
m (Hooray moved page Template:Depreciated to Template:Deprecated: http://grammarist.com/usage/deprecate-depreciate/)
m (at least you were really consistent ...)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| cellspacing="0" style="border: 1px solid #FC2; border-left-width: 10px; margin: 1em auto; width: {{{width|90%}}}; background-color: #fdf8d8; padding: 2px;"
 
{| cellspacing="0" style="border: 1px solid #FC2; border-left-width: 10px; margin: 1em auto; width: {{{width|90%}}}; background-color: #fdf8d8; padding: 2px;"
 
| 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 = Depreciated
+
  | en = Deprecated
 
}}</span>'''&ensp; {{{1|Add message}}}
 
}}</span>'''&ensp; {{{1|Add message}}}
 
|}<noinclude>{{Informative template |1=
 
|}<noinclude>{{Informative template |1=
 
__NOTOC__
 
__NOTOC__
 
== Goal ==
 
== Goal ==
Use this template to mark depreciated templates.
+
Use this template to mark deprecated templates.
  
 
== 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%.
  
 
== Example ==
 
== Example ==
  <nowiki>{{depreciated|This template should no longer be used.  Instead please use {{tl|caution}}.}}</nowiki>
+
  <nowiki>{{deprecated|This template should no longer be used.  Instead please use {{tl|caution}}.}}</nowiki>
 
{{depreciated|This template should no longer be used.  Instead please use {{tl|caution}}.}}
 
{{depreciated|This template should no longer be used.  Instead please use {{tl|caution}}.}}
 
}}
 
}}

Latest revision as of 12:44, 23 May 2016

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}}.