साचा:Ln/doc

विकिपीडिया, मुक्‍त ज्ञानकोशातून

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:

पान (संपादन | चर्चा | इतिहास | दुवे | पहा | नोंद)

The six links are:

संपादनedit the page;
चर्चा – access its talk page ;
इतिहास – access its edit history;
दुवे – access the what links here feature;
पहा – add the page to one's watchlist; and
नोंद – access its logs.

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

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}}
All namespaces {{l-abbr|NAMESPACE}}
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}}
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}}
Education Program {{lep|PROGRAM}} {{lept|PROGRAM}}
TimedText {{lttxt|TIMEDTEXT}} {{lttxtt|TIMEDTEXT}}
Module {{lmd|MODULE}} {{lmdt|MODULE}}
Topic {{ltp|TOPIC}}

Examples[संपादन]

Code Result
{{pagelinks|Category:Stubs}} वर्ग:Stubs (संपादन | चर्चा | इतिहास | दुवे | पहा | नोंद)
{{pagelinks|Category talk:Stubs}} वर्ग चर्चा:Stubs (संपादन|subject|इतिहास|दुवे|पहा|नोंद)
{{ln|Category|Stubs}} Category:Stubs (संपादन|चर्चा|इतिहास|दुवे|पहा|नोंद)
{{lnt|Category|Stubs}} Category चर्चा:Stubs (संपादन|category|इतिहास|दुवे|पहा|नोंद)
{{la|Article}} Article (संपादन | चर्चा | इतिहास | सुरक्षित करा | वळगावा | दुवे | पहा | नोंद | दृश्ये)
{{lat|Article}} Talk:Article (संपादन|article|इतिहास|दुवे|पहा|नोंद)
{{ld|Draft}} साचा:Ld
{{ldt|Draft}} साचा:Ldt
{{lt|Tdeprecated}} साचा:Tdeprecated (संपादन|चर्चा|इतिहास|दुवे|पहा|नोंद)
{{ltt|Tdeprecated}} साचा चर्चा:Tdeprecated (संपादन|साचा|इतिहास|दुवे|पहा|नोंद)
{{lu|Example}} सदस्य:Example (संपादन|चर्चा|इतिहास|दुवे|पहा|नोंद)
{{lut|Example}} User talk:Example (संपादन|user page|इतिहास|दुवे|पहा|नोंद)
{{lw|About}} साचा:Lw
{{lwt|About}} साचा:Lwt
{{lc|Stubs}} वर्ग:Stubs (संपादन|चर्चा|इतिहास|दुवे|पहा|नोंद)
{{lct|Stubs}} वर्ग चर्चा:Stubs (संपादन|वर्ग|इतिहास|दुवे|पहा|नोंद)
{{lf|1944 NormandyLST.jpg}} साचा:Lf
{{lft|1944 NormandyLST.jpg}} साचा:Lft
{{lp|Television}} साचा:Lp
{{lpt|Television}} साचा:Lpt
{{lm|Common.css}} साचा:Lm
{{lmt|Common.css}} साचा:Lmt
{{lb|Business}} साचा:Lb
{{lbt|Business}} साचा:Lbt

{{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>
 [//mr.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%B0%E0%A5%8D%E0%A4%97:Stubs&action=edit edit]<tt>|</tt>
 [[:Category talk:Stubs|talk]]<tt>|</tt>
 [//mr.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:Whatlinkshere/:Category:Stubs&limit=999 links]<tt>|</tt>
 [//mr.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%B0%E0%A5%8D%E0%A4%97:Stubs&action=history history]<tt>|</tt>
 [//mr.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%B0%E0%A5%8D%E0%A4%97:Stubs&action=watch watch]<tt>)</tt></span>

See also[संपादन]

साचा:Internal category-link templates