Difference between revisions of "Template:Lps"

From blackwiki
Jump to navigation Jump to search
imported>LikeLakers2
(fix)
imported>Steel1943
(added link to /doc file)
Line 1: Line 1:
<includeonly><span class="plainlinksneverexpand plainlinks">[[:{{ns:Project}}:{{{1|{{PAGENAME}}}}}|{{ns:Project}}:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]&#160;<tt>(</tt><small>[{{fullurl:{{ns:Project}}:{{{1|{{PAGENAME}}}}}|action=edit}} edit]&#160;[[:{{ns:Project}} talk:{{{1|{{PAGENAME}}}}}|talk]]&#160;[{{fullurl:Special:Whatlinkshere/{{ns:Project}}:{{{1|{{PAGENAME}}}}}|limit=500}} links]&#160;[{{fullurl:{{ns:Project}}:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude>
+
<includeonly><span class="plainlinksneverexpand plainlinks">[[:{{ns:Project}}:{{{1|{{PAGENAME}}}}}|{{ns:Project}}:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]&#160;<tt>(</tt><small>[{{fullurl:{{ns:Project}}:{{{1|{{PAGENAME}}}}}|action=edit}} edit]&#160;[[:{{ns:Project}} talk:{{{1|{{PAGENAME}}}}}|talk]]&#160;[{{fullurl:Special:Whatlinkshere/{{ns:Project}}:{{{1|{{PAGENAME}}}}}|limit=500}} links]&#160;[{{fullurl:{{ns:Project}}:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude>  
 +
{{documentation}}
 +
</noinclude>
 +
 
 
----
 
----
  

Revision as of 21:11, 17 November 2013

Template documentation[view] [edit] [history] [purge]

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)

Usage: {{Lps|page name}} for any Blackwiki page.

Example  Template loop detected: Template:Lps
Related Template:Lps(edit talk links history)

</noinclude>

Comparison

Here are some similar templates:

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

Usage: {{Lps|page name}} for any Blackwiki page.

Example  Template loop detected: Template:Lps
Related Template:Lps(edit talk links history)

</noinclude>

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




Usage: {{Lps|page name}} for any Blackwiki page.

Example  Blackwiki:About (edit talk links history)

Usage: {{Lps|page name}} for any Blackwiki page.

Example  Template loop detected: Template:Lps
Related Template:Lps(edit talk links history)

</noinclude>

Related Template:Lps(edit talk links history)