Vorlage:Template warning: Unterschied zwischen den Versionen

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Wechseln zu:Navigation, Suche
K (Schützte „Vorlage:Template warning“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
imported>Oetterer
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
{{Ambox|type=delete|image=[[File:Edit-Warning.png|alt=Template warning {{#if:{{{2|}}}|({{{2}}}) }}:<nowiki> </nowiki>{{{1|}}}|link=]] |text='''Template warning{{#if:{{{2|}}}|<nowiki> </nowiki>({{{2}}})}}:'''<nowiki> </nowiki> {{{1}}}}}<includeonly>{{template other||{{#ifeq:{{ucfirst:{{{cat|}}}}} |No ||[[Category:Erroneous]] |}}}}</includeonly><noinclude>
{{Ambox|type=delete|image=[[File:{{Image mapper|Dialog-warning}}|alt=Template warning {{#if:{{{2|}}}|({{{2}}}) }}:<nowiki> </nowiki>{{{1|}}}|link=]] |text='''Template warning{{#if:{{{2|}}}|<nowiki> </nowiki>({{{2}}})}}:'''<nowiki> </nowiki> {{{1}}}}}<includeonly>{{template other||{{#ifeq:{{ucfirst:{{{cat|}}}}}|No||[[Category:Erroneous]]|}}}}</includeonly><noinclude>
{{documentation}}
{{documentation}}


<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Aktuelle Version vom 16. Februar 2018, 14:03 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|Template warning :}}{{#vardefine:ambox_content|{| class="metadata plainlinks"

|-

| class="mbox-image" |

{{#var:ambox_image}}

| class="mbox-text" |Template warning: {{{1}}} |}

}}

Documentation icon Template documentation[view] [edit] [history] [purge]

Description

Used for error feedback from templates. Automatically sets Category:Erroneous.

Parameters

1
Error text to be conveyed to editor/user
2
(optional) Name of the template that throws the warning

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:prefix|}}{{#var:lineprefix|}}{{Deprecated template}}{{#var:delimiter|}}outdated/deprecated templates and pages, that use these templates. (used by template programmers)
{{#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|}}