×
Namespaces

Variants
Actions

Template:ArticleCountByCategory

From Nokia Developer Wiki
Jump to: navigation, search
Internal use only.

Underconstruction.pngUnder Construction: This article is under construction and it may have outstanding issues. If you have any comments please use the comments tab.

Gets the number of articles in the specified categorie(s). This should be used instead of ({{#ARTICLECOUNTBYCATEGORY:category}} where the count is required for multiple categories or category intersections.

Note that there is currently a defect in DPL that the maximum count is 500.

Usage

{{ArticleCountByCategory|category name}}

where category name is any category. Other parameters may be passed as pipe separated values

  • Un named parameters: Up to 7 un-named parameters are treated as additional categories included in the search (ie the union of all topics in all categories specified as unnamed parameters will be part of the results set)
  • language: The category of the specific language returned values are to be restricted to. If no language is specified then English topics will be returned
  • andcategory (and andcategory2): Topics returned will be in the intersection of unnamed parameters and categories specified in andcategory and andcategory2

Default value

The default count includes recently edited English topics in any category.

500

This page was last modified on 1 March 2011, at 04:02.
55 page views in the last 30 days.
×