Difference between revisions of "Template:Lps/doc"

From blackwiki
Jump to navigation Jump to search
imported>Steel1943
(clarify)
imported>Steel1943
(cleaned up sections)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
== Documentation ==
 
 
[[Template:Lps]]
 
[[Template:Lps]]
 
is a smaller variant of
 
is a smaller variant of
Line 14: Line 13:
 
the '''p''' (project) in <tt>Lps</tt> vs. '''w''' (wikipedia) in <tt>Lw</tt> are both intended.
 
the '''p''' (project) in <tt>Lps</tt> vs. '''w''' (wikipedia) in <tt>Lw</tt> are both intended.
  
=== Usage ===
+
== Usage ==
  
 
  <nowiki>{{Lps|page name}}</nowiki>
 
  <nowiki>{{Lps|page name}}</nowiki>
Line 44: Line 43:
 
|}{{-}}
 
|}{{-}}
  
=== See also ===
+
== See also ==
 
  {{Lts|Lps}}
 
  {{Lts|Lps}}
 
  {{Lts|Lts}}
 
  {{Lts|Lts}}

Revision as of 01:21, 18 November 2013

Template:Lps is a smaller variant of Lw with pleasant output also on browsers which don't support &middot;.

Lps supports one optional parameter, the name of an existing project page, here any Blackwiki page. It should work as is if copied to Meta, the p (project) in Lps vs. w (wikipedia) in Lw are both intended.

Usage

{{Lps|page name}}
{{Lps}}

The latter uses the actual page name where the template is used.

Example

Code Result
{{Lps|About}} Blackwiki:About (edit talk links history)

Comparison

Here are some similar templates:

Source Code Result
links talk edit {{lps|as of}} Blackwiki:As of (edit talk links history)
links talk edit {{lw|as of}} Wikipedia:As of (edit | talk | history | links | watch | logs)

See also

Template:Lps(edit talk links history)
Template:Lts(edit talk links history)
Template:Lcs(edit talk links history)
Template:Lw(edit talk links history)
Category:Internal link templates