Template:Category link with count: Difference between revisions

    From Nonbinary Wiki
    (use different method to remove "Category:", previous method did not work with names such as Category:Côte-d'Or)
     
    (4 intermediate revisions by 4 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:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{1}}}}}|<!--
    {{Documentation|Template:Clc/doc}}
    -->{{#if:{{{name|}}}|{{{name}}}|Category:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{1}}}}}}}<!--
    [[Category:Internal category-link templates]]
    -->]]&nbsp;({{PAGESINCATEGORY:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{1}}}}}|{{{2|all}}}}})<noinclude>
    {{Documentation}}
    </noinclude>
    </noinclude>

    Latest revision as of 11:39, 21 May 2021

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

    Template documentation[create]