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 |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <templatestyles src="Template:Hinweis/styles.css" /> | ||
<div class="infobox notification-{{{boxtype}}}"> | |||
<span class="boxlabel"> | |||
{{{boxlabel}}} | |||
{{ | </span>{{{text}}} | ||
</div> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"boxtype": { | |||
"description": "Possible values: note, tip, warning,example, important, backgroundbox", | |||
"example": "note", | |||
"type": "string", | |||
"default": "note", | |||
"required": true | |||
}, | |||
"text": {} | |||
}, | |||
"description": "To add standard info boxes such as notes or warnings to a page" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 08:48, 9 June 2021
{{{boxlabel}}} {{{text}}}
<templatedata> { "params": { "boxtype": { "description": "Possible values: note, tip, warning,example, important, backgroundbox", "example": "note", "type": "string", "default": "note", "required": true }, "text": {} }, "description": "To add standard info boxes such as notes or warnings to a page" } </templatedata>