Template:Courtesy link
Revision as of 14:18, 11 October 2021 by Wikipedia>MusikBot II (Protected "Template:Courtesy link": High-risk template or module: 281 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
This template is used to provide courtesy Wikipedia links on talk pages. While external links can also be displayed with this, consider substituting {{Courtesy external}} 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 inlinktext.
Examples
{{Courtesy link|Egg}}⟶
Courtesy link: Egg{{Courtesy link|Egg|Details here:}}⟶
Details here: Egg{{courtesy link|Wikipedia:Village pump (policy)/Archive 165#New User|linktext=WP:VPP/Archive 165#New User}}⟶
Courtesy link: WP:VPP/Archive 165#New User