Template:Image key/doc

The image key template is intended to help create lists of keys in images. These keys will display in 2 columns. The syntax is trivial: just add the list using the same syntax as Template:Unbulleted list!

Use
Note: This template may be used only within the caption parameter of an image. It won't work in a caption parameter of an infobox.

Prefer the redirect legend-col when this template is being used to support the use of legend.

Parameters

 * list type
 * Defines a list type for the template. Can be one of the values ordered, bulleted, unbulleted (synonym plainlist). An ordered list is numbered, bulleted are basic lists, and unbulleted display nothing (i.e., are "plain lists").


 * 
 * A list item. If there is an equal sign in the list item, add it as the numbered item e.g. list item with equals sign.


 * thumb size
 * Optional.
 * wide Adds a 3rd column. Use only for "wide" images.
 * narrow Removes one column to display 1 column only. Use only for "narrow" images.

Most thumbnails these days use upright, so these are qualitative rather than quantitative directions for use of wide and narrow.

Ordered list
[[File:Insect anatomy diagram.svg|right|upright=1.35|thumb|alt=Diagram of an insect with callouts for morphology|Insect morphology

A: Head, B: Thorax, C: Abdomen ]] [[File:Insect anatomy diagram.svg|right|upright=1.35|thumb|alt=Diagram of an insect with callouts for morphology|Insect morphology

A- Head B- Thorax C- Abdomen

]]

Ordered list, narrow
[[File:Insect anatomy diagram.svg|right|upright=1.35|thumb|alt=Diagram of an insect with callouts for morphology|Insect morphology

A: Head, B: Thorax, C: Abdomen ]] [[File:Insect anatomy diagram.svg|right|upright=1.35|thumb|alt=Diagram of an insect with callouts for morphology|Insect morphology

A- Head B- Thorax C- Abdomen

]]

TemplateData
{	"params": { "1": {			"label": "List element", "description": "Element in the list. Can be infinite elements.", "type": "content", "required": true },		"2": {			"inherits": "1", "required": false },		"3": {			"inherits": "2" },		"4": {			"inherits": "2" },		"5": {			"inherits": "2" },		"6": {			"inherits": "2" },		"7": {			"inherits": "2" },		"8": {			"inherits": "2" },		"9": {			"inherits": "2" },		"10": {			"inherits": "2" },		"list type": { "label": "List type", "description": "Optional kind of list to display. Can be \"ordered\", \"bulleted\", or the default, which is \"unbulleted\".", "type": "string", "required": false, "default": "unbulleted" },		"thumb size": { "label": "Thumb size", "description": "Optional size of the containing thumbnail. \"narrow\" will output only 1 column. \"wide\" will output 3 columns. Default is 2 columns.", "type": "string", "required": false }	},	"description": "Helps create lists of keys in images, especially using columns", "format": "block", "paramOrder": [ "list type", "thumb size", "1",		"2",		"3",		"4",		"5",		"6",		"7",		"8",		"9",		"10"	] }