Vorlage:Infobox/Inline: Unterschied zwischen den Versionen

Aus OMSI-Tools
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 26: Zeile 26:
"ICON": {
"ICON": {
"label": "Icon",
"label": "Icon",
"description": "Specify icon - possible values: <code>info</code> | <code>warning</code",
"description": "Legt das Icon fest (<code>info</code> | <code>warning</code)",
"type": "line",
"type": "line",
"required": true
"required": true,
"autovalue": "info",
"suggested": true
},
},
"MESSAGE": {
"MESSAGE": {
"label": "Message",
"label": "Nachricht",
"description": "Message which will be shown",
"description": "Anzuzeigende Nachricht",
"type": "content",
"type": "content",
"required": true
"required": true,
"suggested": true
},
},
"GLOWCOLOR": {
"GLOWCOLOR": {
"label": "Glow color",
"label": "Leuchtfarbe",
"description": "Adds a blur effect to the border with the specified color.",
"description": "Fügt einen Leuchteffekt in der angegebenen Farbe hinzu (alle CSS-Farbnamen möglich)",
"type": "content",
"type": "content",
"default": "false"
"default": "false"
}
}
},
},
"description": "International template - Displays an information or warning message.",
"description": "Zeigt eine Information oder Warnung an",
"format": "block",
"format": "inline",
"paramOrder": [
"paramOrder": [
"ICON",
"ICON",

Version vom 5. August 2023, 23:54 Uhr

Vorschau

info

info & blue glow

warning

warning & yellow glow

Zeigt eine Information oder Warnung an

[Vorlagendaten bearbeiten]

Vorlagenparameter

Diese Vorlage bevorzugt Inline-Formatierung von Parametern.

ParameterBeschreibungTypStatus
IconICON

Legt das Icon fest (<code>info</code> | <code>warning</code)

Autowert
info
Zeileerforderlich
NachrichtMESSAGE

Anzuzeigende Nachricht

Inhalterforderlich
LeuchtfarbeGLOWCOLOR

Fügt einen Leuchteffekt in der angegebenen Farbe hinzu (alle CSS-Farbnamen möglich)

Standard
false
Inhaltoptional

Template source code:

{{Infobox/Inline
 |ICON=
 |MESSAGE=
 |GLOWCOLOR=
}}