Template:Hinweis: Difference between revisions
imported>Maximilian.schons@uk-koeln.de No edit summary |
imported>Maximilian.schons@uk-koeln.de No edit summary |
||
| Line 3: | Line 3: | ||
<span class="boxlabel"> | <span class="boxlabel"> | ||
{{#switch: {{{boxtype}}} | {{#switch: {{{boxtype}}} | ||
| note = | | note = Hinweis: | ||
| tip = | | tip = Tipp: | ||
| warning = | | warning = Warnung: | ||
| example = | | example = Beispiel: | ||
| important = | | important = Wichtig! | ||
| backgroundbox = | | backgroundbox = | ||
| | | default = Hinweis: | ||
}} | }} | ||
</span>{{{ | </span>{{{text}}} | ||
</div> | </div> | ||
| Line 25: | Line 25: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "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" | ||
Revision as of 14:34, 7 June 2021
{{{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>