Template:Plinkp

From Redemption Wiki
Jump to navigation Jump to search

Template documentation[edit] [purge] This documentation is transcluded from Template:Pic link/doc. Shortcut: Template:Plink

This template creates an image and links it to the page as well as including text. For a textless version, use

Template documentation

Template:Plinkp/Doc Visit Template:Plinkp/Doc to edit me!

Template:Shortcut This template creates an image and links it to the page. Unlike {{Pic link}}, it does not create text next to the image

Usage[edit source]

{{Pic link plain|item|pic=file name}}

1[edit source]

This parameter takes the name of the page that the link is for

pic[edit source]

If included, this changes the filename used; defaults to the first parameter; do not include "File:" or ".png"

Examples
Code Produces Standard syntax
{{plinkp|Abyssal whip}} Template documentation[edit] [purge]

This documentation is transcluded from Template:Pic link/doc. Shortcut: Template:Plink This template creates an image and links it to the page as well as including text. For a textless version, use Template loop detected: Template: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.

Contents[hide] Usage 1 pic txt Usage Template:Plink 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

Examples Code Produces Standard syntax Template:Plink Abyssal whip Abyssal whip Abyssal whip.png Abyssal whip Template:Plink Abyssal whip Granite maul Abyssal whip.png Granite maul Template:Plink Abyssal whip Whip Abyssal whip.png Whip Template:Plink Abyssal whip Whip Abyssal whip.png Whip

[[File:Abyssal whip.png|link=Abyssal whip]]
{{plinkp|Granite maul|pic=Abyssal whip}} Template documentation[edit] [purge]

This documentation is transcluded from Template:Pic link/doc. Shortcut: Template:Plink This template creates an image and links it to the page as well as including text. For a textless version, use Template loop detected: Template: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.

Contents[hide] Usage 1 pic txt Usage Template:Plink 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

Examples Code Produces Standard syntax Template:Plink Abyssal whip Abyssal whip Abyssal whip.png Abyssal whip Template:Plink Abyssal whip Granite maul Abyssal whip.png Granite maul Template:Plink Abyssal whip Whip Abyssal whip.png Whip Template:Plink Abyssal whip Whip Abyssal whip.png Whip

[[File:Abyssal whip.png|link=Granite maul]]

.

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.

Contents[hide] Usage 1 pic txt Usage Template:Plink 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

Examples Code Produces Standard syntax Template:Plink Abyssal whip Abyssal whip Abyssal whip.png Abyssal whip Template:Plink Abyssal whip Granite maul Abyssal whip.png Granite maul Template:Plink Abyssal whip Whip Abyssal whip.png Whip Template:Plink Abyssal whip Whip Abyssal whip.png Whip