Autogenerated |
Meryam Sahin (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
{{{Content|}}} | {{{Content|}}} | ||
</div></div> | </div></div> | ||
</div></div></includeonly><noinclude>Creates a dropdown</noinclude> | </div></div></includeonly><noinclude>Creates a dropdown | ||
<templatedata> | |||
{ | |||
"params": { | |||
"Name": { | |||
"label": { | |||
"en": "Label", | |||
"de": "Beschriftung" | |||
}, | |||
"description": { | |||
"en": "Text next to the icon.", | |||
"de": "Text neben dem Icon." | |||
}, | |||
"type": "string", | |||
"example": { | |||
"en": "Subpages", | |||
"de": "Unterseiten" | |||
}, | |||
"suggested": true | |||
}, | |||
"Content": { | |||
"label": { | |||
"en": "Menu content", | |||
"de": "Menüinhalt" | |||
}, | |||
"description": { | |||
"en": "List of links, one per line, each starting with *. Start on a new line.", | |||
"de": "Linkliste, ein Link pro Zeile, jeweils mit * beginnen. In neuer Zeile starten." | |||
}, | |||
"type": "content", | |||
"required": true | |||
}, | |||
"ddicon": { | |||
"label": { | |||
"en": "Icon", | |||
"de": "Icon" | |||
}, | |||
"description": { | |||
"en": "Icon class", | |||
"de": "Icon-Klasse" | |||
}, | |||
"type": "string", | |||
"default": "bi bi-pencil-fill", | |||
"example": "bi bi-list", | |||
"suggested": true | |||
}, | |||
"id": { | |||
"label": { | |||
"en": "Menu ID", | |||
"de": "Menü-ID" | |||
}, | |||
"description": { | |||
"en": "Only needed with several dropdowns on one page: give each a different value e.g. menu1, menu2).", | |||
"de": "Nur bei mehreren Dropdowns auf einer Seite nötig: jedem einen anderen Wert geben (z. B. menu1, menu2)." | |||
}, | |||
"type": "string", | |||
"default": "edit" | |||
}, | |||
"ddid": { | |||
"label": { | |||
"en": "Container ID", | |||
"de": "Container-ID" | |||
}, | |||
"description": { | |||
"en": "Only needed with several dropdowns on one page: then also set a different value for each.", | |||
"de": "Nur bei mehreren Dropdowns auf einer Seite nötig: dann ebenfalls für jedes einen anderen Wert setzen." | |||
}, | |||
"type": "string", | |||
"default": "edit" | |||
} | |||
}, | |||
"paramOrder": ["Name", "Content", "ddicon", "id", "ddid"], | |||
"description": { | |||
"en": "Creates a dropdown menu on the right edge of the page.", | |||
"de": "Erstellt ein Dropdown-Menü am rechten Seitenrand." | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 08:44, 22 October 2026
Creates a dropdown
Creates a dropdown menu on the right edge of the page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Label | Name | Text next to the icon.
| String | suggested |
| Menu content | Content | List of links, one per line, each starting with *. Start on a new line. | Content | required |
| Icon | ddicon | Icon class
| String | suggested |
| Menu ID | id | Only needed with several dropdowns on one page: give each a different value e.g. menu1, menu2).
| String | optional |
| Container ID | ddid | Only needed with several dropdowns on one page: then also set a different value for each.
| String | optional |