Difference between revisions of "Template:Category link"
From WFG Wiki
en>Sardanaphalus (Update from sandbox/testcases (optional alternate linktext {{{2}}})) |
en>Technical 13 (Add the ability to get a count of pages in category.) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Stub types for deletion |[[:Category:{{{1}}}|Cat:{{{1}}}]] | {{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Stub types for deletion |[[:Category:{{{1}}}|Cat:{{{1}}}]] | ||
− | | [[:Category:{{{1}}}|{{{2|Category:{{{1}}}}}}]] | + | | [[:Category:{{{1}}}|{{{2|Category:{{{1}}}}}}]]{{#ifeq:{{Yesno|{{{count|no}}}}}|yes|<small> ( {{PAGESINCAT:{{{1}}}|{{{count_type|ALL}}}}} )</small>}} |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 09:25, 15 January 2015
[[:Category:{{{1}}}|Category:{{{1}}}]] {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}