Difference between revisions of "Template:Lps/doc"

From blackwiki
Jump to navigation Jump to search
imported>Petr Matas
(more specific category)
imported>GoingBatty
m (General fixes, typo(s) fixed: wikipedia → Wikipedia using AWB (11376))
Line 3: Line 3:
 
[[Template:Lps]] is a smaller variant of [[Template:Lw|Lw]] with pleasant output also on browsers which don't support <tt>[[interpunct|&amp;middot;]]</tt>.
 
[[Template:Lps]] is a smaller variant of [[Template:Lw|Lw]] with pleasant output also on browsers which don't support <tt>[[interpunct|&amp;middot;]]</tt>.
 
   
 
   
[[Template:Lps|Lps]] supports one optional parameter, the name of an existing project page, here any {{ns:Project}} page. It should work as is if copied to [[m:|Meta]], the '''p''' (project) in <tt>Lps</tt> vs. '''w''' (wikipedia) in <tt>Lw</tt> are both intended.
+
[[Template:Lps|Lps]] supports one optional parameter, the name of an existing project page, here any {{ns:Project}} page. It should work as is if copied to [[m:|Meta]], the '''p''' (project) in <tt>Lps</tt> vs. '''w''' (Wikipedia) in <tt>Lw</tt> are both intended.
 
__NOTOC__
 
__NOTOC__
 +
 
== Usage ==
 
== Usage ==
  
Line 18: Line 19:
 
| <code><nowiki>{{Lps|About}}</nowiki></code>
 
| <code><nowiki>{{Lps|About}}</nowiki></code>
 
| {{Lps|About}}
 
| {{Lps|About}}
|}{{-}}
+
|}{{Clear}}
  
 
=== Comparison ===
 
=== Comparison ===
Line 33: Line 34:
 
| <code><nowiki>{{lw|as of}}</nowiki></code>
 
| <code><nowiki>{{lw|as of}}</nowiki></code>
 
| {{lw|as of}}
 
| {{lw|as of}}
|}{{-}}
+
|}{{Clear}}
  
 
== See also ==
 
== See also ==

Revision as of 23:24, 5 September 2015

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