Template:Plinkt/doc

Template page

{{#invoke:Documentation|doc}} The picture link table template is a variant of {{#invoke:T|main}} used to created image-and-text links within tables.

Usage

{{#invoke:T|main}}

Examples

Code Produces Standard syntax
{{plinkt|Abyssal whip}} [[File:Abyssal whip.png|link=Abyssal whip]]||[[Abyssal whip]]
{{plinkt|Granite maul|pic=Abyssal whip}} [[File:Abyssal whip.png|link=Granite maul]]||[[Granite maul]]

See also

Parameters

<templatedata> { "description": "A variant of the \"Picture Link\" (plink) template, \"Picture Link Table\" (plinkt) is used to display an item image and text link across two table cells.", "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. ", "type": "wiki-file-name",

           "default": "First parameter."
       },

"txt": { "label": "Text", "description": "Override the displayed link text.", "type": "string",

           "default": "First parameter."

}, "rowspan": { "label": "Rowspan",

           "description": "Change the rowspan.",
           "type": "number",
           "default": "1"

}, "colspan": { "label": "Colspan",

           "description": "Change the colspan.",
           "type": "number",
           "default": "1"

} } } </templatedata>