Difference between revisions of "Template:Category link with count"
From Canonical Works Universe Wiki
(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) |
StarSumiaki (talk | contribs) m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[:Category:{{{1}}}]] ({{PAGESINCATEGORY:{{{1}}}|{{{2|all}}}}})<noinclude> | + | [[:Category:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{1}}}}}]] ({{PAGESINCATEGORY:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{1}}}}}|{{{2|all}}}}})<noinclude> |
− | + | {{Documentation|Template:Clc/doc}} | |
[[Category:Internal category-link templates]] | [[Category:Internal category-link templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 01:43, 5 September 2018
[[:Category:{{{1}}}]] (0)
50px Template documentation[[index.php?title=Template:Clc/doc&action=edit&preload=Template%3ADocumentation%2Fpreload create]]
Editors can experiment in this template's sandbox ([index.php?title=Template:Category_link_with_count/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] | [index.php?title=Template:Category_link_with_count/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3ACategory+link+with+count%5D%5D mirror]) and testcases ([index.php?title=Template:Category_link_with_count/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create]) pages. Subpages of this template. |