Template:Deprecated: Difference between revisions
Jump to navigation
Jump to search
m (spottschrift alert: I can handle those typos in your edit messages, but not as part of the template itself ... :-)) |
No edit summary |
||
(2 intermediate revisions by one other 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 = | | en = Deprecated | ||
| fr = Obsolète | |||
}}</span>'''  {{{1|Add message}}} | }}</span>'''  {{{1|Add message}}} | ||
|}<noinclude>{{Informative template |1= | |}<noinclude>{{Informative template |1= | ||
Line 9: | Line 10: | ||
== Usage == | == Usage == | ||
{{obr}}''' | {{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}}. |