Template:Plinkp/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 23:40, 12 October 2024 (Created page with "{{Documentation}} The '''picture link plain''' template creates an image and links it to the page. Unlike {{t|plink}}, there is no text next to the image. ==Usage== <pre>{{plinkp|item|pic=file name}}</pre> ==Examples== {|class="wikitable" !Code ! style="min-width:150px;" | Produces !Standard syntax |- |<code><nowiki>{{plinkp|Abyssal whip}}</nowiki></code> |{{plinkp|Abyssal whip}} |<code><nowiki>link=Abyssal whip</nowiki></code> |- |<code><nowi..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Plinkp.
It contains usage information, categories, and other content that is not part of the original template page.

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}}

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

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