Template:PageRef/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "Example {{PageRef|Lash}} {{PageRef|Lash|alt=Jacob}} {{PageRef|Siphon Life|size=50}} {{PageRef|Basic Magazine}} {{PageRef|The Curiosity Shop|alt=Shop|size=100}} <templatedata> { "description": "Template that outputs an icon and a link to the given page with an optional alternate display name.", "params": { "name": { "label": "Name", "description": "The name of the page to link to, also used to determine the icon.",..." |
mNo edit summary |
||
Line 6: | Line 6: | ||
{{PageRef|Siphon Life|size=50}} | {{PageRef|Siphon Life|size=50}} | ||
{{PageRef|AttributeIconTechDuration}} | |||
{{PageRef|Basic Magazine}} | {{PageRef|Basic Magazine}} | ||
Line 13: | Line 15: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Template that outputs an icon and a link to the given page with an optional alternate display name.", | "description": "Template that outputs an icon in svg and a link to the given page with an optional alternate display name.", | ||
"params": { | "params": { | ||
"name": { | "name": { |
Revision as of 18:38, 6 October 2024
Example
Template that outputs an icon in svg and a link to the given page with an optional alternate display name.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the page to link to, also used to determine the icon.
| String | required |
Alternate Name | alt | An optional display name to show instead of the page name in the link.
| String | optional |
Size | size | Size of the icon link, defaulted to 15px
| Number | optional |