Sjabloon:Lht

Uit informatiestandaarden
Ga naar: navigatie, zoeken

[[Help talk:{{{1}}}]] ([{{fullurl:Help talk:{{{1}}}|action=edit}} bewerken]|[[Help:{{{1}}}|help]]|[{{fullurl:Help talk:{{{1}}}|action=history}} geschiedenis]|[{{fullurl:Special:Whatlinkshere/Help talk:{{{1}}}|limit=999}} links]|[{{fullurl:Help talk:{{{1}}}|action=watch}} volgen]|logs)

[bewerken] [purge] Template documentation

This template, and other related templates listed below, produce a series of links for a particular page, generally in the form: Paginanaam (bewerken|talk|geschiedenis|links|volgen|logs) though there are variations.

The six links are explained below:
bewerkenedit the page;
discussie – access its talk page ;
geschiedenis – access its edit history;
links – access the what links here feature;
volgen – add the page to one's watchlist; and
logs – 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}}
Article {{la|ARTICLE}} {{lat|ARTICLE}}
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}}


Examples

Code Result
{{pagelinks|Category:Stubs}} Categorie:Stubs (bewerken|overleg|geschiedenis|links|volgen|logs)
{{pagelinks|Category talk:Stubs}} Overleg categorie:Stubs (bewerken|onderwerp|geschiedenis|links|volgen|logs)
{{ln|Category|Stubs}} Category:Stubs (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lnt|Category|Stubs}} Category talk:Stubs (bewerken|category|geschiedenis|links|volgen|logs)
{{la|Article}} Article (bewerken|overleg|geschiedenis|beveiligen|links|volgen|logs)
{{lat|Article}} Talk:Article (bewerken|artikel|geschiedenis|links|volgen|logs)
{{lt|Tdeprecated}} Sjabloon:Tdeprecated (bewerken|overleg|geschiedenis|links|volgen|logs)
{{ltt|Tdeprecated}} Template talk:Tdeprecated (bewerken|sjabloon|geschiedenis|links|volgen|logs)
{{lu|Example}} User:Example (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lut|Example}} User talk:Example (bewerken|gebruikerpagina|geschiedenis|links|volgen|logs)
{{lw|About}} Wikipedia:About (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lwt|About}} Wikipedia talk:About (bewerken|project page|geschiedenis|links|volgen|logs)
{{lc|Stubs}} Category:Stubs (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lct|Stubs}} Category talk:Stubs (bewerken|categorie|geschiedenis|links|volgen|logs)
{{lf|1944 NormandyLST.jpg}} File:1944 NormandyLST.jpg (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lft|1944 NormandyLST.jpg}} File talk:1944 NormandyLST.jpg (bewerken|bestand|geschiedenis|links|volgen|logs)
{{lp|Television}} Portal:Television (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lpt|Television}} Portal talk:Television (bewerken|portal|geschiedenis|links|volgen|logs)
{{lm|Common.css}} MediaWiki:Common.css (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lmt|Common.css}} MediaWiki talk:Common.css (bewerken|melding|geschiedenis|links|volgen|logs)
{{lb|Business}} Book:Business (bewerken|overleg|geschiedenis|links|volgen|logs)
{{lbt|Business}} Book talk:Business (bewerken|boek|geschiedenis|links|volgen|logs)

{{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>
 [https://informatiestandaarden.nictiz.nl/index.php?title=Categorie:Stubs&action=edit edit]<tt>|</tt>
 [[:Category talk:Stubs|talk]]<tt>|</tt>
 [https://informatiestandaarden.nictiz.nl/index.php?title=Speciaal:Whatlinkshere/:Category:Stubs&limit=999 links]<tt>|</tt>
 [https://informatiestandaarden.nictiz.nl/index.php?title=Categorie:Stubs&action=history history]<tt>|</tt>
 [https://informatiestandaarden.nictiz.nl/index.php?title=Categorie:Stubs&action=watch watch]<tt>)</tt></span>

See also

sl:Predloga:Ln ur:سانچہ:Ln