Difference between revisions of "Template:Lps"

From blackwiki
Jump to navigation Jump to search
imported>Steel1943
(other addition that may be removed soon)
imported>Steel1943
(removed unnecessary information that is duplicated on the /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}}
 
{{documentation}}
</noinclude>
 
<noinclude>
 
 
----
 
 
----
 
Usage: {{Tlx|{{PAGENAME}}|page name}} for any {{ns:Project}} page.
 
{|
 
| Example&#160; || {{{{PAGENAME}}|About}}
 
|-
 
| Related      || {{Lts|{{PAGENAME}}}}
 
|}
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 21:16, 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)

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