Template:Page and talk link
Appearance
(Redirected from Template:Ptl)
[[:{{{1}}}]] ([[|talk]])
This template creates a link to a page and its talk page. It takes only one parameter: the name of the page. It works for any namespace.
Usage
[edit]{{Ptl|Swiss Alps}}
→ Swiss Alps (talk){{Ptl|Wikipedia:Five pillars}}
→ Wikipedia:Five pillars (talk){{Ptl|User:Jimbo}}
→ User:Jimbo (talk){{Ptl|File:President Barack Obama.jpg}}
→ File:President Barack Obama.jpg (talk)
Limitations
[edit]If the page is a redirect, the talk link will be for the redirect not the main page. For example: RAF Grimsetter is a redirect to Kirkwall Airport
{{ptl|RAF Grimsetter}}
→ RAF Grimsetter (talk){{ptl|Kirkwall Airport}}
→ Kirkwall Airport (talk)
See also
[edit]- Template:La(edit talk links history) similar but produces several links in addition to talk.