Template:Plinkp/doc
< Template:Plinkp
Jump to navigation
Jump to search
Revision as of 12:20, 17 February 2022 by Mortem (talk | contribs) (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|gif}}</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><...")
Script error: The module returned a nil value. It is supposed to return an export table. The picture link plain template creates an image and links it to the page. Unlike Script error: No such module "T"., there is no text next to the image.
Usage
{{plinkp|item|pic=file name|gif}}
Examples
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | 1 | The item to link to and display | Page name | required |
Picture | pic | This changes the filename used; do not include 'File:' or '.png'
| File | optional |
Gif | gif | Set to 'yes' to change the file extension from '.png' to '.gif'
| String | optional |
Width | w | Specify a width to scale the image to.
| String | optional |
Height | h | Specify a height to scale the image to.
| String | optional |