Template:Courtesy link - Wikipedia


Article Images

 Courtesy link: [[:{{{1}}}]]

This template is used to provide courtesy Wikipedia links on talk pages. While it can also be used to display external links, substituting {{Courtesy external}} is preferred instead to get rid of the extra brackets.

Usage

{{Courtesy link|pagetitle}}
{{Courtesy link|pagetitle|prefix}}
{{Courtesy link|pagetitle|linktext=text to display}}

Parameters

There are two positional parameters, and one named parameter.

  • 1 – Provides link to the intended page (required; no default)
  • 2 – Changes the prefix text to the value of parameter 2. (optional; default: "Courtesy link:")
  • linktext – Generates a piped link where the link target is given in param 1, and the link label is given in linktext.

Examples

Template data

This template is used to provide courtesy Wikipedia links on talk pages.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page title1

Provides link to the intended page

Example
Egg; Egg#History
Page namerequired
Prefix2

Changes the prefix text

Default
Courtesy link:
Example
Details here:
Stringoptional
Link textlinktext

Changes the text the link applies to

Default
Page name
Stringoptional

See also