แม่แบบ:กล่องข้อมูล วิดีโอเกม/doc

This is an infobox for video games. It is capable of pulling values from Wikidata when fields are omitted. (See WP:VG/WD for a guide to editing Wikidata.) To prevent Wikidata from pulling data for a field, use the parameter in the template but leave its contents blank.

**การใช้งาน**
Add the following credit fields for lead developers who worked on the game (please read inclusion notes below):
director = 
producer = 
designer = 
programmer = 
artist = 
writer = 
composer = 
All fields are optional. See talk page for examples and standards.

**Full syntax**

**การแก้ไขแม่แบบ**
Note: In the following, plurals such as "developers", "publishers", "artists", etc do not exclude the singular (i.e. "artists", for example, implies "artist or artists"). Similarly, with the credit fields, individual development tasks for one field (e.g. which artists designed characters and which designed concept art; or which writers created story lines and which wrote scripts) should not be mentioned in the infobox but in the article text instead. Individual tasks should be generally kept to prose and the field should only list key people. For example, the distinction between story and script writers of The Legend of Zelda: Twilight Princess is mentioned in the article's development section.

**ข้อมูลแม่แบบ**
{
	"description": "A template to generate an infobox for a video game.",
	"params": {
		"title": {
			"label": "Title",
			"description": "Title of the game. If not specified the 'name' parameter or the PAGENAME are used. It should be plain text, do not include a wikilink, hyperlink or image in this parameter.",
			"type": "string/line",
			"required": false
		},
		"collapsible": {
			"label": "Collapsible",
			"description": "Whether this screenshot is hidden by default, set to 'yes' to place the screenshot in a collapsible section",
			"type": "string/line",
			"required": false
		},
		"state": {
			"label": "State",
			"description": "Determines the initial collapsed state of the infobox. Set collapsed to put the box in collapsed state initially. Set expanded to put the box in expanded state initially. Set autocollapse to have the box's initial collapsed state be determined automatically based on the number of other templates in the article that also have the \"collapsible\" attribute. (Has no effect if collapsible is not used.)",
			"type": "string",
			"default": "autocollapse",
			"required": false
		},
		"image": {
			"label": "Image",
			"description": "File name for a screenshot of the image, e.g. 'GIMP screenshot.png'",
			"type": "wiki-file-name",
			"required": false
		},
		"border": {
			"label": "Border",
			"description": "Add a border around the image",
			"type": "string",
			"example": "yes"
		},
		"caption": {
			"label": "Caption",
			"description": "A short description of the image.",
			"type": "string",
			"required": false
		},
		"developer": {
			"label": "Developer",
			"description": "The popular name(s) of the game developer(s), if confirmed by primary sources.",
			"type": "string",
			"required": false
		},
		"publisher": {
			"label": "Publisher",
			"description": "The popular name(s) of the video game publisher(s), if confirmed by primary sources.",
			"type": "string",
			"required": false
		},
		"series": {
			"label": "Series",
			"description": "The video game series the game is associated with. Only use this field if there is an article for the series. Wikilink and italicize the name(s) (such as Halo).",
			"type": "string",
			"required": false
		},
		"engine": {
			"label": "Engine",
			"description": "The game's engine",
			"type": "string",
			"required": false
		},
		"platforms": {
			"label": "Platforms",
			"description": "The unabbreviated console or operating system family the game was specifically developed or officially announced (if not canceled) for. This includes dedicated ports, but not games in emulation or services. See documentation for examples.",
			"type": "string",
			"required": false
		},
		"released": {
			"label": "Released",
			"description": "Release date. If possible, use the game's exact release date. Example: November 3, 2013.",
			"type": "string",
			"required": false
		},
		"genre": {
			"label": "Genre",
			"description": "The genre of the game, such as first-person shooter, adventure, etc.",
			"type": "string",
			"required": false
		},
		"modes": {
			"label": "Modes",
			"type": "string",
			"required": false,
			"description": "Playing modes offered by the game. Currently, the only accepted values are single-player, multiplayer, or both."
		},
		"arcade system": {
			"label": "Arcade system",
			"type": "string",
			"required": false
		},
		"Note": {
			"label": "Note",
			"type": "string",
			"required": false
		},
		"director": {
			"label": "Director",
			"type": "string",
			"required": false,
			"description": "The popular names of the game directors or creative directors who oversaw the creative development of the game. The names can be wikilinked."
		},
		"producer": {
			"label": "Producer",
			"type": "string",
			"required": false,
			"description": "The popular names of the game producers in overall charge of the production of the game. The names can be wikilinked."
		},
		"designer": {
			"label": "Designer",
			"type": "string",
			"required": false,
			"description": "The popular names of the game designers, i.e. people who worked on the game's system. The names can be wikilinked. This field is often unfilled in modern high-budget development due to large team sizes and collaboration. Older games and indie games are more likely to use this position."
		},
		"programmer": {
			"label": "Programmer",
			"type": "string",
			"required": false,
			"description": "The popular names of the game programmers. The names can be wikilinked. This field is often unfilled in modern high-budget development due to large team sizes and collaboration. Older games and indie games are more likely to use this position."
		},
		"artist": {
			"label": "Artist",
			"type": "string",
			"required": false,
			"description": "The popular names of the game's artists. The names can be wikilinked."
		},
		"writer": {
			"label": "Writer",
			"type": "string",
			"required": false,
			"description": "The popular names of the game's writers. The names can wikilinked. The writers should be listed in the order of their contribution, with those who wrote the game's scenarios/scripts listed before the game's story writers."
		},
		"composer": {
			"label": "Composer",
			"type": "string",
			"required": false,
			"description": "The popular names of the composers who worked on the game's music."
		},
		"fetchwikidata": {
			"label": "fetchwikidata"
		},
		"suppressfields": {
			"label": "suppressfields"
		},
		"onlysourced": {
			"label": "onlysourced"
		},
		"qid": {
			"label": "qid"
		},
		"refs": {
			"label": "refs"
		},
		"noicon": {
			"label": "noicon"
		},
		"alt": {
			"label": "alt"
		}
	},
	"format": "block"
}

**หมวดหมู่ติดตาม**
 Articles using Infobox video game using locally defined parameters- หน้าที่ใช้กล่องข้อมูลวิดีโอเกมที่มีพารามิเตอร์ที่ไม่รู้จัก

**ดูเพิ่ม**
 Infobox video game series for video game franchises and series.- Infobox software for general software.- WP:IB - list of infoboxes

**หมายเหตุ ==