You are viewing an old version of this page. Return to the latest version.
m (Tag: 2017 source edit) |
m (Tag: 2017 source edit) |
Note: {{{Note text}}}
Kopiervorlage:
{{Box_Note|Note text =}}
To add standard infoboxes such as notes or related links to a page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Boxtype | boxtype |
Possible values: note, tip, warning, example
|
String | required |
Note text | Note text |
no description
|
Unknown | optional |
<templatestyles src="Template:Box_Note/styles.css" /> <div class="infobox notification-{{{boxtype}}}"> <span class="boxlabel"> {{#switch: {{{boxtype}}} | note = Note: | tip = Tip: | warning = Warning: | #default = Note: }} </span>{{{Note text}}} </div> <noinclude> Kopiervorlage: <pre> {{Box_Note|Note text =}} </pre> <templatedata> { "params": { "boxtype": { "description": "Possible values: note, tip, warning, example", "example": "note", "type": "string", "default": "note", "required": true }, "Note text": {} }, "description": "To add standard infoboxes such as notes or related links to a page" } </templatedata> </noinclude>
Line 19: | Line 19: | ||
"params": { | "params": { | ||
"boxtype": { | "boxtype": { | ||
− | "description": "Possible values: note, tip, warning", | + | "description": "Possible values: note, tip, warning, example", |
"example": "note", | "example": "note", | ||
"type": "string", | "type": "string", |