Permanently protected template

Template:Namespace link

From Wikisource
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]


For use in the Page: namespace. In Page: namespace no effect, while in other namespace provides a link to the subpage, or subpage#anchor (if #anchor provided) of the work in the main namespace. For similar functionality but without the use of subpages, see Template:Namespace link 2.

{{namespace link|text on page to link|subpage name|title of work}}
{{namespace link|text=text on page to link|subpage=subpage name (main namespace)
|work=title of work (main namespace)}}


With the use of the template, if the links are internal to the transcluded work itself, and relative to pages, then relative links can be used to refer to a work, rather than the requirement for name of the work ie.| work=..