Template:Infobox Settlement/pref/doc

This is a subtemplate of Infobox settlement. It is not intended to be used directly. It is called by the following templates:

Its purpose is to determine whether those templates call one of the subtemplates that displays metric units first (the default): or one of the subtemplates that displays imperial units (U.S. units) first: or the following subtemplates if an area is specified in dunams:

Usage
The template handles up to three unnamed parameters.
 * 1) Text which specifies preference to display either metric or Imperial units first. It is specified as   in, then passed as   to one of three display subtemplates.
 * 2) Country name, used to determine preferene when not given in first parameter. It is specified as   in, then passed as   to one of three display subtemplates.
 * 3) The third parameter is only specified by the   subtemplate, which passes the text.

The default is to display metric units first, so the template only checks these parameters for values that would indicate the need to display non-metric units first:
 * 1) if this template is called by the   subtemplate, then it also checks parameter #1 for   (after converting it to lowercase)
 * 1) if this template is called by the   subtemplate, then it also checks parameter #1 for   (after converting it to lowercase)
 * 1) if this template is called by the   subtemplate, then it also checks parameter #1 for   (after converting it to lowercase)