Module:zh/data/dial/documentation

This module holds information used by Module:zh-dial-syn (backend for ) and Module:zh-dial-map (backend for ).

Required values
Every entry (dialectal location or register) in the table must contain the following properties:

The key value used in the data modules. These should be unique.


 * The group to which the dialectal location belongs.
 * Allowed values:
 * Mandarin, Cantonese, Hakka, Huizhou, Gan, Jin, Jiuxing Yumin, Northern Min, Eastern Min, Southern Min, Puxian Min, Central Min, Shaojiang Min, Zhongshan Min, Southern Pinghua, Northern Pinghua, Waxiang, Wu, Xiang, Xiangnan Tuhua, Yuebei Tuhua
 * Special values (not to be used by a variety):
 * Classical, Formal, Taxonomic
 * Classical, Formal, Taxonomic

In addition, the following properties are required for a dialectal location:


 * The Chinese name of the location.
 * The Chinese name of the location.


 * The latitude and longitude of the location.
 * The latitude and longitude of the location.

Optional values
The following values are optional:


 * The English name of the location. Defaults to the entry key.
 * The English name of the location. Defaults to the entry key.


 * The Wikipedia link for the location/variety. Defaults to  (if present), else the entry key.
 * The Wikipedia link for the location/variety. Defaults to  (if present), else the entry key.

Naming conventions
All dialectal locations in Mainland China are assumed to be the county- or prefecture-level seat unless otherwise specified. Place names should be converted to the current administrative division rather than the division at the time of fieldwork/documentation. Names also should be at the county level unless the location is part of the urban area (i.e. in an urban district) or no county level exists for the given prefecture-level division. All levels below the county level should be specified in brackets only when needed (i.e. when the location in question is not the county-/prefecture-level seat).