Manual:Pywikibot/templatecount.py/zh

templatecount.py is a script used to display the list of pages transcluding a given list of templates.

It can also be used to simply count the number of pages (rather than listing each individually).

语法：

命令行选项：

Examples
Imagine you wanted to find out how often the templates reflist, quote and tl were used on your wiki, across all namespaces. You didn't care about where they were used, just how many times. You'd then type:

Counts how many times ref and note are transcluded in articles:

Lists all the category pages that transclude cfd and cfdu: