Difference between revisions of "MediaWiki:Categorytree-member-num/ku-latn"

From translatewiki.net
Jump to navigation Jump to search
Line 1: Line 1:
($2 R, $3 W, $1 D)
($2 R, $3 D, $1 K)

Revision as of 20:19, 15 June 2011

Information about message (contribute)

Note Translators: Don't translate this message.

However, if needed, you can localise the parentheses.

(From https://www.mediawiki.org/wiki/Extension:CategoryTree#categorytree-member-num): By default, when listing subcategories on a category page, each subcategory is followed by an integer indicating how many subcategories lie beneath it:

My category name (5)

You can change this behavior by overriding this system message. Parameters:

  • $1 - (Unused) number of subcategories
  • $2 - (Unused) number of articles (not including category pages or file pages)
  • $3 - (Unused) number of uploaded files
  • $4 - (Unused) total number of member pages, including category pages and file pages
  • $5 - (Varies depending on CategoryTree mode....Can someone describe it?)

Tip: Use the ParserFunctions extension (https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions) to provide if/then/else logic to display different parts conditionally. For example:

{{#ifeq:$1|0||$1 categories}}
Message definition (Category Tree)
Translation($2 R, $3 D, $1 K)

($2 R, $3 D, $1 K)