Template:Category link with count: Difference between revisions
From Vigyanwiki
Template>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 (15 revisions imported from alpha:Template:Category_link_with_count) |
||
(11 intermediate revisions by 10 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> |
Latest revision as of 10:13, 8 December 2022
[[:Category:{{{1}}}|Category:{{{1}}}]] (0)
Template documentation
[create]