Template:Plinkp/doc

From Zeah RSPS - Wiki
Jump to navigation Jump to search

Script error: The module returned a nil value. It is supposed to return an export table. The picture link plain template creates an image and links it to the page. Unlike Script error: No such module "T"., 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

Page namerequired
Picturepic

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

Default
First parameter
Fileoptional
Gifgif

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

Default
'no'
Stringoptional
Widthw

Specify a width to scale the image to.

Default
Image's standard width.
Stringoptional
Heighth

Specify a height to scale the image to.

Default
Image's standard height.
Stringoptional