Template:Hinweis: Difference between revisions

From Infektiopedia
imported>Maximilian.schons@uk-koeln.de
No edit summary
imported>Maximilian.schons@uk-koeln.de
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Hinweis/styles.css" />
<div class="infobox notification-{{{boxtype}}}">
<div class="infobox notification-{{{boxtype}}}">
<span class="boxlabel">
<span class="boxlabel">
{{#switch: {{{boxtype}}}
{{{boxlabel}}}
| note = Note:
</span>{{{text}}}
| tip = Tip:
| warning = Warning:
| example = Example:
| important = Important!
| backgroundbox =
| #default = Note:
}}
</span>{{{Note text}}}
</div>
</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 24: Line 16:
"required": true
"required": true
},
},
"Note text": {}
"text": {}
},
},
"description": "To add standard info boxes such as notes or warnings to a page"
"description": "To add standard info boxes such as notes or warnings to a page"

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>