Template:Link/doc

Template:Link allows the text used for a link to be independent of the linked site. This is useful for template authors who wish to allow both external and internal links while still providing the displayed text used in the template.

The flexibility provided by this template is usually not necessary, so avoid using it if the customization is not needed. Prefer direct links which are much cleaner, such as  or.

To use this template as a template author, you should pass it both a url parameter and a page parameters:. Template users should only provide one or the other - specifically  or.

Contrived example
This example demonstrates very basic uses of this template. Non-functional example: Page provided: URL provided:

Output:
Non-functional example: Page provided: URL provided:

Typical example
This example demonstrates typical uses of this template. Non-functional example: Page provided: URL provided:

Output:
Non-functional example: Page provided: URL provided: