Format:Pagelinks
Aspect
(Redirecționat de la Format:Ln2)
|
|
Aceasta este pagina de documentație pentru Format:Pagelinks. Pagina descrie modul de folosire al formatului și conține categoriile de care acesta aparține, precum și orice altceva ce nu face parte din formatul propriu-zis. |
- General:
- creează legături către pagini.
- Also known as Template:Ln2
- creates links for pages in any subject namespace.
- creates links for pages in any talk namespace.
- creează legături către pagini.
- Articol:
- Format:
etc.
Folosire
| Spațiu de nume | Link către pagină | Link către pagina de discuții |
|---|---|---|
| General | {{pagelinks|NUME COMPLET}} |
La fel ca la pagină |
| {{ln-l|SPAȚIU DE NUME|NUMELE PAGINII}} | {{lnt-l|SPAȚIU DE NUME|NUMELE PAGINII}} | |
| Articol | {{la-l|ARTICOL}} | {{lat-l|ARTICOL}} |
| Format | {{lt-l|FORMAT}} | {{ltt-l|FORMAT}} |
| Wikipedia | {{lw-l|PAGINĂ}} | {{lwt-l|PAGINĂ}} |
| Utilizator | {{lu-l|PAGINĂ}} | {{lut-l|PAGINĂ}} |
| Categorie | {{lc-l|PAGINĂ}} | {{lct-l|PAGINĂ}} |
| Fișier | {{lf-l|FIȘIER}} | {{lft-l|FIȘIER}} |
| Portal | {{lp-l|PORTAL}} | {{lpt-l|PORTAL}} |
| MediaWiki | {{lm-l|MESAJ}} | {{lmt-l|MESAJ}} |
| Ajutor | {{lh-l|PAGINĂ}} | {{lht-l|PAGINĂ}} |
| Carte | {{lb-l|CARTE}} | {{lbt-l|CARTE}} |
Exemple
| Code | Result |
|---|---|
| {{pagelinks|Category:Stubs}} | |
| {{pagelinks|Category talk:Stubs}} | |
| {{ln-l|Category|Stubs}} | |
| {{lnt-l|Category|Stubs}} | |
| {{la-l|Article}} | |
| {{lat-l|Article}} | |
| {{lt-l|Protejat}} | |
| {{ltt-l|Protejat}} | |
| {{lu-l|Example}} | |
| {{lut-l|Example}} | |
| {{lw-l|About}} | |
| {{lwt-l|About}} | |
| {{lc-l|Stubs}} | |
| {{lct-l|Stubs}} | |
| {{lf-l|Edit Summary-2.png}} | |
| {{lft-l|Edit Summary-2.png}} | |
| {{lp-l|Television}} | |
| {{lpt-l|Television}} | |
| {{lm-l|Common.css}} | |
| {{lmt-l|Common.css}} | |
| {{lb-l|Business}} | |
| {{lbt-l|Business}} |
{{subst:ln-l|Categorie|Stubs}} rezultă în:
{{lx-l|1=:{{ucfirst:Categorie}}:|2={{ucfirst:Stubs}}|3=:Discuție categorie|4=discuție}}
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:Special:Whatlinkshere/:Category:Stubs|limit=999}} links]<tt>|</tt>
[{{fullurl::Category:Stubs|action=history}} history]<tt>|</tt>
[{{fullurl::Category:Stubs|action=watch}} watch]<tt>)</tt></span>
See also
- , same as {{la}} with a link to the google search
- comparison Lx-family
- abbreviated form of La
- provides edit/history links for both article and talk page
- comparison categories
- comparison Wikipedia
- comparison templates
- comparison parameters
- Category:Internal link templates