แม่แบบ:กล่องข้อมูล ตัวละคร/doc

กล่องข้อมูล ตัวละคร ใช้เพื่อสร้างกล่องข้อมูลสำหรับตัวละครสมมติทุกประเภท

**การใช้งาน**
แบบฟอร์มเปล่าด้านล่างจะแสดงฟิลด์ที่ใช้บ่อยที่สุด และคำแนะนำที่สมบูรณ์จะแสดงอยู่ด้านล่างของหน้า

**พารามิเตอร์**
พารามิเตอร์ทั้งหมดเป็นทางเลือก แยกรายการหลายรายการโดยใช้ Plainlist

**ข้อมูลแม่แบบ**
{
	"description": "สร้างกล่องข้อมูลสำหรับตัวละครสมมติทุกประเภท",
	"params": {
		"color": {
			"label": "Color",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on WP:COLOR.",
			"aliases": 
				"colour"
			
		},
		"name": {
			"label": "Name",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Character name to display in top header (default = PAGENAME)."
		},
		"series": {
			"label": "Series",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the series in which the character appears."
		},
		"franchise": {
			"label": "Franchise",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the fictional world or story in which the character appears. Does not italicize title."
		},
		"multiple": {
			"label": "Multiple",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Set to yes if the infobox describes more than one character."
		},
		"image": {
			"label": "Image",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Image of the character. \"File:\" and wikilinking is not required. i.e. use Example.png."
		},
		"image_upright": {
			"label": "Image upright",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px."
		},
		"alt": {
			"label": "Alt",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Alt text for image per WP:MOSALT."
		},
		"caption": {
			"label": "Caption",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "A caption explaining the image."
		},
		"first_major": {
			"label": "First appearance major",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games."
		},
		"first_minor": {
			"label": "First appearance minor",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions."
		},
		"first_issue": {
			"label": "First appearance issue",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The number of the comic book issue the fictional element first appeared in."
		},
		"first_date": {
			"label": "First appearance date",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The date of the publication/release of the minor work where the fictional element first appeared in."
		},
		"last_major": {
			"label": "Last appearance major",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games."
		},
		"last_minor": {
			"label": "Last appearance minor",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions."
		},
		"last_issue": {
			"label": "Last appearance issue",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The number of the comic book issue the fictional element last appeared in."
		},
		"last_date": {
			"label": "Last appearance date",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The date of the publication/release of the minor work where the fictional element last appeared in."
		},
		"first": {
			"label": "First appearance",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "First appearance of the character."
		},
		"firstgame": {
			"label": "First game",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "First appearance in a game of the character."
		},
		"last": {
			"label": "Last appearance",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Last appearance of the character."
		},
		"creator": {
			"label": "Creator",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the individuals who are credited with the creation of the character."
		},
		"based_on": {
			"label": "Based on",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the original character the adaptation is based on. Use  to add the title of original character and the names of the original creators. Use this field in conjunction with adapted_by."
		},
		"adapted_by": {
			"label": "Adapted by",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the individuals who adapted the character into a new medium. Use this field if the character in a medium is based on a character from a different medium, such as a character on television based on a comic book character."
		},
		"designer": {
			"label": "Designer",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the individuals who designed the character."
		},
		"portrayer": {
			"label": "Portrayer",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the individuals who portrayed the character."
		},
		"voice": {
			"label": "Voice actor",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the individuals who voiced the character (if different from portrayer or there is no portrayer)"
		},
		"motion_actor": {
			"label": "Motion actor",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Name of the individuals who portrayed the character in motion capture."
		},
		"lbl1": {
			"label": "Label 1",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Label to display in left column for custom fields under the 1st header."
		},
		"data1": {
			"label": "Data 1",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Text to display in the right column corresponding to lbl1."
		},
		"lbl2": {
			"label": "Label 2",
			"inherits": "lbl1"
		},
		"data2": {
			"label": "Data 2",
			"description": "Text to display in the right column corresponding to lbl2.",
			"inherits": "data1"
		},
		"lbl3": {
			"label": "Label 3",
			"inherits": "lbl1"
		},
		"data3": {
			"label": "Data 3",
			"description": "Text to display in the right column corresponding to lbl3.",
			"inherits": "data1"
		},
		"lbl4": {
			"label": "Label 4",
			"inherits": "lbl1"
		},
		"data4": {
			"label": "Data 4",
			"description": "Text to display in the right column corresponding to lbl4.",
			"inherits": "data1"
		},
		"lbl5": {
			"label": "Label 5",
			"inherits": "lbl1"
		},
		"data5": {
			"label": "Data 5",
			"description": "Text to display in the right column corresponding to lbl5.",
			"inherits": "data1"
		},
		"noinfo": {
			"label": "Disable second header",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Disable the first \"In-universe information\" header."
		},
		"info-hdr": {
			"label": "Second header text",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Text for display in second header (default = Information)."
		},
		"full_name": {
			"label": "Full name",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's full name."
		},
		"nickname": {
			"label": "Nickname",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "A nickname used by the character. If there is more than one nickname, use nicknames and separate multiple entries using Plainlist."
		},
		"nicknames": {
			"label": "Nicknames",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Any nicknames used by the character. If there is only one nickname, use nickname."
		},
		"alias": {
			"label": "Alias",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "An alias used by the character. If there is more than one alias, use aliases and separate multiple entries using Plainlist."
		},
		"aliases": {
			"label": "Alias",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Any aliases used by the character. If there is only one alias, use alias."
		},
		"species": {
			"label": "Species",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The species of the character. Use for non-human characters only."
		},
		"race": {
			"label": "Race",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The race of the character. Use for non-human characters only."
		},
		"gender": {
			"label": "Gender",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The gender of the character. Use only if not obvious."
		},
		"title": {
			"label": "Title",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Titles the character was known by."
		},
		"occupation": {
			"label": "Occupation",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's job or role."
		},
		"position": {
			"label": "Position",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's job or role."
		},
		"class": {
			"label": "Class",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character class for RPG characters."
		},
		"affiliation": {
			"label": "Affiliation",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The groups or teams the character belongs to."
		},
		"alignment": {
			"label": "Alignment",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's Dungeons & Dragons alignment."
		},
		"fighting_style": {
			"label": "Fighting style",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The primary fighting styles used by the character."
		},
		"weapon": {
			"label": "Weapon",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The types of weapons the character uses."
		},
		"family": {
			"label": "Family",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's family members."
		},
		"spouse": {
			"label": "Spouse",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's spouses."
		},
		"spouses": {
			"label": "Spouses",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's spouses."
		},
		"significant_other": {
			"label": "Significant other",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's significant others. If there is more than one significant_other, use significant_others and separate multiple entries using Plainlist."
		},
		"significant_others": {
			"label": "Significant others",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's significant others. If there is only one significant_other, use significant_other."
		},
		"children": {
			"label": "Children",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The characters's children"
		},
		"relatives": {
			"label": "Relatives",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The characters's relatives"
		},
		"religion": {
			"label": "Religion",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's religion"
		},
		"origin": {
			"label": "Origin",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's place of origin."
		},
		"home": {
			"label": "Home",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's place of origin."
		},
		"nationality": {
			"label": "Nationality",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "The character's nationality."
		},
		"lbl21": {
			"label": "Label 21",
			"description": "Label to display in left column for custom fields under the 2nd header.",
			"inherits": "lbl1"
		},
		"data21": {
			"label": "Data 21",
			"description": "Text to display in the right column corresponding to lbl21.",
			"inherits": "data1"
		},
		"lbl22": {
			"label": "Label 22",
			"inherits": "lbl21"
		},
		"data22": {
			"label": "Data 22",
			"description": "Text to display in the right column corresponding to lbl22.",
			"inherits": "data1"
		},
		"lbl23": {
			"label": "Label 23",
			"inherits": "lbl21"
		},
		"data23": {
			"label": "Data 23",
			"description": "Text to display in the right column corresponding to lbl23.",
			"inherits": "data1"
		},
		"lbl24": {
			"label": "Label 24",
			"inherits": "lbl21"
		},
		"data24": {
			"label": "Data 24",
			"description": "Text to display in the right column corresponding to lbl24.",
			"inherits": "data1"
		},
		"lbl25": {
			"label": "Label 25",
			"inherits": "lbl21"
		},
		"data25": {
			"label": "Data 25",
			"description": "Text to display in the right column corresponding to lbl25.",
			"inherits": "data1"
		},
		"extra-hdr": {
			"label": "Third header text",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Text for display in third header (default = No third header)."
		},
		"lbl31": {
			"label": "Label 31",
			"description": "Label to display in left column for custom fields under the 3rd header.",
			"inherits": "lbl22"
		},
		"data31": {
			"label": "Data 31",
			"description": "Text to display in the right column corresponding to lbl31.",
			"inherits": "data1"
		},
		"lbl32": {
			"label": "Label 32",
			"inherits": "lbl31"
		},
		"data32": {
			"label": "Data 32",
			"description": "Text to display in the right column corresponding to lbl32.",
			"inherits": "data1"
		},
		"lbl33": {
			"label": "Label 33",
			"inherits": "lbl31"
		},
		"data33": {
			"label": "Data 33",
			"description": "Text to display in the right column corresponding to lbl33.",
			"inherits": "data1"
		},
		"lbl34": {
			"label": "Label 34",
			"inherits": "lbl31"
		},
		"data34": {
			"label": "Data 34",
			"description": "Text to display in the right column corresponding to lbl34.",
			"inherits": "data1"
		},
		"lbl35": {
			"label": "Label 35",
			"inherits": "lbl31"
		},
		"data35": {
			"label": "Data 35",
			"description": "Text to display in the right column corresponding to lbl35.",
			"inherits": "data1"
		}
	},
	"format": "block"
}

**พารามิเตอร์ทั้งหมด (ไม่ใช่สำหรับการใช้งานทั่วไป)**

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

**หมวดหมู่ติดตาม**
 หน้าที่ใช้กล่องข้อมูลตัวละครที่มีพารามิเตอร์ที่ไม่รู้จัก- Articles using Infobox character with multiple unlabeled fields- Articles using infoboxes for fictional elements with invalid color combination

**การรับรองแม่แบบ**
 Greater color contrast ratio- Ensure AAA contrast ratio

**ดูเพิ่ม**
 กล่องข้อมูล ชีวประวัติ