Template:Hinweis: Difference between revisions

From Infektiopedia
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:
<nowiki><div class="infobox notification-{{{boxtype}}}"></nowiki>
<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>


<nowiki><span class="boxlabel"></nowiki>
<noinclude>
 
<templatedata>
{{#switch: <nowiki>{{{boxtype}}}</nowiki>
{
 
"params": {
| note = Hinweis:
"boxtype": {
 
"description": "Possible values: note, tip, warning,example, important, backgroundbox",
| tip = Tipp:
"example": "note",
 
"type": "string",
| warning = Achtung:
"default": "note",
 
"required": true
| example = Beispiel:
},
 
"Note text": {}
| important = Wichtig!
},
 
"description": "To add standard info boxes such as notes or warnings to a page"
| backgroundbox =
}
 
</templatedata>
| #default = Hinweis:
</noinclude>
 
<nowiki>}}</nowiki>
 
<nowiki></span></nowiki><nowiki>{{{Note text}}}</nowiki>
 
<nowiki></div></nowiki>

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>