Difference between revisions of "Template:Lps/doc"

From blackwiki
Jump to navigation Jump to search
imported>GoingBatty
m (General fixes, typo(s) fixed: wikipedia → Wikipedia using AWB (11376))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 43: Line 43:
 
  [[:Category:Internal link templates]]
 
  [[:Category:Internal link templates]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Pagelinks templates|{{PAGENAME}}]]
 
[[Category:Pagelinks templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Revision as of 00:22, 26 April 2020

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