Zuletzt bearbeitet vor 9 Monaten
von Margit Link-Rodrigue

Vorlage:Hinweisbox und SocialEntity:110: Unterschied zwischen den Seiten

(Unterschied zwischen Seiten)
Keine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
 
Keine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
 
Zeile 1: Zeile 1:
<includeonly><templatestyles src="Hinweisbox/styles.css" /><div class="hw-messagebox notification-{{{boxtype}}} {{#switch: {{{icon}}}|yes=icon|ja=icon}}"  {{#if:{{{bgcolor|}}}|style="background:{{{bgcolor}}}"|}}>{{#switch: {{{boxtype}}}|background|Hintergrund=|<span class="boxlabel">{{#switch: {{{boxtype}}} | note = Note: | Hinweis = Hinweis: | tip = Tip: | Tipp = Tipp: | warning = Warning! | Warnung = Achtung! | example = Example: | Beispiel = Beispiel: | important = Important! | Wichtig = Wichtig! | neutral|Neutral = |#default=}}</span>{{{Note text}}}</div></includeonly>
<noinclude>
Kopiervorlage:
<pre>
{{Hinweisbox|boxtype = |Note text =| bgcolor =}}
</pre>
<templatedata>
{
{
"params": {
    "wikipageid": 409,
"Note text": {
    "namespace": 0,
"required": true,
    "titletext": "Vorlage:Hinweisbox",
"label": {
    "description": "",
"de": "Text"
    "parentid": 0,
}
    "id": 110,
},
    "ownerid": 1,
"boxtype": {
    "type": "wikipage",
"example": {
    "archived": false,
"en": "note, tip, warning, important, example, neutral",
    "tags": [
"de": "Hinweis, Tipp, Wichtig, Warnung, Beispiel, Neutral"
        "Vorlage:Hinweisbox"
},
    ],
"type": "string",
    "resolved": false
"default": {},
"required": true,
"label": {
"de": "Art von Box",
"en": "Type of box"
},
"description": {
"en": "note, tip, warning, important, example, neutral",
"de": "Hinweis, Tipp, Wichtig, Warnung, Beispiel, Neutral"
}
},
"bgcolor": {
"label": {
"de": "Hintergrundfarbe",
"en": "Background color"
},
"description": {
"en": "Background color for neutral box in hex-format (#ececec)",
"de": "Hintergrundfarbe für neutrale Box in Hex-format (#ececec)"
},
"type": "string",
"example": "#ececec",
"suggested": true
},
"icon": {
"label": {
"en": "Show icon",
"de": "Symbol anzeigen"
},
"description": {
"en": "Shows icon before the label",
"de": "Zeigt ein passendes Symbol "
},
"example": {
"en": "yes, no",
"de": "ja, nein"
},
"suggested": true
}
},
"description": {
"de": "Infobox für Hinweise, Warnungen, Tipps, etc.",
"en": "Infobox for notes, warnings, tips, etc."
},
"paramOrder": [
"boxtype",
"icon",
"Note text",
"bgcolor"
]
}
}
</templatedata>
</noinclude>

Aktuelle Version vom 13. Dezember 2021, 17:46 Uhr

Keine Kategorien vergebenBearbeiten

Diskussionen