Last edited 3 years ago
by Anna Lionetti

Template:Notebox: Difference between revisions

No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 10:10, 8 March 2021


This template creates different types of info boxes on a page. Based on the box type, the label and the color scheme are selected.

The template files (Template:Infobox and Template:Infobox/styles.css can be downloaded as part of the template package.

https://en.wiki.bluespice.com/w/nsfr_img_auth.php/thumb/5/54/template-download-Box_Note.png/550px-template-download-Box_Note.png

<templatedata> { "params": { "boxtype": { "description": "Possible values: note, tip, warning, important, example, emptybox. If type emptybox is chosen, then no label is added before the message.", "example": "note", "type": "string", "default": "note", "required": true, "label": "Type of box" }, "text": { "label": "Text", "required": true, "type": "content" }, "bgcolor": { "label": "Background color", "description": "Changes the background color of the box.", "type": "string", "suggested": true } }, "description": "Add a note" } </templatedata>