This is a documentation subpage for Template:Evaluate sample size.
It contains usage information, categories and other content that is not part of the original template page.

This template is primarily used for statistical samples within the WikiProject Statistics and evaluates a given sample size as ok/warning/critical according to predefined or custom threshold values. It uses {{Icon status}} to display a green/yellow/red icon which links to Sample.

Usage

{{Evaluate sample size
  | sample size
  | excellent
  | good
  | acceptable
  | category =
  | size =
  | notext =
}}

Parameters

sample size

  • Required. The number to evaluate. Can be provided with or without thousands separators.

excellent

  • Optional. If sample size is >= excellent, the result is "excellent".
  • Defaults to {{sample size|excellent}} = 1,000 if omitted.

good

  • Optional. If sample size is >= good, the result is "good".
  • Defaults to {{sample size|good}} = 600 if omitted.

acceptable

  • Optional.
  • If sample size is >= acceptable, but < good, the result is "acceptable".
  • If sample size is < acceptable, the result is "critical".
  • Defaults to {{sample size|acceptable}} = 200 if omitted.

category

size

  • Optional. Image size like in [[File:]] tags. Defaults to x15px.

notext

  • Optional. If set to 1 or yes, the icon is displayed without text. Defaults to no.

Examples

See also


Community content is available under CC-BY-SA unless otherwise noted.