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
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div class="infobox notification-{{{boxtype}}}">
<div class="infobox notification-{{{boxtype}}}">
<span class="boxlabel">
<span class="boxlabel">
{{#switch: {{{boxtype}}}
{{{boxlabel}}}
| note = Hinweis:
| tip = Tipp:
| warning = Warnung:
| example = Beispiel:
| important = Wichtig!
| backgroundbox =
| default = Hinweis:
}}
</span>{{{text}}}
</span>{{{text}}}
</div>
</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>

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>