# Template:La/doc

• General:
• creates links for any page in any namespace.
• creates links for pages in any subject namespace.
• creates links for pages in any talk namespace.

## Usage

Namespace Link to subject page Link to talk page
General {{pagelinks|FULL PAGE NAME}}
Same as for subject page
{{ln|NAMESPACE|PAGE NAME}} {{lnt|NAMESPACE|PAGE NAME}}
Article {{la|ARTICLE}} {{lat|ARTICLE}}
Template {{lt|TEMPLATE}} {{ltt|TEMPLATE}}
LIMSWiki {{lw|PAGE}} {{lwt|PAGE}}
LIMSWiki:Articles for deletion/ {{lafd|PAGE}}
User {{lu|PAGE}} {{lut|PAGE}}
Category {{lc|PAGE}} {{lct|PAGE}}
File {{lf|FILE}} {{lft|FILE}}
MediaWiki {{lm|MESSAGE}} {{lmt|MESSAGE}}
Help {{lh|PAGE}} {{lht|PAGE}}
Book {{lb|BOOK}} {{lbt|BOOK}}

## Examples

Code Result
{{ln|Category|Stubs}}
{{lnt|Category|Stubs}}
{{la|Laboratory informatics}}
{{lat|Laboratory informatics}}
{{lt|Tdeprecated}}
{{ltt|Tdeprecated}}
{{lu|Shawndouglas}}
{{lut|Shawndouglas}}
{{lc|Stubs}}
{{lct|Stubs}}
{{lf|Edit Summary-2.png}}
{{lft|Edit Summary-2.png}}
{{lm|Common.css}}
{{lmt|Common.css}}
{{lb|LIMSjournal - Spring 2023}}
{{lbt|LIMSjournal - Spring 2023}}

`{{subst:ln|Category|Stubs}}` results (or resulted) in this code:

`{{lx|1=:{{ucfirst:Category}}:|2={{ucfirst:Stubs}}|3=:Category talk|4=talk}}`

Note the important colon in `1=:`, unnecessary (?) for other Lx namespaces.
Substituting both Lx and Ucfirst finally arrived at (line breaks added manually):

``` <span class="plainlinksneverexpand">[[:Category:Stubs]] <tt>(</tt>
[{{fullurl::Category:Stubs|action=edit}} edit]<tt>|</tt>
[[:Category talk:Stubs|talk]]<tt>|</tt>
[{{fullurl::Category:Stubs|action=history}} history]<tt>|</tt>
[{{fullurl::Category:Stubs|action=watch}} watch]<tt>)</tt></span>
```