Template:Plinkp

Template page

{{#invoke:Documentation|doc}} The picture link plain template creates an image and links it to the page. Unlike {{#invoke:T|main}}, there is no text next to the image.

Usage

{{plinkp|item|pic=file name}}

Examples

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

See also

Parameters

<templatedata> { "description": "A variant of the \"Picture Link\" (plink) template, \"Picture Link Plain\" (plinkp) is used to display an item image and have it link to its corresponding page.", "params": { "1": { "label": "Item", "description": "The item to link to and display", "type": "wiki-page-name", "required": true }, "pic": { "label": "Picture", "description": "This changes the filename used; do not include 'File:' or '.png'",

           "default": "First parameter",

"type": "wiki-file-name" } } } </templatedata>