Template:Lcs: Difference between revisions
meta>Fabartus (+{{commonstmp}}+usage+port to commons) |
meta>Fabartus (+{{Interwikitmp-grp}} +{{TOCright}} + --{{Commonscat}} ??? Huh, has no Category:Lcs!) |
||
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-grp|!{{PAGENAME}}|{{PAGENAME}}| |{{PAGENAME}} }} | |||
{{TOCright}} | |||
==Usage== | ==Usage== | ||
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing [[Wikipedia:Category|Category]]. | {{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing [[Wikipedia:Category|Category]]. |
Revision as of 06:03, 2 September 2006
Template:Interwikitmp-grp
Template:TOCright
Usage
Template:Lcs(edit talk links history) needs one parameter, the name of an existing Category.
Example:
- {{Lcs|Water}}
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
- Template:Lcs(edit talk links history) for Categories
- Template:Lps(edit talk links history) for {{ns:Project}}
- Template:Lts(edit talk links history) 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/ | {{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}}
|