K (Schützte „Vorlage:Deprecated template“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
imported>Oetterer K (Schützte „Vorlage:Deprecated template“: Automatic protection of selected project pages ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
||
(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 7. Oktober 2022, 16:56 Uhr
Template warning: {{[[Template:{{{1}}}|{{{1}}}]]}} is deprecated. Please remove it from the page! |
Description[Quelltext bearbeiten]
Used to mark outdated/depricated templates. Used for output (pages, that use the template) and the template itself. Automatically sets Category:Deprecated.
Parameters[Quelltext bearbeiten]
- 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[Quelltext bearbeiten]
Here is an overview of the available Message Box Templates and their uses:
- {{Deprecated template}} to mark outdated/deprecated templates and pages, that use these templates. (used by template programmers)
- {{Deprecated}} to mark articles that are outdated and are not maintained anymore.
- {{Draft}} to mark articles/sections currectly in development or in revision
- {{Faulty}} to mark articles/sections that are erroneous, faulty, or otherwise dangerous.
- {{Stub}} to mark articles that needs expanding.
- {{Template warning}} to mark the error feedback from templates. (used by template programmers)
- {{Untested}} to mark articles that lack validation and positive user feedback.
- {{Warning}} to mark Warning text.