Template:Plinkt/doc
< Template:Plinkt
Jump to navigation
Jump to search
Revision as of 11:38, 17 February 2022 by Mortem (talk | contribs) (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...")
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 | [[File:Abyssal whip.png|link=Abyssal whip]]||[[Abyssal whip]]
| |
{{plinkt|Granite maul|pic=Abyssal whip}}
|
Granite maul | [[File:Abyssal whip.png|link=Granite maul]]||[[Granite maul]]
| |
{{plinkt|Imbued god capes|gif=yes}}
|
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | 1 | The item to link to and display. | Page name | required |
Picture | pic | The name of the image file.
| File | optional |
Gif | gif | Set to 'yes' to change the file extension from '.png' to '.gif'
| String | optional |
Text | txt | Override the displayed link text.
| String | optional |
Rowspan | rowspan | Change the rowspan.
| Number | optional |
Colspan | colspan | Change the colspan.
| Number | optional |