Difference between revisions of "Template:Las/doc"
Jump to navigation
Jump to search
imported>Debresser (removed template loop) |
imported>Plastikspork (update) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | + | This is '''L'''ist '''A'''rticle (page) '''S'''hort, which is a smaller version of {{tlx|la}} displaying fewer links. It is similar to {{tlx|lts}} and {{tlx|lcs}} (which operate on template and category namespaces respectively) but is active in main namespace by default. | |
| − | |||
| − | |||
| − | This is '''L'''ist '''A'''rticle (page) '''S'''hort, which is a smaller version of {{ | ||
:'''Note:''' Given a proper namespace prefix (template:, category:) before the pagename, las will replicate the links formed by either lts or lcs. | :'''Note:''' Given a proper namespace prefix (template:, category:) before the pagename, las will replicate the links formed by either lts or lcs. | ||
| − | + | === Usage === | |
| − | Usage | ||
Using {{{1}}} default parameter: | Using {{{1}}} default parameter: | ||
| − | + | :<code><nowiki>{{las|Some mainspace pagename}}</nowiki></code> – displays maintenance links to the page | |
| − | + | or | |
| − | + | :<code><nowiki>{{las|Article=pagename}}</nowiki></code> – will do the same. | |
| − | |||
Note that pagename or {{1}} CAN contain a namespace as well as a valid pagename. | Note that pagename or {{1}} CAN contain a namespace as well as a valid pagename. | ||
| Line 20: | Line 15: | ||
All links displayed are full url, save the first (page name), which is the | All links displayed are full url, save the first (page name), which is the | ||
only one which will show a bad link (redlink). | only one which will show a bad link (redlink). | ||
| − | |||
| − | |||
<includeonly> | <includeonly> | ||
Revision as of 21:59, 6 February 2011
| 40px | This is a documentation subpage for Template:Las. It contains usage information, categories and other content that is not part of the original template page. |
This is List Article (page) Short, which is a smaller version of {{la}} displaying fewer links. It is similar to {{lts}} and {{lcs}} (which operate on template and category namespaces respectively) but is active in main namespace by default.
- Note: Given a proper namespace prefix (template:, category:) before the pagename, las will replicate the links formed by either lts or lcs.
Usage
Using {{{1}}} default parameter:
{{las|Some mainspace pagename}}– displays maintenance links to the page
or
{{las|Article=pagename}}– will do the same.
Note that pagename or
Unexpected use of template {{1}} - see Template:1 for details. CAN contain a namespace as well as a valid pagename.
All links displayed are full url, save the first (page name), which is the only one which will show a bad link (redlink).