Template:Namespace link
Appearance
(Redirected from Template:Nsl)
Usage
For use in the Page:
namespace. In Page:
and Index:
namespaces no effect, while in other namespaces provides a link to the subpage, or subpage#anchor (if #anchor provided) of the current page in the main namespace. For similar functionality but without the use of subpages, see {{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)}}
Note
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=..
See also
- {{Namespace link 2}}: for links in the
Page
and in other namespaces: provides a link to the work (no subpages) - {{Double link}}: for links in the
Page:
namespace that vary when in thePage:
Index:
or mainspace - {{Scan page link}}: for auto-offset page links in the
Page:
namespace, that vary when inPage:
Index:
or mainspace - {{TOC link}}: for table of contents page links in the
Page:
namesapce, that vary when inPage:
Index:
or mainspace - {{Namespace detect}}: general purpose template for any content that varies between namespaces