UTM-14.0.9>Lauritzl KKeine Bearbeitungszusammenfassung |
K 1 Version importiert: Release UTM 14.0.9 |
||
(kein Unterschied)
| |||
Aktuelle Version vom 7. Oktober 2025, 13:13 Uhr
Syntax: Vorlage:Hinweis-box/Syntax
Workaround für Listen in Hinweisboxen:
- Der 1. Parameter (mit den Listenpunkten) muss mit <ul> beginnen, sonst erkennt der Parser das * nicht als Listenzeichen
- Dementsprechend muss die Liste auch mit <ul> schließen ggf. vor einem <li listelement…> - das wird sonst zu weit eingerückt!
| Parameter | Default | Wirkung | Syntax | Beispiel |
|---|---|---|---|---|
| | 1 | Text in Box | {{Hinweis-box|Text in Box}} | notempty Text in Box | |
| | 2 | rot | Farbe Umrandung / Ausrufezeichen Bei Wert g bzw. gelb wird automatisch fc=fc__grau-l |
{{Hinweis-box|Text in Box|gelb}} {{Hinweis-box|Text in Box|gr}} |
notempty Text in Box Text in Box |
| |3 | ver= |
Versionsnummer, z.B.: 12.3.1 , fs → 0.9em Ist die Versionsnummer < Majorrelease wird die Box ausgeblendet |
{{Hinweis-box|Text in Box | ver=12.3.1 }} {{Hinweis-box|Text in Box | gr | 12.3.1 }} {{Hinweis-box|Text in Box | gr | 99 }} |
notempty Text in Box notempty Text in Box notempty Text in Box | |
| | fc__icon= | rot | css-Klasse, die nur auf das Icon wirkt Beliebige ccs Farbwert-Klasse mit fc__ |
{{Hinweis-box|Text in Box|fc__icon=fc__gruen}} | notempty Text in Box Mehrzeilig |
| | fs__icon= | em1 | css-Klasse Größe des Ausrufezeichens | {{Hinweis-box|Text in Box|fs__icon=em2}} | notempty Text in Box |
| fs__icon=none blendet das Icon aus | {{Hinweis-box|Text in Box|fs__icon=none}} | notempty Text in Box | ||
| | icon-r= | none | FontAwesome-Klasse für rechtes Icon | {{Hinweis-box|Text in Box|icon-r=fa-exclamation-triangle}} | notempty Text in Box |
| | fs__icon-r= | fs__icon | css-Klasse Größe des rechten Icons | {{Hinweis-box| Text in Box | fs__icon=none | icon-r=fa-exclamation-triangle | fs__icon-r=em2}} | notempty Text in Box |
| | css= | top | css-Klasse die auf den gesamten Conntainer wirkt | {{Hinweis-box|Text in Box|css=top}} | notempty Text in Box |
| | Anw= | UTM | css-Klasse, wirkt auf manche Farben und wichtig für die Versionierung | {{Hinweis-box|Text in Box|fs__alert=em2}} | notempty Text in Box
|
| | fc= | wie 2 (bei 2=g → grau-l) | css-Klasse, die nur auf die Schrift wirkt Beliebige ccs Farbwert-Klasse mit fc__ |
{{Hinweis-box|Text in Box|fc=fc__springgreen}} | notempty Text in Box |
| | unbordered= | Text ohne Rand | {{Hinweis-box|Text in Box|unbordered=Text ohne Rand}} | notempty Text in Box | |
| | icon= | fa-exclamation-triangle | Font Awesome Icon-Klasse | {{Hinweis-box|Text in Box|icon=fa-hand-middle-finger}} | notempty Text in Box |
| | fa= | fal | solid, regular, light, dutone | {{Hinweis-box|Text in Box|icon=fa-hand-middle-finger|fa=fas}} | notempty Text in Box |
| | status= | update | {{Hinweis-box|Text in Box|status=update}} | notempty Text in Box | |
| neu | {{Hinweis-box|Text in Box|status=neu}} | notempty Text in Box | ||
| neu | {{Hinweis-box||status=neu}}ohne Parameter 1 ! | |||
| | fs= | em1 | em2, em3… | {{Hinweis-box|Text in Box|fs=em2}} | notempty Text in Box |
| | bdr= | 1 | 0 bei Version, 1,2 oder 3 bei fs emx Bei anderen fs-Werten muss bdr von Hand gesetzt werden |
{{Hinweis-box|Text in Box|bdr=3}} | notempty Text in Box |
| | title= | Zeigt den Text als Hover-Hinweis an |
|
|