Template:Plink/doc: Difference between revisions
From Guinea Isles Wiki
Created page with " <templatedata> { "params": { "pic": { "label": "Picture", "description": "The name of the image file.", "type": "wiki-file-name" }, "txt": { "label": "Custom text", "description": "Override the displayed link text.", "type": "string", "default": "First parameter" }, "item": { "label": "Item", "description": "The name of the item/page you are linking to.", "type": "string", "required": true } } } </templatedata>" |
No edit summary |
||
| Line 1: | Line 1: | ||
{ | { | ||
"description": "The 'Picture Link' (plink) template is used to create item image + text links.", | |||
"params": { | |||
"1": { | |||
"label": "Item", | |||
"description": "The item to link to and display", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"pic": { | |||
"label": "Picture", | |||
"description": "The name of the image file; do not include 'File:' or '.png'", | |||
"default": "First parameter", | |||
"type": "wiki-file-name" | |||
}, | |||
"txt": { | |||
"label": "Text override", | |||
"description": "Override the displayed link text.", | |||
"default": "First parameter", | |||
"type": "string" | |||
} | |||
} | |||
} | } | ||
Revision as of 18:33, 20 September 2025
{
"description": "The 'Picture Link' (plink) template is used to create item image + text links.",
"params": {
"1": {
"label": "Item",
"description": "The item to link to and display",
"type": "wiki-page-name",
"required": true
},
"pic": {
"label": "Picture",
"description": "The name of the image file; do not include 'File:' or '.png'",
"default": "First parameter",
"type": "wiki-file-name"
},
"txt": {
"label": "Text override",
"description": "Override the displayed link text.",
"default": "First parameter",
"type": "string"
}
}
}