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
(Die Seite wurde neu angelegt: „{{Documentation subpage}} <!-- Categories go at the bottom of this page. --> == Description == This template takes a message - to be more precise a title and a…“)
 
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
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>}}
Zeile 36: Zeile 50:
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- ADD CATEGORIES AFTER THIS LINE -->
<!-- ADD CATEGORIES AFTER THIS LINE -->
[[Verzauberte Welten templates]][[Query templates]]
[[Category:Verzauberte Welten templates]][[Category:Query templates]]
}}
}}
}}</includeonly>
}}</includeonly>

Aktuelle Version vom 3. Dezember 2017, 20: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=
}}