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

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>