Bamp (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Bamp (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(18 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<noinclude><languages/></noinclude><includeonly> | |||
<templatestyles src="Vorlage:Infobox/styles.css"/> | <templatestyles src="Vorlage:Infobox/styles.css"/> | ||
<div class="infobox infobox-inline" style="{{#if:{{{GLOWCOLOR|}}}|box-shadow: 0px 0px 5px {{{GLOWCOLOR}}};|}}"><table><tr><td><p class="infobox-inline-icon"> | |||
<div class="infobox infobox-inline | |||
{{# | |||
| | |||
{{#switch: {{{ICON}}} | {{#switch: {{{ICON}}} | ||
| info = [[Datei:IconInfo.svg|30px|link=]] | | info = [[Datei:IconInfo.svg|30px|link=]] | ||
| warning = [[Datei:IconAttention.svg|30px|link=]] | | warning = [[Datei:IconAttention.svg|30px|link=]] | ||
| maintenance = [[Datei:IconMaintenance.svg|30px|link=]] | |||
}} | }} | ||
</p></td><td>{{{MESSAGE}}}</td></tr></table></div> | </p></td><td>{{{MESSAGE}}}</td></tr></table></div> | ||
}} | </includeonly><noinclude> | ||
= Vorschau = | |||
{| | |||
| {{Infobox/Inline | ICON = info | MESSAGE = info }} || || {{Infobox/Inline | ICON = info | MESSAGE = info & blue glow | GLOWCOLOR = blue }} | |||
|- | |||
| || || | |||
|- | |||
| {{Infobox/Inline | ICON = warning | MESSAGE = warning }} || || {{Infobox/Inline | ICON = warning | MESSAGE = warning & yellow glow | GLOWCOLOR = yellow }} | |||
|- | |||
| || || | |||
|- | |||
| {{Infobox/Inline | ICON = maintenance | MESSAGE = maintenance }} || || {{Infobox/Inline | ICON = maintenance | MESSAGE = maintenance & red glow | GLOWCOLOR = red }} | |||
|} | |||
< | <hr/> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Zeile 25: | Zeile 28: | ||
"ICON": { | "ICON": { | ||
"label": "Icon", | "label": "Icon", | ||
"description": " | "description": "Legt das Icon fest", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true, | ||
"autovalue": "", | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"info", | |||
"warning", | |||
"maintenance" | |||
] | |||
}, | }, | ||
"MESSAGE": { | "MESSAGE": { | ||
"label": " | "label": "Nachricht", | ||
"description": " | "description": "Anzuzeigende Nachricht", | ||
"type": "content", | "type": "content", | ||
"required": true | "required": true, | ||
"suggested": true | |||
}, | }, | ||
" | "GLOWCOLOR": { | ||
"label": " | "label": "Leuchtfarbe", | ||
"description": " | "description": "Fügt einen Leuchteffekt in der angegebenen Farbe hinzu (alle CSS-Farbnamen möglich)", | ||
"type": " | "type": "line", | ||
" | "suggested": true | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Zeigt eine Information oder Warnung an", | ||
"format": " | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ | ||
"ICON", | "ICON", | ||
"MESSAGE", | "MESSAGE", | ||
" | "GLOWCOLOR" | ||
] | ] | ||
} | } | ||
Zeile 55: | Zeile 66: | ||
|ICON= | |ICON= | ||
|MESSAGE= | |MESSAGE= | ||
| | |GLOWCOLOR= | ||
}}</nowiki> | }}</nowiki> | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 7. August 2023, 16:55 Uhr
Vorschau
|
| |||||
|
| |||||
|
|
Zeigt eine Information oder Warnung an
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Icon | ICON | Legt das Icon fest
| Zeile | erforderlich |
Nachricht | MESSAGE | Anzuzeigende Nachricht | Inhalt | erforderlich |
Leuchtfarbe | GLOWCOLOR | Fügt einen Leuchteffekt in der angegebenen Farbe hinzu (alle CSS-Farbnamen möglich) | Zeile | vorgeschlagen |
Template source code:
{{Infobox/Inline |ICON= |MESSAGE= |GLOWCOLOR= }}