Teamplaid:Clc
[[:Roinn-seòrsa:{{{1}}}|Roinn-seòrsa:{{{1}}}]] (0)
Template:Category link with count generates a link to a category followed by the number of pages in the category. It uses the PAGESINCATEGORY parser function.
Usage
deasaich- One parameter
{{Category link with count|CATEGORY}}
{{Clc|CATEGORY}}
- Two parameters
{{Category link with count|CATEGORY|TYPE}}
{{Clc|CATEGORY|TYPE}}
- Name label
{{Clc|Ainmhidhean|name=Roinn:A h-uile ainmhidhean}}
→- Roinn:A h-uile ainmhidhean (18)
Examples
deasaichUsing the template shortcut {{Clc}}:
One parameter
deasaich- without "Category:"
{{Clc|Teamplaidean Cànain}}
→ Roinn-seòrsa:Teamplaidean Cànain (649)
- with "Category:"
- {{Clc|Category:Teamplaidean Cànain}} → Roinn-seòrsa:Category:Teamplaidean Cànain (0)
- {{Clc|Roinn-seòrsa:Teamplaidean Cànain}} → Roinn-seòrsa:Roinn-seòrsa:Teamplaidean Cànain (0)
Two parameters
deasaich- without "Category:"
{{Clc|Teamplaidean Cànain|pages}}
→ Roinn-seòrsa:Teamplaidean Cànain (630){{Clc|Teamplaidean Cànain|subcats}}
→ Roinn-seòrsa:Teamplaidean Cànain (19){{Clc|Teamplaidean Cànain|files}}
→ Roinn-seòrsa:Teamplaidean Cànain (0)
See also
deasaich
|
|
The above documentation is transcluded from Teamplaid:Clc/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |