Template:Plinkt/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:Plinkt.
It contains usage information, categories, and other content that is not part of the original template page.

The picture link table template is a variant of {{plink}} used to created image-and-text links within tables.

Usage

{{plinkt|item|txt=text|pic=file name}}

Examples

Code Produces Standard syntax
{{plinkt|Abyssal whip}} Abyssal whip.png Abyssal whip [[File:Abyssal whip.png|link=Abyssal whip]]||[[Abyssal whip]]
{{plinkt|Granite maul|pic=Abyssal whip}} Granite maul.png Granite maul [[File:Abyssal whip.png|link=Granite maul]]||[[Granite maul]]
{{plinkt|Imbued god capes|gif=yes}} Imbued god capes.png Imbued god capes [[File:Imbued god capes.gif|link=Imbued god capes]]||[[Imbued god capes]]

See also

Parameters

A variant of the "Picture Link" (plink) template, "Picture Link Table" (plinkt) is used to display an item image and text link across two table cells.

Template parameters

ParameterDescriptionTypeStatus
Item1

The item to link to and display.

Default
empty
Example
empty
Auto value
empty
Pagerequired
Picturepic

The name of the image file.

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
Texttxt

Override the displayed link text.

Default
First parameter.
Example
empty
Auto value
empty
Stringoptional
Rowspanrowspan

Change the rowspan.

Default
1
Example
empty
Auto value
empty
Numberoptional
Colspancolspan

Change the colspan.

Default
1
Example
empty
Auto value
empty
Numberoptional