Fyrimynd:Ln

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search

[[{{{2}}}]] ([{{fullurl:{{{2}}}|action=edit}} rætta] | [[:{{{1}}} talk:{{{2}}}|talk]] | [{{fullurl:{{{2}}}|action=history}} søgan] | [{{fullurl:Special:Whatlinkshere/{{{2}}}|limit=999}} leinkjur] | [{{fullurl:{{{2}}}|action=watch}} eftirlit] | loggar)

Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

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:

rættarætta síðuna;
kjak – access its talk page ;
søgan – access its edit history;
leinkjur – access the what links here feature;
eftirlit – add the page to one's watchlist; and
loggur – access its logs.

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

Usage[rætta wikitekst]

Namespace Link to subject page Leinkja til kjaksíðuna
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}}
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[rætta wikitekst]

Code Result
{{pagelinks|Category:Stubs}} Bólkur:Stubs (edit | talk | history | links | watch | logs)
{{pagelinks|Category talk:Stubs}} Bólkakjak:Stubs (rætta | subject | søgan | leinkjur | eftirlit | loggar)
{{ln|Category|Stubs}} Category:Stubs (rætta | talk | søgan | leinkjur | eftirlit | loggar)
{{lnt|Category|Stubs}} Category talk:Stubs (rætta | category | søgan | leinkjur | eftirlit | loggar)
{{la|Article}} Article (rætta | talk | søgan | protect | delete | leinkjur | eftirlit | loggar | vísingar)
{{lat|Article}} Talk:Article (rætta | article | søgan | leinkjur | eftirlit | loggar)
{{ld|Draft}} Draft:Draft (rætta | talk | søgan | leinkjur | eftirlit | loggar)
{{ldt|Draft}} Draft talk:Draft (rætta | draft | søgan | leinkjur | eftirlit | loggar)
{{lt|Tdeprecated}} Template:Tdeprecated (rætta | talk | søgan | leinkjur | eftirlit | loggar)
{{ltt|Tdeprecated}} Template talk:Tdeprecated (rætta | template | søgan | leinkjur | eftirlit | loggar)
{{lu|Example}} Fyrimynd:Lu
{{lut|Example}} Fyrimynd:Lut
{{lw|About}} Fyrimynd:Lw
{{lwt|About}} Fyrimynd:Lwt
{{lc|Stubs}} Category:Stubs (rætta | talk | søgan | leinkjur | eftirlit | loggar)
{{lct|Stubs}} Fyrimynd:Lct
{{lf|1944 NormandyLST.jpg}} Fyrimynd:Lf
{{lft|1944 NormandyLST.jpg}} Fyrimynd:Lft
{{lp|Television}} Fyrimynd:Lp
{{lpt|Television}} Fyrimynd:Lpt
{{lm|Common.css}} MediaWiki:Common.css (rætta | talk | søgan | leinkjur | eftirlit | loggar)
{{lmt|Common.css}} Fyrimynd:Lmt
{{lb|Business}} Book:Business (rætta | talk | søgan | leinkjur | eftirlit | loggar)
{{lbt|Business}} Fyrimynd: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>
 [//fo.wikipedia.org/w/index.php?title=B%C3%B3lkur:Stubs&action=edit edit]<tt>|</tt>
 [[:Category talk:Stubs|talk]]<tt>|</tt>
 [//fo.wikipedia.org/w/index.php?title=Serstakt:Whatlinkshere/:Category:Stubs&limit=999 links]<tt>|</tt>
 [//fo.wikipedia.org/w/index.php?title=B%C3%B3lkur:Stubs&action=history history]<tt>|</tt>
 [//fo.wikipedia.org/w/index.php?title=B%C3%B3lkur:Stubs&action=watch watch]<tt>)</tt></span>

See also[rætta wikitekst]