Vorlage:Hp-chapter-block: Unterschied zwischen den Versionen
(modified for migration to MW1.35) |
K (1 Version importiert: MW1.35 - common pages all wikis) |
(kein Unterschied)
|
Version vom 17. Mai 2022, 07:53 Uhr
Used to add one chapter "component" on homepage table of content. The "link-text" parameter should generally be omitted (only needed if a chapter page name is too long and needs to be shortened) Two elements are deducted from the chapter-letter:
- the chapter page name is fetched automatically using semantic properties (#ask)
- the chapter icon image file name = "File:Hp-chapter-<chapter-letter>.png"
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
chapter letter | letter | the letter (A..S) of the chapter
| Unbekannt | vorgeschlagen |
alt text to show on mouse hover | alt-text | The alt text to show on mouse hover
| Unbekannt | vorgeschlagen |
Link text | link-text | The text of the link (if different from the chapter page name) | Unbekannt | optional |
new | new | add new=yes to add a NEW icon to the chapter card | Wahrheitswert | optional |