Vorlage:Display message/doc: Unterschied zwischen den Versionen

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 21: Zeile 21:
             "aliases": ["2"],
             "aliases": ["2"],
             "required": true
             "required": true
        },
        "archived": {
            "type": "boolean",
            "label": "Archiviert?",
            "description": "Bool value to indicate, whether this message was archived. Archived messages get an indicator icon set before their title.",
            "aliases": ["3"]
        },
        "page": {
            "type": "wiki-page-name",
            "label": "Seite",
            "description": "Page containing the message. When present, an edit button will be placed right of the title.",
            "aliases": ["4"]
         }
         }
     }
     }
Zeile 30: Zeile 42:
|title=
|title=
|body=
|body=
|archived=
|page=
}}
}}
</nowiki>}}
</nowiki>}}

Aktuelle Version vom 3. Dezember 2017, 19:00 Uhr

Description

This template takes a message - to be more precise a title and a message body - and displays it. Normally used in a query.

Parameters

Display of one message

Vorlagenparameter

ParameterBeschreibungTypStatus
Nachrichtentiteltitle 1

Title of the Message

Einzeiliger Texterforderlich
Nachrichtentextbody 2

The messagtext to be displayed belof the title.

Mehrzeiliger Texterforderlich
Archiviert?archived 3

Bool value to indicate, whether this message was archived. Archived messages get an indicator icon set before their title.

Wahrheitswertoptional
Seitepage 4

Page containing the message. When present, an edit button will be placed right of the title.

Seitennameoptional

Usage

{{display message
|title=
|body=
|archived=
|page=
}}