Vorlage:Deprecated template: Unterschied zwischen den Versionen

Permanently protected template
ZIM HilfeWiki - das Wiki
K (Schützte „Vorlage:Deprecated template“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
Zeile 1: Zeile 1:
{{#invoke:Namespace detect|main|template={{Ambox|type=delete |image=[[File:Edit-Warning.png|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 {{tl|{{{2}}}}} instead!|Please remove it from the page!}}}}|module={{Ambox|type=delete |image=[[File:Edit-Warning.png|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 {{tl|{{{2}}}}} instead!|Please remove it from the page!}}}}|other={{#ifeq:{{ucfirst:{{{cat|}}}}}|No||[[Category:Deprecated]]}}}}<noinclude>
+
{{#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>

Version vom 15. März 2018, 10:00 Uhr

Documentation icon Template documentation

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.
Cookies helfen uns bei der Bereitstellung des ZIM HilfeWikis. Bei der Nutzung vom ZIM HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.