No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 15: | Line 15: | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
Source code syntax: | |||
<pre> | |||
{{Box_Note|Note text =|bgcolor =}} | |||
</pre> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"Note text": {}, | |||
"boxtype": { | "boxtype": { | ||
"description": " | "description": "Poosible values: note, tip, warning, important, example, backgroundbox", | ||
"example": "note", | "example": "note", | ||
"type": "string", | "type": "string", | ||
Line 25: | Line 30: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "bgcolor": { | ||
"label": "bgcolor", | |||
"description": "Hintergrundfarbe der Box im Hex-format (z.B. #ececec)", | |||
"type": "string" | |||
} | |||
}, | }, | ||
"description": " | "description": "Creates an info box", | ||
"paramOrder": [ | |||
"boxtype", | |||
"Note text", | |||
"bgcolor" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 08:50, 16 June 2020
Page Template:BoxNote/styles.css has no content.
Source code syntax:
{{Box_Note|Note text =|bgcolor =}}
Creates an info box
Parameter | Description | Type | Status | |
---|---|---|---|---|
boxtype | boxtype | Poosible values: note, tip, warning, important, example, backgroundbox
| String | required |
Note text | Note text | no description | Unknown | optional |
bgcolor | bgcolor | Hintergrundfarbe der Box im Hex-format (z.B. #ececec) | String | optional |