Template:Plinkp

From RuneScape Classic 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}}

1

This parameter takes the name of the page that the link is for

pic

If included, this changes the filename used; defaults to the first parameter; do not include "File:" or ".png"

Examples
Code Produces Standard syntax
{{plinkp|Rune Scimitar}} Rune Scimitar.png [[File:Rune Scimitar.png|link=Rune Scimitar]]
{{plinkp|Dragon axe|pic=Rune Scimitar}} Dragon axe.png [[File:Rune Scimitar.png|link=Dragon axe]]

gif

Use the parameter gif=yes if the image is a GIF file. If parameter is not given, defaults to no.

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.


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
11

Item

Default
empty
Example
The item to link to and display
Auto value
empty
Stringrequired
Imagepic

The name of the image file. Defaults to the Item param.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Gifgif

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

Default
empty
Example
empty
Auto value
empty
Stringoptional