Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Template:Plink/doc
Template page
Views
Read
Edit source
View history
associated-pages
Template
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation}} The '''picture link''' template creates an image and links it to the page as well as including text. For a textless version, use {{t|plinkp}}. This template is not intended to be commonly used in mainspace articles. It is primarily used in navboxes and tables to add images to help with navigation. In most other cases, pages should be linked with normal markup and without an image. ==Usage== <pre>{{plink|item|pic=file name|txt=text}}</pre> ==Examples== {|class="wikitable" |+ Examples !Code ! style="min-width:150px;" | Produces !Standard syntax |- |<code><nowiki>{{plink|Abyssal whip}}</nowiki></code> |{{plink|Abyssal whip}} |<code><nowiki>[[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip]]</nowiki></code> |- |<code><nowiki>{{plink|Granite maul|pic=Abyssal whip}}</nowiki></code> |{{plink|Granite maul|pic=Abyssal whip}} |<code><nowiki>[[File:Abyssal whip.png|link=Granite maul]] [[Granite maul]]</nowiki></code> |- |<code><nowiki>{{plink|Abyssal whip|txt=Whip}}</nowiki></code> |{{plink|Abyssal whip|txt=Whip}} |<code><nowiki>[[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip|Whip]]</nowiki></code> |- |<code><nowiki>{{plink|Granite maul|pic=Abyssal whip|txt=Whip}}</nowiki></code> |{{plink|Granite maul|pic=Abyssal whip|txt=Whip}} |<code><nowiki>[[File:Abyssal whip.png|link=Granite maul]] [[Granite maul|Whip]]</nowiki></code> |- |<code><nowiki>{{plink|Imbued god capes|gif=yes}}</nowiki></code> |{{plink|Imbued god capes|gif=yes}} |<code><nowiki>[[File:Imbued god capes.gif|link=Imbued god capes]] [[Imbued god capes]]</nowiki></code> |} ==See also== * [[Template:Plinkp]] * [[Template:Plinkt]] * [[Template:Ilink]] * [[Template:Ilinkt]] * [[Template:Elink]] ==Parameters== <templatedata> { "description": "The 'Picture Link' (plink) template is used to create item image + text links.", "params": { "1": { "label": "Item", "description": "The item to link to and display", "type": "wiki-page-name", "required": true }, "pic": { "label": "Picture", "description": "The name of the image file; do not include 'File:' or '.png'", "default": "First parameter", "type": "wiki-file-name" }, "gif": { "label": "Gif", "description": "Set to 'yes' to change the file extension from '.png' to '.gif'", "default": "'no'", "type": "string" }, "txt": { "label": "Text override", "description": "Override the displayed link text.", "default": "First parameter", "type": "string" } } } </templatedata> <includeonly>[[Category:Link creating templates|{{PAGENAME}}]]</includeonly>
Summary:
Please note that all contributions to Arigon Wikipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Arigon Wikipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Documentation
(
edit
)
Template:Plink
(
edit
)
Template:T
(
edit
)