Template:Lcs: Difference between revisions
More actions
Genesis - port from en.wp +{{WikiPtmp}} |
P2c imp fm en.wp or offline as tagging system upgrade per revised scheme (Genesis here) |
||
| 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-grp2|!{{PAGENAME}}|{{PAGENAME}}|w:Template_talk:Lcs}} | |||
==Usage== | ==Usage== | ||
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing | {{TOCright}} | ||
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing {{W2|Wikipedia:Category|Category}}. It then displays links like Lts, save for the category vice for a template. | |||
Example: | Example: | ||
:<tt><nowiki>{{Lcs| | :<tt><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></tt> | ||
appears as: | appears as: | ||
:<tt>{{Lcs| | :<tt>{{Lcs|Interwiki utility templates}}</tt> | ||
== Documentation == | == Documentation == | ||
[[Template:Lcs}} | [[Template:Lcs}} | ||
| Line 54: | Line 56: | ||
{| | {| | ||
| '''Source''' || '''Code''' || '''Result''' | | '''Source''' || '''Code''' || '''Result''' | ||
|- | |||
| {{Lts/|CAT}} | |||
| <code><nowiki>{{CAT|Internal link templates}}</nowiki></code> <br>(See Name note below) | |||
| {{CAT|Internal link templates}} | |||
|- | |- | ||
| {{Lts/|cl}} | | {{Lts/|cl}} | ||
| Line 71: | 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 {{W2|sister projects}} 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. | |||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 14:59, 12 September 2006
Usage
Template:TOCright needs one parameter, the name of an existing Template:W2. 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:W2 with pleasant output also on browsers which don't support Template:W2.
Template:W2 allows one parameter, the name of an existing Template:W2. It can be used on talk and user pages related to an existing Template:W2 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:W2 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.