We are doing major maintenance work during the last week of October. Expect the wiki be unavailable for some time.

Template:Box Note

From Decoding the Disciplines
Revision as of 13:24, 9 September 2020 by Kirsch (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<templatestyles src="Template:Box_Note/styles.css" />

{{#switch: {{{boxtype}}}

| note = Hinweis:
| tip = Tipp:
| warning = Achtung:
| example = Beispiel:
| important = Wichtig!
| backgroundbox = 
| #default = Hinweis:

}} {{{Note text}}}

Kopiervorlage:

{{Box_Note|Note text =|bgcolor =}}

<templatedata> {

 "params": {
   "Note text": {},
   "boxtype": {
     "description": "Mögliche Werte: note, tip, warning, important, example, backgroundbox",
     "example": "note",
     "type": "string",
     "default": "note",
     "required": true
   },
   "bgcolor": {
     "label": "bgcolor",
     "description": "Hintergrundfarbe der Box im Hex-format (z.B. #ececec)",
     "type": "string"
   }
 },
 "description": "Erstellt eine Infobox für Hinweise, Warnungen, Tipps, etc.",
 "paramOrder": [
   "boxtype",
   "Note text",
   "bgcolor"
 ]

} </templatedata>