Template:PageRef/doc: Difference between revisionsGive feedback
m alt_link example |
m name should be localized |
||
| Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
Outputs an icon in svg and a link to the given page with an optional alternate display name. | Outputs an icon in svg and a link to the given localized page with an optional alternate display name. | ||
Output should be:<br> | Output should be:<br> | ||
| Line 46: | Line 46: | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The name of the page to link to, also used to determine the icon.", | "description": "The localized name of the page to link to, also used to determine the icon.", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||