Template:Category link with count: Difference between revisions

From Vigyanwiki
Template>Zyxw
(use different method to remove "Category:", previous method did not work with names such as Category:Côte-d'Or)
m (15 revisions imported from alpha:Template:Category_link_with_count)
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[:Category:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{1}}}}}]]&nbsp;({{PAGESINCATEGORY:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{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