Template:Category link with count: Difference between revisions
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}}}]] ({{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}}}}<!-- | |||
-->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude> | |||
{{Documentation}} | |||
</noinclude> | </noinclude> |