ข้ามไปเนื้อหา

มอดูล:languages/data/2/extra/documentation

จาก วิกิพจนานุกรม พจนานุกรมเสรี

นี่คือหน้าเอกสารการใช้งานสำหรับ มอดูล:languages/data/2/extra

This module contains definitions and metadata for two-letter language codes. See Wiktionary:Languages for more information.

This module must not be used directly in other modules or templates. The data should be accessed through Module:languages. For the corresponding main data, see Module:languages/data/2/extra.

The following errors were detected by Module:data consistency check:

  • The data key preprocess_links for Hacked Thai (th-new) is invalid.

All values are optional.

aliases
A list of aliases/synonyms for the language, other than the canonical name.
varieties
A table of language varieties that are subsumed under the language. This should not in general include those language varieties for which separate etymology language codes have been assigned (e.g. Late Latin, Vulgar Latin and Medieval Latin for Latin; Auvergnat, Gascon, Lengadocian, Limousin, Provençal and Vivaro-Alpine for Occitan). If a given variety has several names, they can all be listed by including a sublist in the overall list, where the first element is the canonical name that you want the variety to be known by, and the remainder are aliases. For example, Azerbaijani lists the following under varieties:
	{"North Azerbaijani", "South Azerbaijani",
		{"Afshar", "Afshari", "Afshar Azerbaijani", "Afchar"},
		{"Qashqa'i", "Qashqai", "Kashkay"},
		"Sonqor"
	}

Here, the Afshar variety has three aliases specified (Afshari, Afshar Azerbaijani, and Afchar) while the Qashqa'i variety has two aliases specified (Qashqai and Kashkay), and the Songor, North Azerbaijani and South Azerbaijani varieties have no aliases listed. Note that, as here, varieties at different levels of specificity can be given in the same list.

In some cases varieties should instead be added to Module:etymology languages/data, with the language as the parent value, so that they can be referred to in etymologies.

otherNames (deprecated)
A table of all non-canonical names that this language is known by, including both synonyms and language varieties. This should not be used in new languages, and existing languages should have the entries in this list moved into either aliases or varieties.