Plantilla:Infobox product/doc

De MacphersonWiki
Ir a la navegación Ir a la búsqueda

Usage[editar código]

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[editar código]

Reason washing machine
TypeWashing machine
InventorAndrew Reason
Inception2009 (2009)
ManufacturerReason company
AvailableAvailable
Current supplierReason
Models madeUltra, 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[editar código]

The HTML mark-up produced by this template includes an hProduct microformat that makes a product's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

If the product has a URL, use {{URL}} to include it.

Classes used

The HTML classes of this microformat include:

  • brand
  • category
  • description
  • fn
  • hproduct
  • identifier
  • listing
  • photo
  • price
  • review
  • type
  • url
  • value
Please do not rename or remove these classes
nor collapse nested elements which use them.

See also[editar código]

TemplateData[editar código]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox product

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.

Parámetros de la plantilla

Se prefiere introducir los parámetros de esta plantilla en el formato de bloque.

ParámetroDescripciónTipoEstado
Titletitle

The title of the product stated in the article or what the article is covering.

Ejemplo
Reason washing machine
Valor automático
Cadenaopcional
Imageimage

The image that reveals the product stated. Make sure that it is a valued image, as image that are deleted will not show.

Ejemplo
example.jpg
Archivosugerido
Image sizeimage_size

The size of the image. The default is 250px and must not include "px".

Predeterminado
250
Ejemplo
275
Valor automático
250
Númeroen desuso
Image alternative textalt

Alternative text describing the image showing the product for visually impaired readers.

Ejemplo
An Earth globe, and on the left side is being walked upon by a orange-red fur fox, its own tail is on fire.
Valor automático
Cadenaopcional
Image captioncaption

The caption describing the image shown on the infobox. Must be concise and short, not excessively detailed.

Ejemplo
The sixth-generation iPod Nano.
Cadenaopcional
Typetype

The type of the product stated in the article. Can be verified, but must state the type of product.

Ejemplo
Media player
Cadenaobligatorio
Inventorinventor

The creator or inventor of the product.

Ejemplo
Reason
Cadenasugerido
Inceptioninception

The launch date of the product.

Ejemplo
May 2012
Fechasugerido
Manufacturermanufacturer

The company or entity that manufactures this product.

Ejemplo
Moleskine
Valor automático
Cadenaobligatorio
Availableavailable

Whether the product is currently available.

Ejemplo
Yes
Cadenasugerido
Current suppliercurrent supplier

The distributor or entity that is the most current supplier of this product.

Ejemplo
Amazon.com
Cadenaopcional
Last production datelast production

The date of the last known or confirmed date that the product stopped selling or discontinued.

Ejemplo
2016
Fechaopcional
Modelsmodels

The models of this product.

Ejemplo
iriver H100
Cadenaopcional
Websiteurl Official URL

The homepage or official URL for this product. It must be at least archived or running.

Ejemplo
[http://www.example.net example.net]
URLsugerido
Notesnotes

Additional notes

Cadenaopcional