User:Krinkle/Template:Infobox simple



Usage
{	"params": { "name": { "label": "Name", "description": "Subject of the infobox.", "type": "string", "default": "Current page name" },		"image": { "label": "Image", "description": "Name of a file, e.g. \"Example.jpg\", without \"File:\" prefix.", "type": "wiki-file-name", "suggested": true },		"image_width": { "label": "Image width", "description": "Customize the default image width", "type": "number", "default": "220" },		"image_alt": { "label": "Image alt text", "type": "string", "suggested": true },		"image_caption": { "label": "Image caption", "type": "string", "suggested": true },		"location": { "label": "Location", "type": "content" },		"population": { "label": "Population", "description": "Population of this city as whole number (will be formatted automatically).", "type": "number", "suggested": true },		"bar": { "label": "Bar", "type": "string" },		"foo": { "label": "Foo", "type": "string" },		"quux": { "label": "Quux", "type": "string" },		"website": { "label": "Website", "description": "URL of the official website", "type": "url" }	},	"paramOrder": [ "name", "image", "image_width", "image_alt", "image_caption", "location", "population", "foo", "bar", "quux", "website" ] }

Dependencies

 * Extension:TemplateData (optional) This renders parameter documentation, to ease use in VisualEditor.
 * Extension:TemplateStyles (optional) If you omit this, then copy the contents of User:Krinkle/Template:Infobox simple/style.css to  on your wiki instead, and omit the   line.