Template:Category link with count: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Tom Morris
(adding a second argument: default "all" but you can put in "pages" or "subcats" etc. as documented on mw:Help:Magic_words#Statistics and it passes it through to the magic word)
m (1 revision imported)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[:Category:{{{1}}}]]&nbsp;({{PAGESINCATEGORY:{{{1}}}|{{{2|all}}}}})<noinclude>
[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!--
 
-->{{#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:56, 6 September 2021

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