Template:Lcs: Difference between revisions
More actions
P2c imp fm en.wp or offline as tagging system upgrade per revised scheme (Genesis here) |
m V=2 fixup and {w2} to {wpd} |
||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit] [[:Category talk:{{{1|{{PAGENAME}}}}}|talk]] [{{fullurl:Special:Whatlinkshere/Category:{{{1|{{PAGENAME}}}}}|limit=500}} links] [{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude> | <includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit] [[:Category talk:{{{1|{{PAGENAME}}}}}|talk]] [{{fullurl:Special:Whatlinkshere/Category:{{{1|{{PAGENAME}}}}}|limit=500}} links] [{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude> | ||
{{interwikitmp- | {{interwikitmp-grp|V=2|!{{PAGENAME}}|{{PAGENAME}}|w:Template_talk:Lcs}} | ||
==Usage== | ==Usage== | ||
{{TOCright}} | {{TOCright}} | ||
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing {{ | {{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing {{Wpd|Wikipedia:Category|Category}}. It then displays links like Lts, save for the category vice for a template. | ||
Example: | Example: | ||
| Line 11: | Line 11: | ||
:<tt>{{Lcs|Interwiki utility templates}}</tt> | :<tt>{{Lcs|Interwiki utility templates}}</tt> | ||
== Documentation == | == Documentation == | ||
[[Template:Lcs | [[Template:Lcs]] | ||
is a smaller variant of | is a smaller variant of | ||
{{ | {{wpd|Template:Lc|Lc}} | ||
with pleasant output also on browsers which don't | with pleasant output also on browsers which don't | ||
support <tt>{{ | support <tt>{{wpd|interpunct|&middot;}}</tt>. | ||
{{ | {{wpd|Template:Lcs|Lcs}} | ||
allows one parameter, the name of an existing | allows one parameter, the name of an existing | ||
{{ | {{wpd|Wikipedia:Category|Category}}. | ||
It can be used on talk and user | It can be used on talk and user | ||
pages related to an existing {{ | pages related to an existing {{wpd|WP:TPG|talk page}} | ||
of the category, but the linked category talk page | of the category, but the linked category talk page | ||
might also not yet exist. | might also not yet exist. | ||
| Line 77: | Line 77: | ||
| {{lcs|stubs}} | | {{lcs|stubs}} | ||
|}{{-}} | |}{{-}} | ||
;Templates 'CAT' vs. 'Cat' :(Note: 'Cat' is also available on all sister's, but varies by prior usage to add a page by <nowiki>{{{{{1|PAGENAME}}}}}</nowiki> name to a the 'named' category, or has some other function (There are multiple deviant prior usages!). 'CAT' is a English {{ | ;Templates 'CAT' vs. 'Cat' :(Note: 'Cat' is also available on all sister's, but varies by prior usage to add a page by <nowiki>{{{{{1|PAGENAME}}}}}</nowiki> name to a the 'named' category, or has some other function (There are multiple deviant prior usages!). 'CAT' is a English {{Wpd|sister projects}} wiki-wide version.) | ||
==See also== | ==See also== | ||
* [[Template:Cat see also]] — lists a group of cats (usually on a category page) to cross-link to other categories of the same parent, or some other useful relationship (image galleries, etcetera). | * [[Template:Cat see also]] — lists a group of cats (usually on a category page) to cross-link to other categories of the same parent, or some other useful relationship (image galleries, etcetera). | ||
Revision as of 19:40, 7 May 2007
| Similar templates at English sister projects [edit] | |||
|---|---|---|---|
| wpd | Wikipedia | Lcs | |
| cms | Commons | Lcs | |
| wbk | Wikibooks | Lcs | |
| wsp | Wikispecies | Lcs | |
| wvy | Wikiversity | Lcs | |
Usage
Template:TOCright needs one parameter, the name of an existing Template:Wpd. It then displays links like Lts, save for the category vice for a template.
Example:
- {{Lcs|Interwiki utility templates}}
appears as:
Documentation
Template:Lcs is a smaller variant of Template:Wpd with pleasant output also on browsers which don't support Template:Wpd.
Template:Wpd allows one parameter, the name of an existing Template:Wpd. It can be used on talk and user pages related to an existing Template:Wpd of the category, but the linked category talk page might also not yet exist.
Usage
{{Lcs|category}} shows links for the specified category
{{Lcs}} shows links for a category wrt the {{PAGENAME}}
Example
| Code | Result |
{{Lcs|stubs}}
|
|
{{Lcs}}
|
The latter shows bogus links, as long as no category Lcs exists.
See also
- for Categories
- for {{ns:Project}}
- for Templates
Comparison
We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits redirections:
| Source | Code | Result |
| Template:Lts/ | {{CAT|Internal link templates}} (See Name note below) |
Template:CAT |
| Template:Lts/ | {{cl|stubs}}
|
Category:Stubs |
| Template:Lts/ | {{ccl|stubs}}
|
Template:Ccl |
| Template:Lts/ | {{lc|stubs}}
|
Category:Stubs (edit|talk|history|links|watch|logs) |
| Template:Lts/ | {{lcs|stubs}}
|
- Templates 'CAT' vs. 'Cat'
- (Note: 'Cat' is also available on all sister's, but varies by prior usage to add a page by {{{{{1|PAGENAME}}}}} name to a the 'named' category, or has some other function (There are multiple deviant prior usages!). 'CAT' is a English Template:Wpd wiki-wide version.)
See also
- Template:Cat see also — lists a group of cats (usually on a category page) to cross-link to other categories of the same parent, or some other useful relationship (image galleries, etcetera).
- Template:Cat also — Takes a list of category names, and adds the list to the page, using the first perameter as the pipetrick for the group. Very handy when building a new page related to another; one can just steal the cats off the existing page and paste them down.