Template:Category link with count: Difference between revisions

From Vigyanwiki
Template>Zyxw
(If parameter 1 starts with "Category:", remove it. This prevents red links, such as Category:Category:ABC.)
m (15 revisions imported from alpha:Template:Category_link_with_count)
 
(9 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[:Category:{{PAGENAME:{{{1}}}}}]]&nbsp;({{PAGESINCATEGORY:{{PAGENAME:{{{1}}}}}|{{{2|all}}}}})<noinclude>
[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!--
{{Documentation|Template:Clc/doc}}
-->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!--
[[Category:Internal category-link templates]]
-->]]&nbsp;({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 10:13, 8 December 2022

[[:Category:{{{1}}}|Category:{{{1}}}]] (0)

Template documentation