Vorlage:Deprecated template: Unterschied zwischen den Versionen
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Keine Bearbeitungszusammenfassung |
imported>Oetterer Keine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{#invoke:Namespace detect|main|template={{Ambox|type=delete |image=[[File: | {{#invoke:Namespace detect | ||
|main | |||
|template={{Ambox|type=delete|image=[[File:{{Image mapper|Dialog-warning}}|alt=Template warning: {{{1|}}} is deprecated. {{#if:{{{2|}}}|Please use {{{2}}} instead!|There is no alternative!}}|link=]] |text='''Template warning:''' {{tl|{{{1}}}}} is deprecated. {{#if:{{{2|}}}|Please use [[:{{{2}}}]] instead!|Please remove it from the page!}}}} | |||
|module={{Ambox|type=delete |image=[[File:{{Image mapper|Dialog-warning}}|alt=Module warning: Module:{{{1|}}} is deprecated. {{#if:{{{2|}}}|Please use {{{2}}} instead!|There is no alternative!}}|link=]] |text='''Module warning:''' {{((}}[[Module:{{{1}}}]]{{))}} is deprecated. {{#if:{{{2|}}}|Please use [[:{{{2}}}]] instead!|Please remove it from the page!}}}} | |||
|other={{#ifeq:{{ucfirst:{{{cat|}}}}}|No||[[Category:Deprecated]]}} | |||
}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 15. März 2018, 10:00 Uhr
{{#vardefine:ambox_color|danger}}
{{#vardefine:ambox_image|Ambox warning pn.svg}}{{#vardefine:ambox_imageSize|40x40px}}{{#vardefine:ambox_image|[[File:{{#var:ambox_image|Mbox notice.png}}|{{#var:ambox_imageSize|40x40px}}|alt=|link=]]}}{{#vardefine:ambox_image|}}{{#vardefine:ambox_content|{| class="metadata plainlinks"
|-
| class="mbox-image" |
{{#var:ambox_image}}
| class="mbox-text" |Template warning: {{[[Template:{{{1}}}|{{{1}}}]]}} is deprecated. Please remove it from the page! |}
}}
{{#var:ambox_content|}}
Description
Used to mark outdated/depricated templates. Used for output (pages, that use the template) and the template itself. Automatically sets Category:Deprecated.
Parameters
- 1
- Old (outdated/depricated) template.
- 2
- New template to use instead.
- cat
- If set to no, pages using this template will not be placed in category Category:Deprecated (NOT RECOMMENDED!!).
See also
Here is an overview of the available Message Box Templates and their uses:
{{#vardefine:prefix|- }}{{#vardefine:lineprefix|
- }}{{#vardefine:delimiter| to mark }}{{#vardefine:suffix|
{{#var:lineprefix|}}{{Deprecated}}{{#var:delimiter|}}articles that are outdated and are not maintained anymore.
{{#var:lineprefix|}}{{Draft}}{{#var:delimiter|}}articles/sections currectly in development or in revision
{{#var:lineprefix|}}{{Faulty}}{{#var:delimiter|}}articles/sections that are erroneous, faulty, or otherwise dangerous.
{{#var:lineprefix|}}{{Stub}}{{#var:delimiter|}}articles that needs expanding.
{{#var:lineprefix|}}{{Template warning}}{{#var:delimiter|}}the error feedback from templates. (used by template programmers)
{{#var:lineprefix|}}{{Untested}}{{#var:delimiter|}}articles that lack validation and positive user feedback.
{{#var:lineprefix|}}{{Warning}}{{#var:delimiter|}}Warning text.
{{#var:suffix|}}
The above documentation is transcluded from Vorlage:Deprecated template/doc. (edit | history) Please add categories to the /doc subpage. Subpages of this template. |