[[{{{2}}}]] ([{{fullurl:{{{2}}}|action=edit}} modifica] | [[:{{{1}}} discussió:{{{2}}}|discussió]] | [{{fullurl:{{{2}}}|action=history}} historial] | [{{fullurl:Special:Whatlinkshere/{{{2}}}|limit=999}} què hi enllaça] | [{{fullurl:{{{2}}}|action=watch}} vigila] | registres)

Icona de documentació de mòdul Documentació de la plantilla [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]

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:

Pàgina (modifica discussió historial què hi enllaça vigila registres)

The six links are:

editmodifica the page;
talk – access its discussió ;
history – access its historial;
links – access the què hi enllaça feature;
watch – add the page to one's vigila; and
log – access its registres.

The major difference between the templates is the espai de noms of the page to which it is applied.

  • General:
    • Plantilla:Pagelinks creates links for any page in any namespace.
    • (lituà) creates links for pages in any subject namespace.
    • (lituà) creates links for pages in any talk namespace.

Ús modifica

Espai de noms 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}}
Categoria {{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}}
Education Program {{lep|PROGRAM}} {{lept|PROGRAM}}
TimedText {{lttxt|TIMEDTEXT}} {{lttxtt|TIMEDTEXT}}
Module {{lmd|MODULE}} {{lmdt|MODULE}}
Topic {{ltp|TOPIC}}


Exemples modifica

Code Result
{{pagelinks|Categoria:Esborranys}} Plantilla:Pagelinks
{{pagelinks|Categoria Discussió:Esborranys}} Plantilla:Pagelinks
{{ln|Categoria|Esborranys}} Categoria:Esborranys (modifica | discussió | historial | què hi enllaça | vigila | registres)
{{lnt|Categoria|Esborranys}} Plantilla:Lnt
{{la|Article}} (llatí)
{{lat|Article}} Plantilla:Lat
{{ld|Draft}} Plantilla:Ld
{{ldt|Draft}} Plantilla:Ldt
{{lt|Tdeprecated}} (lituà)
{{ltt|Tdeprecated}} Plantilla:Ltt
{{lu|Example}} Plantilla:Lu
{{lut|Example}} Plantilla:Lut
{{lw|About}} Plantilla:Lw
{{lwt|About}} Plantilla:Lwt
{{lc|Esborranys}} Categoria:Esborranys (modifica | discussió | historial | què hi enllaça | vigila | registres)
{{lct|Esborranys}} Plantilla:Lct
{{lf|1944 NormandyLST.jpg}} Plantilla:Lf
{{lft|1944 NormandyLST.jpg}} Plantilla:Lft
{{lp|Television}} Plantilla:Lp
{{lpt|Television}} Plantilla:Lpt
{{lm|Common.css}} Plantilla:Lm
{{lmt|Common.css}} Plantilla:Lmt
{{lb|Business}} (luxemburguès)
{{lbt|Business}} Plantilla:Lbt

{{subst:ln|Categoria|Esborranys}} results (or resulted) in this code:

{{lx|1=:{{ucfirst:Categoria}}:|2={{ucfirst:Esborranys}}|3=:Categoria Discussió|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">[[:Categoria:Esborranys]] <tt>(</tt>
 [//ca.wikipedia.org/w/index.php?title=Categoria:Esborranys&action=edit edit]<tt>|</tt>
 [[:Categoria Discussió:Esborranys|talk]]<tt>|</tt>
 [//ca.wikipedia.org/w/index.php?title=Especial:Whatlinkshere/:Categoria:Esborranys&limit=999 links]<tt>|</tt>
 [//ca.wikipedia.org/w/index.php?title=Categoria:Esborranys&action=history history]<tt>|</tt>
 [//ca.wikipedia.org/w/index.php?title=Categoria:Esborranys&action=watch watch]<tt>)</tt></span>

Vegeu també modifica