Template:Category link with count: Difference between revisions

m
1 revision imported from wikipedia:Template:Category_link_with_count: nihongo update
(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 from wikipedia:Template:Category_link_with_count: nihongo update)
 
(6 intermediate revisions by 4 users not shown)
Line 1:
[[:Category:{{{#invoke:string|replace|1}}}]]&nbsp;({{PAGESINCATEGORY:={{{1}}}|{{{2=^:?[Cc]ategory:|all3=|plain=false}}}}})|<noinclude>!--
-->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!--
 
-->]]&nbsp;({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude>
[[Category:Internal category-link templates]]
{{Documentation}}
</noinclude>