Template:Plinkt/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:00, 13 October 2024 (Created page with "{{Documentation}} The '''picture link table''' template is a variant of {{t|plink}} used to created image-and-text links within tables. ==Usage== {{T|plinkt|item|pic=file name|txt=text}} ==Examples== {|class="wikitable" !Code ! colspan="2" |Produces !Standard syntax |- |<code><nowiki>{{plinkt|Abyssal whip}}</nowiki></code> |{{plinkt|Abyssal whip}} |<code><nowiki>link=Abyssal whip||Abyssal whip</nowiki></code> |- |<code><nowiki>{{plinkt|Gra..."). 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: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}} [[File:Abyssal whip.png|link=Abyssal whip]]||[[Abyssal whip]]
{{plinkt|Granite maul|pic=Abyssal whip}} [[File:Abyssal whip.png|link=Granite maul]]||[[Granite maul]]

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.

Page namerequired
Picturepic

The name of the image file.

Default
First parameter.
Fileoptional
Texttxt

Override the displayed link text.

Default
First parameter.
Stringoptional
Rowspanrowspan

Change the rowspan.

Default
1
Numberoptional
Colspancolspan

Change the colspan.

Default
1
Numberoptional