Vorlage:Deprecated template: Unterschied zwischen den Versionen

CamNet - das Wiki
Keine Bearbeitungszusammenfassung
 
imported>Oetterer
Keine Bearbeitungszusammenfassung
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

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:

  • {{Deprecated}} to mask articles that are outdated and are not maintained anymore.
  • {{Deprecated template}} to mask outdated/deprecated templates and pages, that use these templates. (used by template programmers)
  • {{Draft}} to mask articles/sections currectly in development or in revision.
  • {{Faulty}} to mask articles/sections that are erroneous, faulty, or otherwise dangerous.
  • {{Stub}} to mask articles that needs expanding.
  • {{Template warning}} to mask the error feedback from templates. (used by template programmers)
  • {{Untested}} to mask articles that lack validation and positive user feedback.
  • {{Warning}} to mask Warning text.