Difference between revisions of "Template:Las/doc"

From blackwiki
Jump to navigation Jump to search
imported>Czar
(show example)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 17: Line 17:
 
only one which will show a bad link (redlink).
 
only one which will show a bad link (redlink).
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Pagelinks templates|Las]]
 
[[Category:Pagelinks templates|Las]]
</includeonly>
+
}}</includeonly>

Latest revision as of 23:38, 25 April 2020

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|Example}} – displays maintenance links to the page
Example (edit talk links history)

or

{{las|Article=pagename}} – will do the same.

Note that pagename or {{{1}}} 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).