සැකිල්ල:Pagelinks/doc
Appearance
This is a documentation subpage for සැකිල්ල:Pagelinks. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
- General:
- සැකිල්ල:Pagelinks (සංස්කරණය|talk|ඉතිහාසය|සබැඳි|මුරකිරීම|ලඝු-සටහන්) creates links for any page in any namespace.
- Also known as Template:Ln2
- සැකිල්ල:Ln (සංස්කරණය|සාකච්ඡාව|ඉතිහාසය|සබැඳි|මුරකිරීම|ලඝු-සටහන්) creates links for pages in any subject namespace.
- සැකිල්ල:Lnt (සංස්කරණය|සාකච්ඡාව|ඉතිහාසය|සබැඳි|මුරකිරීම|ලඝු-සටහන්) creates links for pages in any talk namespace.
- සැකිල්ල:Pagelinks (සංස්කරණය|talk|ඉතිහාසය|සබැඳි|මුරකිරීම|ලඝු-සටහන්) creates links for any page in any namespace.
- Article:
- Template:
etc.
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}} |
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> [{{fullurl::Category:Stubs|action=edit}} edit]<tt>|</tt> [[:Category talk:Stubs|talk]]<tt>|</tt> [{{fullurl:Special:Whatlinkshere/:Category:Stubs|limit=999}} links]<tt>|</tt> [{{fullurl::Category:Stubs|action=history}} history]<tt>|</tt> [{{fullurl::Category:Stubs|action=watch}} watch]<tt>)</tt></span>
See also
[සංස්කරණය]- la}} with a link to the google search , same as {{
- Lx-family comparison
- abbreviated form of La
- provides edit/history links for both article and talk page
- comparison categories
- comparison Wikipedia
- comparison templates
- comparison parameters
- Category:Internal link templates