แม่แบบ:กล่องข้อมูล กลุ่มชาติพันธุ์/doc

== วากยสัมพันธ์**

**การใช้งานพื้นฐาน**

**การใช้งานที่มีรายละเอียดประชากรต่อภูมิภาค**

**ตัวอย่าง**

**พารามิเตอร์**
พารามิเตอร์ทั้งหมดเป็นทางเลือก ยกเว้น group

**Example use of flag and image parameters**
flag          = Flag of the Basque Country.svg
flag_caption  = The Ikurriña, flag of the Basque Country
flag_alt      = The Ikurriña, flag of the Basque Country
image         = ZuluWarriors.jpg
image_caption = Zulu warriors (late nineteenth century)
image_alt     = Zulu warriors (late nineteenth century)

**Microformat**

**ข้อมูลแม่แบบ**
{
	"description": "แม่แบบกล่องข้อมูลสำหรับกลุ่มชาติพันธุ์",
	"format": " ________________ = _\n\n",
	"params": {
		"group": {
			"label": "Name",
			"description": "The name of the ethnic group. Defaults to the page name if empty.",
			"type": "string",
			"example": "Armenians",
			"default": "",
			"suggested": true
		},
		"native_name": {
			"label": "Native name",
			"description": "The name of the ethnic group in the local language. If there is more than one, enter each using the following templates:  etc.}}.",
			"type": "content",
			"suggested": true
		},
		"native_name_lang": {
			"label": "Native name language code",
			"description": "ISO 639-2 code (e.g., \"fr\" for French) for the language of the native name, if there is only one. If there is more than one, use just the \"Native name\" parameter instead, following the instructions there.",
			"type": "line",
			"example": "fr",
			"suggested": true
		},
		"flag": {
			"label": "Flag",
			"description": "A flag for the ethnic group",
			"type": "wiki-file-name"
		},
		"flag_caption": {
			"label": "Flag caption",
			"description": "A caption for the flag",
			"type": "string"
		},
		"rawimage": {
			"label": "raw image",
			"type": "wiki-file-name"
		},
		"image": {
			"label": "Image",
			"type": "wiki-file-name"
		},
		"image_caption": {
			"aliases": 
				"caption"
			,
			"label": "image caption"
		},
		"population": {
			"aliases": 
				"pop",
				"total",
				"total1"
			,
			"label": "Population",
			"type": "number"
		},
		"total_ref": {},
		"genealogy": {
			"label": "Ethnic population",
			"description": "Population including ancestral descent",
			"type": "number"
		},
		"total_year": {},
		"total_source": {
			"label": "Population source",
			"description": "\"census\" or \"estimate\"",
			"example": "census",
			"type": "string"
		},
		"total1_year": {},
		"total1_source": {},
		"total1_ref": {},
		"total2_year": {},
		"total2_source": {},
		"total2": {},
		"total2_ref": {},
		"total3_year": {},
		"total3_source": {},
		"total3": {},
		"total3_ref": {},
		"popplace": {},
		"regions": {},
		"region1": {},
		"tablehdr": {},
		"pop_embed": {},
		"pop1": {},
		"ref1": {},
		"region2": {},
		"pop2": {},
		"ref2": {},
		"region3": {},
		"pop3": {},
		"ref3": {},
		"region4": {},
		"pop4": {},
		"ref4": {},
		"region5": {},
		"pop5": {},
		"ref5": {},
		"region6": {},
		"pop6": {},
		"ref6": {},
		"region7": {},
		"pop7": {},
		"ref7": {},
		"region8": {},
		"pop8": {},
		"ref8": {},
		"region9": {},
		"pop9": {},
		"ref9": {},
		"region10": {},
		"pop10": {},
		"ref10": {},
		"region11": {},
		"pop11": {},
		"ref11": {},
		"region12": {},
		"pop12": {},
		"ref12": {},
		"region13": {},
		"pop13": {},
		"ref13": {},
		"region14": {},
		"pop14": {},
		"ref14": {},
		"region15": {},
		"pop15": {},
		"ref15": {},
		"region16": {},
		"pop16": {},
		"ref16": {},
		"region17": {},
		"pop17": {},
		"ref17": {},
		"region18": {},
		"pop18": {},
		"ref18": {},
		"region19": {},
		"pop19": {},
		"ref19": {},
		"region20": {},
		"pop20": {},
		"ref20": {},
		"region21": {},
		"pop21": {},
		"ref21": {},
		"region22": {},
		"pop22": {},
		"ref22": {},
		"region23": {},
		"pop23": {},
		"ref23": {},
		"region24": {},
		"pop24": {},
		"ref24": {},
		"region25": {},
		"pop25": {},
		"ref25": {},
		"region26": {},
		"pop26": {},
		"ref26": {},
		"region27": {},
		"pop27": {},
		"ref27": {},
		"region28": {},
		"pop28": {},
		"ref28": {},
		"region29": {},
		"pop29": {},
		"ref29": {},
		"region30": {},
		"pop30": {},
		"ref30": {},
		"region31": {},
		"pop31": {},
		"ref31": {},
		"region32": {},
		"pop32": {},
		"ref32": {},
		"languages": {
			"aliases": 
				"langs"
			,
			"label": "Languages",
			"type": "string",
			"example": "American English, Hebrew, Yiddish, minority Ladino",
			"suggested": true
		},
		"religions": {
			"aliases": 
				"rels"
			,
			"label": "Religions",
			"description": "Religions associated with the ethnic group",
			"type": "content",
			"example": "Christianity  (Roman Catholicism and Protestantism), minority Judaism and Buddhism",
			"suggested": true
		},
		"related_groups": {
			"aliases": 
				"related"
			,
			"label": "Related ethnic groups",
			"description": "Ethnic groups related to this group",
			"type": "content",
			"example": "Americans, Canadians, Han Chinese",
			"suggested": true
		},
		"related-c": {},
		"footnotes": {},
		"ref33": {},
		"region33": {},
		"pop33": {},
		"image_alt": {},
		"flag_alt": {}
	},
	"paramOrder": 
		"group",
		"native_name",
		"native_name_lang",
		"flag",
		"flag_caption",
		"flag_alt",
		"rawimage",
		"image",
		"image_caption",
		"image_alt",
		"population",
		"total_ref",
		"genealogy",
		"total_year",
		"total_source",
		"total1_year",
		"total1_source",
		"total1_ref",
		"total2_year",
		"total2_source",
		"total2",
		"total2_ref",
		"total3_year",
		"total3_source",
		"total3",
		"total3_ref",
		"popplace",
		"regions",
		"region1",
		"tablehdr",
		"pop_embed",
		"pop1",
		"ref1",
		"region2",
		"pop2",
		"ref2",
		"region3",
		"pop3",
		"ref3",
		"region4",
		"pop4",
		"ref4",
		"region5",
		"pop5",
		"ref5",
		"region6",
		"pop6",
		"ref6",
		"region7",
		"pop7",
		"ref7",
		"region8",
		"pop8",
		"ref8",
		"region9",
		"pop9",
		"ref9",
		"region10",
		"pop10",
		"ref10",
		"region11",
		"pop11",
		"ref11",
		"region12",
		"pop12",
		"ref12",
		"region13",
		"pop13",
		"ref13",
		"region14",
		"pop14",
		"ref14",
		"region15",
		"pop15",
		"ref15",
		"region16",
		"pop16",
		"ref16",
		"region17",
		"pop17",
		"ref17",
		"region18",
		"pop18",
		"ref18",
		"region19",
		"pop19",
		"ref19",
		"region20",
		"pop20",
		"ref20",
		"region21",
		"pop21",
		"ref21",
		"region22",
		"pop22",
		"ref22",
		"region23",
		"pop23",
		"ref23",
		"region24",
		"pop24",
		"ref24",
		"region25",
		"pop25",
		"ref25",
		"region26",
		"pop26",
		"ref26",
		"region27",
		"pop27",
		"ref27",
		"region28",
		"pop28",
		"ref28",
		"region29",
		"pop29",
		"ref29",
		"region30",
		"pop30",
		"ref30",
		"region31",
		"pop31",
		"ref31",
		"region32",
		"pop32",
		"ref32",
		"region33",
		"pop33",
		"ref33",
		"languages",
		"religions",
		"related_groups",
		"related-c",
		"footnotes"
	
}

**หมวดหมู่ติดตาม**
 "กลุ่มชาติพันธุ์ที่เกี่ยวข้อง" ต้องการการยืนยัน- หน้าที่ใช้กล่องข้อมูลกลุ่มชาติพันธุ์ที่มีพารามิเตอร์ที่ไม่รู้จัก- บทความที่ใช้กล่องข้อมูลกลุ่มชาติพันธุ์ที่มีพารามิเตอร์รูปภาพ- บทความที่ใช้แม่แบบ:กล่องข้อมูลกลุ่มชาติพันธุ์ที่มีพารามิเตอร์เลิกใช้แล้ว

**ดูเพิ่ม**
 Infobox caste- Infobox clan- Infobox religious group- Infobox tribe- Wikipedia:WikiProject Ethnic groups/Template