Template talk:Namespace links

This is an old revision of this page, as edited by AzaToth (talk | contribs) at 21:13, 11 March 2006 (Example: +lt[t]). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 19 years ago by AzaToth in topic History

Template:CompactDocToc

Documentation

Purpose

  • {{ln}} — Creates a link and additional links to a page of a namespace
  • {{lnt}} — Creates a link to the talk page of a page

Usage

Namespace Link to page Link to talk page
Generic {{ln|NAMESPACE|PAGE NAME}} {{lnt|NAMESPACE|PAGE NAME}}
Article {{la|ARTICLE}} {{lat|ARTICLE}}
Template {{lt|TEMPLATE}} {{ltt|TEMPLATE}}
Wikipedia {{lw|PAGE}} {{lwt|PAGE}}
User {{lu|PAGE}} {{lut|PAGE}}
Category {{lc|PAGE}} {{lct|PAGE}}
Image {{li|IMAGE}} {{lit|IMAGE}}
Portal {{lp|PORTAL}} {{lpt|PORTAL}}

Example

Code Result
{{ln|Template|ln}} Template:Ln (edit | talk | history | links | watch | logs)
{{lnt|Category|Stubs}} Category talk:Stubs (edit | subject | history | links | watch | logs)
{{la|article}} Article (edit | talk | history | protect | delete | links | watch | logs | views)
{{lat|article}} Talk:Article (edit | subject | history | links | watch | logs)
{{lt|tdeprecated}} Template:Tdeprecated (edit | talk | history | links | watch | logs)
{{ltt|tdeprecated}} Template talk:Tdeprecated (edit | subject | history | links | watch | logs)
{{lu|example}} User:Example (edit | talk | history | links | watch | logs)
{{lut|example}} User talk:Example (edit | subject | history | links | watch | logs)
{{lw|help}} Wikipedia:Help (edit | talk | history | links | watch | logs)
{{lwt|help}} Wikipedia talk:Help (edit | subject | history | links | watch | logs)
{{lc|stubs}} Category:Stubs (edit | talk | history | links | watch | logs)
{{lct|stubs}} Category talk:Stubs (edit | subject | history | links | watch | logs)
{{li|Barnstar.png}} File:Barnstar.png (edit | talk | history | links | watch | logs)
{{lit|Barnstar.png}} lit.'Barnstar.png'
{{lp|Television}} Portal:Television (edit | talk | history | links | watch | logs)
{{lpt|Television}} Portal talk:Television (edit | subject | history | links | watch | logs)

{{subst:ln|Template|ln}} gives the code: <span class="plainlinksneverexpand">[{{fullurl:Template:ln|redirect=no}} {{ucfirst:Template}}:{{ucfirst:ln}}] ([{{fullurl:Template:ln|action=edit}} edit] · [[:Template talk:ln|talk]] · [{{fullurl:Special:Whatlinkshere/Template:ln|limit=999}} links] · [{{fullurl:Template:ln|action=history}} history] · [{{fullurl:Template:ln|action=watch}} watch])</span>

See also

History

Created
AzaToth 22:32, 27 December 2005 (UTC)Reply

Discussion