m (Mlink-rodrigue moved page Template:BoxNote to Template:Box Note without leaving a redirect) |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<templatestyles src="Template: | <templatestyles src="Template:Box_Note/styles.css" /> | ||
<includeonly><span class="boxlabel"> | <includeonly><span class="boxlabel"> | ||
<div class="infobox notification-{{{boxtype}}}" | <div class="infobox notification-{{{boxtype}}}" {{#if:{{{bgcolor|}}}|style="background:{{{bgcolor}}}"|}}><span class="boxlabel"> | ||
{{#if:{{{bgcolor|}}}|style="background:{{{bgcolor}}}"|}}> | |||
<span class="boxlabel"> | |||
| note = Note: | | note = Note: | ||
| tip = Tip: | | tip = Tip: | ||
Line 11: | Line 9: | ||
| backgroundbox = | | backgroundbox = | ||
| #default = Note: | | #default = Note: | ||
}} | }}</span>{{{Note text}}}</div></includeonly> | ||
</span>{{{Note text}}} | |||
</div></includeonly> | |||
<noinclude> | <noinclude> | ||
Source code syntax: | Source code syntax: |
Revision as of 08:56, 16 June 2020
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 |