Template:Infobox class/doc

This template is used for pages with info about API classes.

Parameters

 * name
 * The name of the class. It should be specified only if the article name is different from the name of the class.


 * image
 * This parameter can be used to add an image to the infobox by specifying the name of the file uploaded to the wiki.


 * class category
 * The . Retrieved automatically from the ReflectionMetadata file if not provided, but must be provided manually for removed classes.


 * added in
 * The version in which the class was first added to the API, if it is known.


 * removed in
 * For classes that are not in the API anymore, this should be the version in which they were removed. If this parameter is specified, the article will be added to Category:Removed classes. If a class was removed temporarily but added back afterward and is still in the API, this parameter should not be specified (but the temporary removal should be mentioned in the article).


 * explorer order
 * This is the of the class. It can be found from the ReflectionMetadata file. It is usually added automatically, but must be provided manually for removed classes.


 * memory category
 * The memory category of the class. This is usually retrieved from the API dump automatically, but should be provided manually for removed classes.


 * preferred parent
 * This is the of the class. Like the explorer order, it can be found in the ReflectionMetadata.xml file.

TemplateData
{	"params": { "name": { "label": "Class name", "description": "Name of the class", "example": "Backpack", "type": "line", "suggested": true },		"image": { "label": "Image name", "description": "An image for the infobox; galleries of multiple images are also supported", "type": "wiki-file-name" },		"class category": { "label": "Class category", "description": "Category the class is organized into", "example": "GUI", "type": "line" },		"added in": { "label": "Added in", "description": "Version the class was first added to the API", "example": "237", "type": "line", "suggested": true },		"removed in": { "label": "Removed in", "description": "Version the class was removed", "example": "285", "type": "line" },		"explorer order": { "label": "Explorer order", "description": "Order determining how the class is sorted in the explorer compared to other classes", "example": "110", "type": "number" },		"memory category": { "label": "Memory category", "description": "Memory category for the class from the API dump", "example": "PhysicsParts", "type": "line" },		"preferred parent": { "label": "Preferred parent", "description": "Preferred parent for the class", "example": "Workspace", "type": "line" }	},	"description": "An infobox for an article about a class", "format": "block" }