Difference between revisions of "Template:Lps/doc"
Jump to navigation
Jump to search
imported>Steel1943 (removed outdated/redirected template from list) |
imported>Jonesey95 |
||
| (10 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| − | [[Template:Lps]] | + | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
| − | is a smaller variant of | + | [[Template:Lps]] is a smaller variant of [[Template:Lw|Lw]] with pleasant output also on browsers which don't support <code>[[interpunct|&middot;]]</code>. |
| − | [[Template:Lw|Lw]] | ||
| − | with pleasant output also on browsers which don't | ||
| − | support < | ||
| − | [[Template:Lps|Lps]] | + | [[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 <code>Lps</code> vs. '''w''' (Wikipedia) in <code>Lw</code> are both intended. |
| − | supports one optional parameter, the name of an existing | + | __NOTOC__ |
| − | project page, here any {{ns:Project}} page. | ||
| − | It should work as is if copied to [[m:|Meta]], | ||
| − | the '''p''' (project) in < | ||
| − | + | == Usage == | |
<nowiki>{{Lps|page name}}</nowiki> | <nowiki>{{Lps|page name}}</nowiki> | ||
| Line 25: | Line 19: | ||
| <code><nowiki>{{Lps|About}}</nowiki></code> | | <code><nowiki>{{Lps|About}}</nowiki></code> | ||
| {{Lps|About}} | | {{Lps|About}} | ||
| − | |}{{ | + | |}{{Clear}} |
=== Comparison === | === Comparison === | ||
| − | + | Here are some similar templates: | |
| − | |||
{| | {| | ||
| Line 41: | 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 == | |
{{Lts|Lps}} | {{Lts|Lps}} | ||
| − | |||
{{Lts|Lts}} | {{Lts|Lts}} | ||
{{Lts|Lcs}} | {{Lts|Lcs}} | ||
| Line 55: | Line 43: | ||
[[:Category:Internal link templates]] | [[:Category:Internal link templates]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | [[Category: | + | <!-- Categories go here, and interwikis go in Wikidata --> |
| − | </includeonly> | + | [[Category:Pagelinks templates|{{PAGENAME}}]] |
| + | }}</includeonly> | ||
Latest revision as of 17:51, 3 June 2020
| This is a documentation subpage for Template:Lps. It contains usage information, categories and other content that is not part of the original template page. |
Template:Lps is a smaller variant of Lw with pleasant output also on browsers which don't support ·.
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}}
|
Comparison
Here are some similar templates:
| Source | Code | Result |
{{lps|as of}}
|
||
{{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