Template:Hinweis: Difference between revisions
imported>Maximilian.schons@uk-koeln.de (Die Seite wurde neu angelegt: „<nowiki><div class="infobox notification-{{{boxtype}}}"></nowiki> <nowiki><span class="boxlabel"></nowiki> {{#switch: <nowiki>{{{boxtype}}}</nowiki> | note…“) |
imported>Maximilian.schons@uk-koeln.de No edit summary |
||
| Line 1: | Line 1: | ||
<div class="infobox notification-{{{boxtype}}}"> | |||
<span class="boxlabel"> | |||
{{#switch: {{{boxtype}}} | |||
| note = Note: | |||
| tip = Tip: | |||
| warning = Warning: | |||
| example = Example: | |||
| important = Important! | |||
| backgroundbox = | |||
| #default = Note: | |||
}} | |||
</span>{{{Note text}}} | |||
</div> | |||
< | <noinclude> | ||
<templatedata> | |||
{ | { | ||
"params": { | |||
"boxtype": { | |||
"description": "Possible values: note, tip, warning,example, important, backgroundbox", | |||
"example": "note", | |||
"type": "string", | |||
"default": "note", | |||
"required": true | |||
}, | |||
"Note text": {} | |||
}, | |||
"description": "To add standard info boxes such as notes or warnings to a page" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 14:30, 7 June 2021
Note: {{{Note text}}}
<templatedata>
{
"params": {
"boxtype": {
"description": "Possible values: note, tip, warning,example, important, backgroundbox",
"example": "note",
"type": "string",
"default": "note",
"required": true
},
"Note text": {}
},
"description": "To add standard info boxes such as notes or warnings to a page"
}
</templatedata>