Sjabloon:Ln: verschil tussen versies
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | {{lx|1=:{{ucfirst:{{{1}}}}}:|2={{ucfirst:{{{2}}}}}|3=:{{{1}}} | + | {{lx|1=:{{ucfirst:{{{1}}}}}:|2={{ucfirst:{{{2}}}}}|3=:Overleg {{lc:{{{1}}}}}|4=overleg}}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Huidige versie van 22 jul 2013 om 11:47
[[:{{{1}}}:{{{2}}}]] ([{{fullurl::{{{1}}}:{{{2}}}|action=edit}} bewerken]|[[:Overleg {{{1}}}:{{{2}}}|overleg]]|[{{fullurl::{{{1}}}:{{{2}}}|action=history}} geschiedenis]|[{{fullurl:Special:Whatlinkshere/:{{{1}}}:{{{2}}}|limit=999}} links]|[{{fullurl::{{{1}}}:{{{2}}}|action=watch}} volgen]|logs)
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:
bewerken
– edit 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; andlogs
– access its logs.
The major difference between the templates is the namespace of the page to which it is applied.
- Algemeen:
- Sjabloon:Pagelinks (bewerken|overleg|geschiedenis|links|volgen|logs) creates links for any page in any namespace.
- Sjabloon:Ln (bewerken|overleg|geschiedenis|links|volgen|logs) creates links for pages in any subject namespace.
- Sjabloon:Lnt (bewerken|overleg|geschiedenis|links|volgen|logs) creates links for pages in any talk namespace.
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
{{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.test-nictiz.nl/index.php?title=Categorie:Stubs&action=edit edit]<tt>|</tt> [[:Category talk:Stubs|talk]]<tt>|</tt> [https://informatiestandaarden.test-nictiz.nl/index.php?title=Speciaal:Whatlinkshere/:Category:Stubs&limit=999 links]<tt>|</tt> [https://informatiestandaarden.test-nictiz.nl/index.php?title=Categorie:Stubs&action=history history]<tt>|</tt> [https://informatiestandaarden.test-nictiz.nl/index.php?title=Categorie:Stubs&action=watch watch]<tt>)</tt></span>
See also
- Sjabloon:Lag (bewerken overleg links geschiedenis) same as {{la}} with a link to the google search
- Sjabloon:Laabbr (bewerken overleg links geschiedenis) abbreviated form of La: shows letters instead of words
- Sjabloon:Al (bewerken overleg links geschiedenis) provides edit/history links for both article and talk page
- Sjabloon:Userlinks (bewerken overleg links geschiedenis) provides additional links to user's contributions history etc.
- Sjabloon:Lcs (bewerken overleg links geschiedenis) comparison categories
- Sjabloon:Lps (bewerken overleg links geschiedenis) comparison Wikipedia
- Sjabloon:Lts (bewerken overleg links geschiedenis) comparison templates
- Sjabloon:Ti (bewerken overleg links geschiedenis)
- Sjabloon:Tlsp (bewerken overleg links geschiedenis)
- Sjabloon:Tlx (bewerken overleg links geschiedenis) comparison parameters
- bewerken overleg links geschiedenis) (
The above documentation is transcluded from Sjabloon:Ln/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |