Template:Checked time unit/doc

From Guild of Archivists
< Template:Checked time unit
Revision as of 07:47, 29 November 2024 by Pharap (talk | contribs) (Create documentation page for 'Checked time unit' template using TemplateData.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template that produces an error message if a value is beyond a specified range. It is intended to be used for implementing various range-checked time unit templates, and its error messages reflect this through the use of 'ordinal' as a named parameter in the error messages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Ordinal1 ordinal

The value to be kept in range.

Numberrequired
Minimum2 minimum

The minimum of the inclusive range.

Numberrequired
Maximum3 maximum

The maximum of the inclusive range.

Numberrequired