Template:Plink/doc
Shortcut:
This template creates an image and links it to the page as well as including text. For a textless version, use {{Pic link plain}}
.
This template should be used sparingly. Its main purpose is to add images to navboxes and tables. In most other cases, pages should be linked with normal markup and without an image.
Usage
{{Plink|item|pic=file name|txt=text}}
1
This parameter takes the name of the page that the link is for
pic
If included, this changes the filename used; defaults to the first parameter; do not include "File:" or ".png"
txt
Alternate text in the link; defaults to the first parameter
Code | Produces | Standard syntax |
---|---|---|
{{plink|Black Ice Shards}}
|
Black Ice Shards | [[File:Black Ice Shards.png|link=Black Ice Shards]] [[Black Ice Shards]]
|
{{plink|Energy Cell|txt=Cell}}
|
Cell | [[File:Energy Cell.png|link=Energy Cell]] [[Energy Cell|Cell]]
|