Template:Zdoomwiki: Difference between revisions

Those are not named parameters
(Add default attr for text)
Tag: Source edit
(Those are not named parameters)
Tag: Source edit
 
Line 5: Line 5:
"format": "inline",
"format": "inline",
"params": {
"params": {
"page": {
"1": {
"label": "Title",
"label": "Title",
"description": "The title of the page to link to",
"type": "line",
"type": "line",
"required": true,
"required": true
"description": "The title of the page to link to"
},
},
"text": {
"2": {
"label": "Text",
"label": "Text",
"description": "The text of the link",
"type": "content",
"type": "content",
"required": false,
"default": "Defaults to the same value as 'page'."
"description": "The text of the link",
            "default": "Defaults to the same value as 'page'."
}
}
}
},
"paramOrder": [
"1",
"2"
]
}
}
</templatedata>
</templatedata>