Template:Infobox place/link: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "URL", | "label": "URL", | ||
"description": "The URL for the link.", | "description": "The URL for the link.", | ||
Line 23: | Line 23: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "2": { | ||
"label": "Label", | "label": "Label", | ||
"description": "A custom label for the link.", | "description": "A custom label for the link.", |
Revision as of 19:56, 17 December 2024
This is a helper template for Template:Infobox place, it takes information about a link and displays it as a row in the infobox.
Behavior
The examples below are embedded in an empty infobox for accurate table row display.
Both a URL and a label must be provided—the label serves as the row header, while the URL is simplified with Template:clean URL and is displayed as the row data.
{{Infobox place/link|https://www.iprc.org/events|Calendar}}
Calendar | iprc.org/events |
---|---|
Template Data
A helper template to display custom links in the infobox for a place.
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | 1 | The URL for the link. | URL | required |
Label | 2 | A custom label for the link. | String | required |