Template:Plinkt

From Zeah RSPS - Wiki
Revision as of 11:37, 17 February 2022 by Mortem (talk | contribs) (Created page with "<includeonly><!-- -->rowspan="{{{rowspan|1}}}" colspan="{{{colspan|1}}}" |<span class="plinkt-template">[[File:{{{pic|{{{1}}}}}}.{{#switch:{{{gif|no}}}|no=png|yes=gif}}|link={{{1}}}|alt={{{1}}}.png]]</span>||<!-- -->rowspan="{{{rowspan|1}}}" colspan="{{{colspan|1}}}" |[[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 table template is a variant of Script error: No such module "T". used to created image-and-text links within tables.

Usage

Script error: No such module "T".

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.

Page namerequired
Picturepic

The name of the image file.

Default
First parameter.
Fileoptional
Gifgif

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

Default
'no'
Stringoptional
Texttxt

Override the displayed link text.

Default
First parameter.
Stringoptional
Rowspanrowspan

Change the rowspan.

Default
1
Numberoptional
Colspancolspan

Change the colspan.

Default
1
Numberoptional