Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Template:Article links/doc
Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{for|the French citation template {{tld|Article}}|Template:Cite news/French}} {{tsh|{{#switch:{{ROOTPAGENAME}}|Namespace links=ln|Namespace talk links=lnt|Article links=la|Article talk links=lat|Draft links=ld|Draft talk links=ldt|Template links=lt|Template talk links=ltt|Wikipedia links=lw|Wikipedia talk links=lw..."
 
Redirected page to Template:Namespace links/doc
Tag: New redirect
 
Line 1: Line 1:
{{Documentation subpage}}
#REDIRECT [[Template:Namespace links/doc]]
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{for|the French citation template {{tld|Article}}|Template:Cite news/French}}
{{tsh|{{#switch:{{ROOTPAGENAME}}|Namespace links=ln|Namespace talk links=lnt|Article links=la|Article talk links=lat|Draft links=ld|Draft talk links=ldt|Template links=lt|Template talk links=ltt|Wikipedia links=lw|Wikipedia talk links=lwt|Userspace links=lu|User talk links=lut|Category links=lc|Category talk links=lct|File links=lf|File talk links=lft|Portal links=lp|Portal talk links=lpt|MediaWiki links=lm|MediaWiki talk links=lmt|Help links=lh|TimedText links=lttxt|Module links=lmd|Articles for deletion link=lafd}}}}
{{transclusionless}}
{{#switch: {{FULLPAGENAME}}
| Template:La = {{High-use}}
| Template:Lc = {{for|lowercase formatting|Help:Magic words#Parser functions}}
| Template:Pagelinks = {{High-use}}{{tsh|pl}}{{lua|Module:PageLinks}}
}}
== About ==
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:
: {{color|#002BB8|Page}}&nbsp;({{color|#002BB8|edit}} | {{color|#002BB8|talk}} | {{color|#002BB8|history}} | {{color|#002BB8|links}} | {{color|#002BB8|watch}} | {{color|#002BB8|logs}})
The six links are:
: <code>edit</code> – [[Help:Editing|edit]] the page;
: <code>talk</code>/<code>subject</code> – access its [[Help:Using talk pages|talk page]] (or if the target page is a talk page, its subject page);
: <code>history</code> – access its [[Help:Edit history|edit history]];
: <code>links</code> – access the [[Help:What links here|what links here]] feature;
: <code>watch</code> – add the page to one's [[Help:Watching pages|watchlist]]; and
: <code>log</code> – access its [[Help:Log|logs]].
The major difference between the templates is the [[Wikipedia:Namespace|namespace]] of the page to which it is applied.
 
*General:
** {{lt|Pagelinks}} creates links for any page in any namespace.
** {{lt|Ln}} creates links for pages in any subject namespace.
** {{lt|Lnt}} creates links for pages in any talk namespace.
 
== Usage ==
{| class="wikitable"
!Namespace!! Link to subject page !! Link to talk page
|-
| rowspan=2 | General||{{tlx|pagelinks|FULL PAGE NAME}}<br/>||Same as for subject page
|-
|{{tlx|ln|<nowiki>NAMESPACE|PAGE NAME</nowiki>}}||{{tlx|lnt|<nowiki>NAMESPACE|PAGE NAME</nowiki>}}
|-
|Article||{{tlx|la|ARTICLE}}||{{tlx|lat|ARTICLE}}
|-
|Draft||{{tlx|ld|DRAFT}}||{{tlx|ldt|DRAFT}}
|-
|Template||{{tlx|lt|TEMPLATE}}||{{tlx|ltt|TEMPLATE}}
|-
|Wikipedia||{{tlx|lw|PAGE}}||{{tlx|lwt|PAGE}}
|-
|Wikipedia:Articles for deletion/||{{tlx|lafd|PAGE}}||{{n/a}}
|-
|User||{{tlx|lu|PAGE}}||{{tlx|lut|PAGE}}<ref>For a similar template for user accounts, see [[Template:user]]</ref>
|-
|Category||{{tlx|lc|PAGE}}||{{tlx|lct|PAGE}}
|-
|File||{{tlx|lf|FILE}}||{{tlx|lft|FILE}}
|-
|Portal||{{tlx|lp|PORTAL}}||{{tlx|lpt|PORTAL}}
|-
|MediaWiki||{{tlx|lm|MESSAGE}}||{{tlx|lmt|MESSAGE}}
|-
|Help||{{tlx|lh|PAGE}}||{{tlx|lht|PAGE}}
|-
|TimedText||{{tlx|lttxt|TIMEDTEXT}}||{{tlx|lttxtt|TIMEDTEXT}}
|-
|Module||{{tlx|lmd|MODULE}}||{{tlx|lmdt|MODULE}}
|}
 
{{clear}}
 
{{reflist}}
 
== Examples ==
{| class="wikitable"
! Code
! Result
|- style="vertical-align:top;"
| {{tlx|pagelinks|Category:Stubs}} || {{safesubst:<noinclude />pagelinks|Category:Stubs}}
|-
| {{tlx|pagelinks|Category talk:Stubs}} || {{safesubst:<noinclude />pagelinks|Category talk:Stubs}}
|-
| {{tlx|ln|<nowiki>Category|Stubs</nowiki>}} || {{safesubst:<noinclude />ln|Category|Stubs}}
|-
| {{tlx|lnt|<nowiki>Category|Stubs</nowiki>}}||{{safesubst:<noinclude />lnt|Category|Stubs}}
|-
| {{tlx|la|Article}}||{{safesubst:<noinclude />la|Article}}
|-
| {{tlx|lat|Article}}||{{safesubst:<noinclude />lat|Article}}
|-
| {{tlx|ld|Draft}}||{{safesubst:<noinclude />ld|Draft}}
|-
| {{tlx|ldt|Draft}}||{{safesubst:<noinclude />ldt|Draft}}
|-
| {{tlx|lt|Deprecated template}}||{{safesubst:<noinclude />lt|Deprecated template}}
|-
| {{tlx|ltt|Deprecated template}}||{{safesubst:<noinclude />ltt|Deprecated template}}
|-
| {{tlx|lu|Example}}||{{safesubst:<noinclude />lu|Example}}
|-
| {{tlx|lut|Example}}||{{safesubst:<noinclude />lut|Example}}
|-
| {{tlx|lw|About}}||{{safesubst:<noinclude />lw|About}}
|-
| {{tlx|lwt|About}}||{{safesubst:<noinclude />lwt|About}}
|-
| {{tlx|lc|Stubs}}||{{safesubst:<noinclude />lc|Stubs}}
|-
| {{tlx|lct|Stubs}}||{{safesubst:<noinclude />lct|Stubs}}
|-
| {{tlx|lf|1944 NormandyLST.jpg}}||{{safesubst:<noinclude />lf|1944 NormandyLST.jpg}}
|-
| {{tlx|lft|1944 NormandyLST.jpg}}||{{safesubst:<noinclude />lft|1944 NormandyLST.jpg}}
|-
| {{tlx|lp|Television}}||{{safesubst:<noinclude />lp|Television}}
|-
| {{tlx|lpt|Television}}||{{safesubst:<noinclude />lpt|Television}}
|-
| {{tlx|lm|Common.css}}||{{safesubst:<noinclude />lm|Common.css}}
|-
| {{tlx|lmt|Common.css}}||{{safesubst:<noinclude />lmt|Common.css}}
|}
 
== See also ==
*{{Lts|lag}} same as {{tl|la}} with a link to the Google search
*{{Lts|la-abbr}} abbreviated form of La: shows letters instead of words
*{{Lts|laal}} same as {{tl|la}} with the article's short description alongside
*{{Lts|al}} provides edit/history links for both article and talk page
*{{Lts|userlinks}} provides additional links to user's contributions history etc.
*{{Lts|Lcs}} comparison categories
*{{Lts|Lps}} comparison Wikipedia
*{{Lts|Lts}} comparison templates
*{{Lts|Ti}}
*{{Lts|Tlsp}}
*{{Lts|Tlx}} comparison parameters
*{{Lcs|Internal link templates}}
*{{Lts|Rfplinks}}
{{Internal category-link templates}}
<includeonly>{{sandbox other||
[[Category:Pagelinks templates]]
}}</includeonly>
 
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"params": {
"1": {
"description": "Name of the target page.",
"type": "wiki-page-name",
"required": true
}
},
"description": "Produces a series of links for a specified page."
}
</templatedata>