Template:Plinkp

From Old School RuneScape Wiki
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:Plinkp/doc. [edit] [purge]

The picture link plain template creates an image and links it to the page. Unlike {{plink}}, there is no text next to the image.

Usage

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

Examples

Code Produces Standard syntax
{{plinkp|Abyssal whip}} Abyssal whip.png [[File:Abyssal whip.png|link=Abyssal whip]]
{{plinkp|Granite maul|pic=Abyssal whip}} Granite maul.png [[File:Abyssal whip.png|link=Granite maul]]
{{plinkp|Imbued god capes|gif=yes}} Imbued god capes.png [[File:Imbued god capes.gif|link=Imbued god capes]]
{{plinkp|Abyssal whip|w=10px}} Abyssal whip.png [[File:Abyssal whip|10px]]
{{plinkp|Ancestral robe bottom|h=20px}} Ancestral robe bottom.png [[File:Ancestral robe bottom|x20px]]

See also

Parameters

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.

Template parameters

ParameterDescriptionTypeStatus
Item1

The item to link to and display

Default
empty
Example
empty
Auto value
empty
Pagerequired
Picturepic

This changes the filename used; do not include 'File:' or '.png'

Default
First parameter
Example
empty
Auto value
empty
Fileoptional
Gifgif

Set to 'yes' to change the file extension from '.png' to '.gif'

Default
'no'
Example
empty
Auto value
empty
Stringoptional
Widthw

Specify a width to scale the image to.

Default
Image's standard width.
Example
empty
Auto value
empty
Stringoptional
Heighth

Specify a height to scale the image to.

Default
Image's standard height.
Example
empty
Auto value
empty
Stringoptional