Template:Dropdown: Difference between revisions

Meryam Sahin (talk | contribs)
No edit summary
Meryam Sahin (talk | contribs)
No edit summary
 
Line 9: Line 9:
{
{
"params": {
"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": {
"Content": {
"label": {
"label": {
Line 77: Line 61:
},
},
"paramOrder": [
"paramOrder": [
        "Name",
"Content",
        "Content",  
"ddicon",
        "ddicon",  
"id",
        "id",  
"ddid"
        "ddid"
],
    ],
"description": {
"description": {
"en": "Creates a dropdown menu on the right edge of the page.",
"en": "Creates a dropdown menu on the right edge of the page.",

Latest revision as of 09:17, 22 October 2026

Creates a dropdown

Creates a dropdown menu on the right edge of the page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Menu contentContent

List of links, one per line, each starting with *. Start on a new line.

Contentrequired
Iconddicon

Icon class

Default
bi bi-pencil-fill
Example
bi bi-list
Stringsuggested
Menu IDid

Only needed with several dropdowns on one page: give each a different value e.g. menu1, menu2).

Default
edit
Stringoptional
Container IDddid

Only needed with several dropdowns on one page: then also set a different value for each.

Default
edit
Stringoptional