Difference between revisions of "Template:Las/doc"

From blackwiki
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.   
;Note-- Hidden active content above.
 
 
 
This is '''L'''ist '''A'''rticle (page) '''S'''hort, which is a smaller version of {{tlxw|la}} displaying fewer links. It is similar to {{tlxm|lts}} and {{tlxm|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.
 
:'''Note:''' Given a proper namespace prefix (template:, category:) before the pagename, las will replicate the links formed by either lts or lcs.
  
<pre>
+
=== Usage ===
Usage:
 
 
Using {{{1}}} default parameter:  
 
Using {{{1}}} default parameter:  
    {{las|Some mainspace pagename}} -- displays maintenance links to the page
+
:<code><nowiki>{{las|Some mainspace pagename}}</nowiki></code> &ndash; displays maintenance links to the page
OR
+
or
 
+
:<code><nowiki>{{las|Article=pagename}}</nowiki></code> &ndash; will do the same.
    {{las|Article=pagename}} -- 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).
 
</pre>
 
  
 
<includeonly>
 
<includeonly>

Revision as of 21:59, 6 February 2011

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).