Vorlage:Infobox/Inline: Unterschied zwischen den Versionen

Aus OMSI-Tools
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<templatestyles src="Vorlage:Infobox/styles.css"/>
<templatestyles src="Vorlage:Infobox/styles.css"/>


{{#if:{{{REDGLOW|}}}|
{{#if:{{{GLOW|}}}|
<div class="infobox infobox-inline redglow"><table><tr><td><p class="infobox-inline-icon">
<div class="infobox infobox-inline redglow"><table><tr><td><p class="infobox-inline-icon">
{{#switch: {{{ICON}}}
{{#switch: {{{ICON}}}
Zeile 35: Zeile 35:
"required": true
"required": true
},
},
"REDGLOW": {
"GLOW": {
"label": "Redglow",
"label": "Glow",
"description": "Adds a red blur effect to the border.",
"description": "Adds a blur effect to the border.",
"type": "boolean",
"type": "boolean",
"default": "false"
"default": "false"
Zeile 47: Zeile 47:
"ICON",
"ICON",
"MESSAGE",
"MESSAGE",
"REDGLOW"
"GLOW"
]
]
}
}

Version vom 5. August 2023, 01:42 Uhr

{{{MESSAGE}}}

International template - Displays an information or warning message.

[Vorlagendaten bearbeiten]

Vorlagenparameter

Diese Vorlage bevorzugt Blockformatierung von Parametern.

ParameterBeschreibungTypStatus
IconICON

Specify icon - possible values: <code>info</code> | <code>warning</code

Zeileerforderlich
MessageMESSAGE

Message which will be shown

Inhalterforderlich
GlowGLOW

Adds a blur effect to the border.

Standard
false
Booleschoptional

Template source code:

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