Difference between revisions of "Template:Dated maintenance category count/doc"
Jump to navigation
Jump to search
imported>Davidwr (initial documentation, moving category from Template:Dated maintenance category count to here per convention) |
imported>Davidwr (→Usage: improve documentation) |
||
| Line 2: | Line 2: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
== Usage == | == Usage == | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>''Dated maintenance category''<nowiki>}}</nowiki></code> | ||
| − | + | Returns the total number of members of <code>'''<nowiki>[[Category:</nowiki>''Dated maintenance category''<nowiki>]]</nowiki>'''</code> plus the total number of members of each of the dated monthly categories going back 5 years. | |
| + | |||
| + | ''Dated maintenance category'' is a parent category whose sub-categories have names in the form <code>'''<nowiki>[[Category:</nowiki>''Dated maintenance category'' from ''Month'' ''YEAR''<nowiki>]]</nowiki>'''</code>. | ||
| Line 15: | Line 18: | ||
| − | ; | + | ;Dependencies and limitations: |
| − | * [[Template:dated maintenance category count line]] | + | * Makes 60 calls to [[Template:dated maintenance category count line]] |
| − | + | * <code><nowiki>{{dated maintenance category count line|</nowiki>''Dated maintenance category''<nowiki>|</nowiki>''number of months ago''<nowiki>}}</nowiki></code> | |
| − | + | : resulting in 61 calls to the [[WP:EXPENSIVE|expensive parser function]] <code><nowiki>{{PAGESINCATEGORY:}}</nowiki></code>. | |
| − | + | : Wikipedia limits pages to 500 expensive parser function calls. | |
| − | * | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 00:49, 6 September 2020
| This is a documentation subpage for Template:Dated maintenance category count. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Dated maintenance category count|Dated maintenance category}}
Returns the total number of members of [[Category:Dated maintenance category]] plus the total number of members of each of the dated monthly categories going back 5 years.
Dated maintenance category is a parent category whose sub-categories have names in the form [[Category:Dated maintenance category from Month YEAR]].
- Example
- As of January 2026,
{{dated maintenance category count|BLP articles lacking sources}}returns 0
- Used by
- Template:Backlog status
- Template:Raw backlog status believed to be unused as of September 2020
- Dependencies and limitations
- Makes 60 calls to Template:dated maintenance category count line
{{dated maintenance category count line|Dated maintenance category|number of months ago}}
- resulting in 61 calls to the expensive parser function
{{PAGESINCATEGORY:}}. - Wikipedia limits pages to 500 expensive parser function calls.