Template:Page and talk link/doc
Appearance
This is a documentation subpage for Template:Page and talk link. It may contain usage information, categories and other content that is not part of the original template page. |
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.