Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Template:ArticleCountByCategory

From 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 01:02.
68 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×