« Modèle:Hp-chapter-block » : différence entre les versions
(modified for migration to MW1.35) |
m (1 version importée : MW1.35 - common pages for all wikis) |
Version du 30 juin 2022 à 15:47
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"
Paramètre | Description | Type | État | |
---|---|---|---|---|
chapter letter | letter | the letter (A..S) of the chapter
| Inconnu | suggéré |
alt text to show on mouse hover | alt-text | The alt text to show on mouse hover
| Inconnu | suggéré |
Link text | link-text | The text of the link (if different from the chapter page name) | Inconnu | facultatif |
new | new | add new=yes to add a NEW icon to the chapter card | Booléen | facultatif |