Vorlage:Infobox/Inline: Unterschied zwischen den Versionen

Aus OMSI-Tools
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 5: Zeile 5:
  | 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>
Zeile 15: Zeile 16:
|-
|-
| {{Infobox/Inline | ICON = warning | MESSAGE = warning }} || || {{Infobox/Inline | ICON = warning | MESSAGE = warning & yellow glow | GLOWCOLOR = yellow }}
| {{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/>
<hr/>
[[Kategorie:Infoboxen{{#translation:}}]]
[[Kategorie:Alle Vorlagen{{#translation:}}]]
<templatedata>
<templatedata>
{
{
Zeile 26: Zeile 28:
"ICON": {
"ICON": {
"label": "Icon",
"label": "Icon",
"description": "Specify icon - possible values: <code>info</code> | <code>warning</code",
"description": "Legt das Icon fest",
"type": "line",
"type": "line",
"required": true
"required": true,
"autovalue": "",
"suggested": true,
"suggestedvalues": [
"info",
"warning",
"maintenance"
]
},
},
"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": "line",
"default": "false"
"suggested": true
}
}
},
},
"description": "International template - Displays an information or warning message.",
"description": "Zeigt eine Information oder Warnung an",
"format": "block",
"format": "inline",
"paramOrder": [
"paramOrder": [
"ICON",
"ICON",

Aktuelle Version vom 7. August 2023, 16:55 Uhr

Vorschau

info

info & blue glow

warning

warning & yellow glow

maintenance

maintenance & red glow

Zeigt eine Information oder Warnung an

[Vorlagendaten bearbeiten]

Vorlagenparameter

Diese Vorlage bevorzugt Inline-Formatierung von Parametern.

ParameterBeschreibungTypStatus
IconICON

Legt das Icon fest

Vorgeschlagene Werte
info warning maintenance
Autowert
Zeileerforderlich
NachrichtMESSAGE

Anzuzeigende Nachricht

Inhalterforderlich
LeuchtfarbeGLOWCOLOR

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

Zeilevorgeschlagen

Template source code:

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