Template:Depth

From MOASSpedia
Jump to navigation Jump to search

This template shows the depth of Wikipedia section:

  • Usage: {{Depth|en}} → 1240.1
  • Usage: {{Depth|ru}} → 157.2

The required parameter is the code of the Wikipedia section (e.g., "en" for English, "de" for German, etc.).

By default the result is rounded to 1 digit after dot.
Optional second parameter allows to specify another number of digits:

  • Usage: {{Depth|en|0}} → 1240
  • Usage: {{Depth|en|3}} → 1240.135