Difference between revisions of "Template:Lps"

From blackwiki
Jump to navigation Jump to search
imported>Steel1943
(removed unnecessary information that is duplicated on the /doc file)
imported>Anomalocaris
m (<tt>→<samp>)
 
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;<samp>(</samp><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><samp>)</samp></span></includeonly><noinclude>  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 07:22, 22 December 2017

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)

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