Vorlage:Display message/doc: Unterschied zwischen den Versionen
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Tobi (Diskussion | Beiträge) (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…“) |
Tobi (Diskussion | Beiträge) 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, 19:00 Uhr
This is a documentation subpage for Vorlage:Display message. It contains usage information, categories and other content that is not part of the original vorlage page. |
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
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Nachrichtentitel | title 1 | Title of the Message | Einzeiliger Text | erforderlich |
Nachrichtentext | body 2 | The messagtext to be displayed belof the title. | Mehrzeiliger Text | erforderlich |
Archiviert? | archived 3 | Bool value to indicate, whether this message was archived. Archived messages get an indicator icon set before their title. | Wahrheitswert | optional |
Seite | page 4 | Page containing the message. When present, an edit button will be placed right of the title. | Seitenname | optional |
Usage
{{display message
|title=
|body=
|archived=
|page=
}}