Difference between revisions of "Template:Las/doc"

From blackwiki
Jump to navigation Jump to search
imported>Petr Matas
(more specific category)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
=== Usage ===
 
=== Usage ===
 
Using {{{1}}} default parameter:  
 
Using {{{1}}} default parameter:  
:<code><nowiki>{{las|Some mainspace pagename}}</nowiki></code> &ndash; displays maintenance links to the page
+
:<code><nowiki>{{las|Example}}</nowiki></code> &ndash; displays maintenance links to the page
 +
:{{las|Example}}
 
or
 
or
 
:<code><nowiki>{{las|Article=pagename}}</nowiki></code> &ndash; will do the same.
 
:<code><nowiki>{{las|Article=pagename}}</nowiki></code> &ndash; will do the same.
Line 16: 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).