Template:Depth

Da Meta.

0

Template documentation

This template shows the depth of a linguistic edition of Wikipedia. It computes:

  • edits / pages * (pages / articles - 1)^2,
  • or 0 when there are no articles (including the case with no pages at all),

and rounds it by default to 0 digits after the decimal dot. In all cases, the result is formatted using ASCII digits, without thousands separators.

Utilizzo
  • The required first parameter is the wiki code of the linguistic edition, i.e. the first label in its canonical domain name (e.g., "en" for English, "de" for German, etc.), Note that, for now, redirected aliases are not supported.
  • The optional second parameter allows to specify another number of decimals (instead of 0 by default) to round the result after the dot separator.
Examples
  • {{Depth|en}} → 1249
  • {{Depth|ru}} → 158
  • {{Depth|en|1}} → 1249.2
  • {{Depth|en|3}} → 1249.18
See also