Template:Infobox product/doc

From Omniversalis

Usage[edit]

This template can draw data from Wikidata, assuming it is defined there. Simply use {{Infobox product}}. You may also set values manually:

{{{title}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Type {{{type}}}
Inventor {{{inventor}}}
Inception {{{inception}}}
Manufacturer {{{manufacturer}}}
Available {{{available}}}
Current supplier {{{current supplier}}}
Last production year {{{last production}}}
Models made {{{models}}}
Slogan {{{slogan}}}
Website {{{website}}}
Notes
{{{notes}}}

Example[edit]

Reason washing machine
Type Washing machine
Inventor Andrew Reason
Inception 2009 (2009)
Manufacturer Reason company
Available Available
Current supplier Reason
Models made Ultra, Super
{{Infobox product
| title            = Reason washing machine
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| type             = [[Washing machine]]
| inventor         = [[Andrew Reason]]
| inception        = {{start date|2009}}
| manufacturer     = Reason company
| available        = Available
| current supplier = Reason
| last production  = 
| models           = Ultra, Super
| website          = 
| notes            = 
}}

Microformats[edit]

Template:UF-hprod

See also[edit]

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox product

<templatedata> { "params": { "title": { "label": "Title", "description": "The title of the product stated in the article or what the article is covering.", "example": "Reason washing machine", "type": "string", "autovalue": "" }, "image": { "label": "Image", "description": "The image that reveals the product stated. Make sure that it is a valued image, as image that are deleted will not show.", "example": "example.jpg", "type": "wiki-file-name", "suggested": true }, "image_size": { "label": "Image size", "description": "The size of the image. The default is 250px and must not include \"px\".", "example": "275", "type": "number", "default": "250", "autovalue": "250", "deprecated": true }, "alt": { "label": "Image alternative text", "description": "Alternative text describing the image showing the product for visually impaired readers. ", "example": "An Earth globe, and on the left side is being walked upon by a orange-red fur fox, its own tail is on fire. ", "type": "string", "autovalue": "" }, "caption": { "label": "Image caption", "description": "The caption describing the image shown on the infobox. Must be concise and short, not excessively detailed.", "example": "The sixth-generation iPod Nano.", "type": "string" }, "type": { "label": "Type", "description": "The type of the product stated in the article. Can be verified, but must state the type of product.", "example": "Media player", "type": "string", "required": true }, "inventor": { "label": "Inventor", "description": "The creator or inventor of the product.", "example": "Reason ", "type": "string", "suggested": true }, "available": { "label": "Available", "description": "Whether the product is currently available.", "example": "Yes", "type": "string", "suggested": true }, "current supplier": { "label": "Current supplier", "description": "The distributor or entity that is the most current supplier of this product.", "example": "Amazon.com", "type": "string" }, "last production": { "label": "Last production date", "description": "The date of the last known or confirmed date that the product stopped selling or discontinued.", "example": "2016", "type": "date" }, "models": { "label": "Models", "description": "The models of this product.", "example": "iriver H100", "type": "string" }, "url": { "aliases": [ "Official URL" ], "label": "Website", "description": "The homepage or official URL for this product. It must be at least archived or running.", "example": "example.net", "type": "url", "suggested": true }, "notes": { "label": "Notes", "type": "string", "description": "Additional notes" }, "inception": { "label": "Inception", "description": "The launch date of the product.", "example": "May 2012", "type": "date", "suggested": true }, "manufacturer": { "label": "Manufacturer", "description": "The company or entity that manufactures this product.", "example": "Moleskine", "type": "string", "autovalue": "", "required": true } }, "description": "An infobox for products. This is a general infobox for products that don't have an infobox for their category, and should be used for general products.", "format": "block", "paramOrder": [ "title", "image", "image_size", "alt", "caption", "type", "inventor", "inception", "manufacturer", "available", "current supplier", "last production", "models", "url", "notes" ] } </templatedata>

Template:Wikidata infoboxes