This template and the other related templates listed below produce a series of links for a specified page that is generally, though not always, of the form:

Page (edit | talk | history | links | watch | logs)

The six links are:

editedit the page;
talk – access its talk page ;
history – access its edit history;
links – access the what links here feature;
watch – add the page to one's watchlist; and
log – access its logs.

The major difference between the templates is the namespace of the page to which it is applied.

Ùsaid - Usage

deasaich
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}}
Draft {{Ld|DRAFT}} {{Ldt|DRAFT}}
Template {{Lt|TEMPLATE}} {{Ltt|TEMPLATE}}
Wikipedia {{Lw|PAGE}} {{Lwt|PAGE}}
Wikipedia:Articles for deletion/ {{Lafd|PAGE}}
User {{Lu|PAGE}} {{Lut|PAGE}}[1]
Category {{Lc|PAGE}} {{Lct|PAGE}}
File {{Lf|FILE}} {{Lft|FILE}}
Portal {{Lp|PORTAL}} {{Lpt|PORTAL}}
MediaWiki {{Lm|MESSAGE}} {{Lmt|MESSAGE}}
Help {{Lh|PAGE}} {{Lht|PAGE}}
Book {{Lb|BOOK}} {{Lbt|BOOK}}
TimedText {{Lttxt|TIMEDTEXT}} {{Lttxtt|TIMEDTEXT}}
Module {{Lmd|MODULE}} {{Lmdt|MODULE}}


  1. For a similar template for user accounts, see Template:User

Eisimpleirean - Examples

deasaich
Code Result
{{Pagelinks|Category:Stubs}} Roinn-seòrsa:Stubs (deasaich | deasaich | eachdraidh | ceanglaichean | faire | logaichean)
{{Pagelinks|Category talk:Stubs}} Deasbaireachd na roinn-seòrsa:Stubs (deasaich | cuspair | eachdraidh | ceanglaichean | faire | logaichean)
{{Ln|Category|Stubs}} Category:Stubs (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lnt|Category|Stubs}} Deasbaireachd category:Stubs (deasaich | category | eachdraidh | ceanglaichean | faire | logaichean)
{{La|Article}} Article (deasaich | deasbaireachd | eachdraidhj | dìon | sguab ás | ceanglaichean | faire | logaichean | sealltainn)
{{Lat|Article}} Deasbaireachd:Article (deasaich | alt | eachdraidh | ceanglaichean | faire | logaichean)
{{Ld|Draft}} Dreachd:Draft (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Ldt|Draft}} Deasbaireachd dreachd:Draft (deasaich | dreachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lt|Deprecated template}} Teamplaid:Deprecated template (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Ltt|Deprecated template}} Deasbaireachd teamplaid:Deprecated template (deasaich | teamplaid | eachdraidh | ceanglaichean | faire | logaichean)
{{Lu|Example}} Cleachdaiche:Example (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lut|Example}} Deasbaireachd chleachdaiche:Example (deasaich | duilleag cleachdaiche | eachdraidh | ceanglaichean | faire | logaichean)
{{Lw|About}} Uicipeid:About (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lwt|About}} Deasbaireachd Uicipeid:About (deasaich | duilleag pròiseact | eachdraidh | ceanglaichean | faire | logaichean)
{{Lc|Stubs}} Roinn-seòrsa:Stubs (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lct|Stubs}} Deasbaireachd roinn-seòrsa:Stubs (deasaich | roinn-seòrsa | eachdraidh | ceanglaichean | faire | logaichean)
{{Lf|1944 NormandyLST.jpg}} Faidhle:1944 NormandyLST.jpg (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lft|1944 NormandyLST.jpg}} Deasbaireachd fhaidhle:1944 NormandyLST.jpg (deasaich | faidhle | eachdraidh | ceanglaichean | faire | logaichean)
{{Lp|Television}} Portal:Television (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lpt|Television}} Deasbaireachd phortal:Television (deasaich | portal | eachdraidh | ceanglaichean | faire | logaichean)
{{Lm|Common.css}} Mediawiki:Common.css (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lmt|Common.css}} Deasbaireachd Mediawiki:Common.css (deasaich | teachdaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lb|Business}} Leabhar:Business (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lbt|Business}} Deasbaireachd leabhair:Business (deasaich | leabhar | eachdraidh | ceanglaichean | faire | logaichean)

{{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>
 [//gd.wiktionary.org/w/index.php?title=Roinn-se%C3%B2rsa:Stubs&action=edit edit]<tt>|</tt>
 [[:Category talk:Stubs|talk]]<tt>|</tt>
 [//gd.wiktionary.org/w/index.php?title=S%C3%B2nraichte:Whatlinkshere/:Category:Stubs&limit=999 links]<tt>|</tt>
 [//gd.wiktionary.org/w/index.php?title=Roinn-se%C3%B2rsa:Stubs&action=history history]<tt>|</tt>
 [//gd.wiktionary.org/w/index.php?title=Roinn-se%C3%B2rsa:Stubs&action=watch watch]<tt>)</tt></span>

Faic cuideachd - Also see

General-purpose formatting

deasaich
Comparison of template-linking templates according to their style
Link style → Linked Unlinked Linked with subst Linked including braces Linked with alternative text
Text style ↓ {{Tlg}} options1 DEFAULT nolink=yes subst=yes braceinside=yes alttext=Foo
2=Foo
normal DEFAULT {{Tlg}}1
{{Tl}}
{{Tlp}}2
{{Tlu}}3
{{Tlf}}2 {{Tls}}
{{Tlsp}}
{{Tlsu}}3
{{Tn}} {{Tla}}
code code=yes {{Tl2}}
{{Tlx}}
{{Tlxu}}3
{{Tlc}}2
{{Tld}}2
{{Tnull}}
{{Tlxs}} N/A
monospace
kbd
plaincode=yes4
kbd=yes5
{{Tltt}}5
{{Tltt2}}5
N/A {{Tltss}}6
bold bold=yes {{Tlb}} N/A
bold+code code=yes {{Tlxb}}
italic+code code=yes {{Tlxi}}

Other formatting templates

deasaich
Code example Effect Notes
{{Tl2|Hatnote|lang=fr}} {{Hatnote}} Supports linking to sister projects (e.g., fr:Hatnote)
{{Tlu|User:Ahunt/SSHFS}} {{User:Ahunt/SSHFS}} Supports linking to any namespace
{{Demo|<nowiki>{{Hatnote|lang=fr|Some text}}</nowiki>}}
{{Hatnote|lang=fr|Some text}}

Shows code and example
{{Xpd|Hatnote|Some Hatnote text}} "{{Hatnote|Some Hatnote text}}" gives "" [1] Shows code, example and a link to expand the template code
{{Tln|Hatnote}} Template:Hatnote Produces a normal link to the template
{{Elc|Template:Hatnote}}
{{Elc|Template:Hatnote|Hatnote}}
[[Template:Hatnote]]
[[Template:Hatnote|Hatnote]]
Formats wikilink, with optional piped link text and blended suffix
{{Ml|Example|hello}} {{#invoke:Example|hello}} Counterpart to {{Tl}} for linking to Lua modules
{{Mlx|Example|hello}} {{#invoke:Example|hello}} Counterpart to {{Tlx}} for linking to Lua modules
{{Para|title|<var>book title</var>}} title=book title Formats template parameters for display, with or without values
{{Sclx|LASTING}} [[w:en:WP:LASTING]] Takes a shortcut suffix in project namespace and displays it with brackets and the WP: alias in a <code>...</code> Tag.
{{Tag|ref}}
{{Xtag|templatedata}}
<ref>...</ref>
<templatedata>
Formats [X]HTML tags; can add content, choose opening, closing, or self-closing
{{Dtl|Ping project}} {{d:Ping project}} Wikidata counterpart to {{Tl}}
{{Pf|If}}
{{Pf|If|{{{1}}}|true|false}}
{{#If}}
{{#If:{{{1}}}|true|false}}
Parser function equivalent to {{Tl}}
deasaich
Code example Effect
{{Lt|Hatnote}} Teamplaid:Hatnote (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lts|Hatnote}} Teamplaid:Hatnote(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
{{T links|Hatnote}} Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{Tfd links|Hatnote}} Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete)
{{Tltt|Hatnote}} {{Hatnote}}
{{Tetl|Hatnote}} {{Hatnote}}
links talk view
{{Tsetl|Hatnote}} {{subst:Hatnote}}
 links talk view
{{Ti|Hatnote}} Teamplaid:Hatnote (deasbaireachd⧼dot-separator⧽ceanglaichean-lìn⧼dot-separator⧽deasaich)
{{Tic|Hatnote}} Template:Hatnote (talk links edit)
{{Tim|Hatnote}} m:Template:Hatnote (backlinks edit)
{{Tiw|Hatnote}} Teamplaid:Hatnote (ceanglaichean deasaich) 
{{Tlt|Hatnote}} {{Hatnote}} (talk)
{{Ttl|Hatnote}} {{Hatnote}} (t/l)
{{Twlh|Hatnote}} Template:Hatnote (links, talk)

Iomraidhean - References

deasaich