Template:Infobox product/doc: Difference between revisions
m (syntaxhighlight lang="wikitext") |
m (1 revision imported) |
(No difference)
|
Latest revision as of 03:14, 15 February 2024
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Usage
This template can draw data from Wikidata, assuming it is defined there. Simply use {{Infobox product}}
. You may also set values manually:
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Type | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
---|---|
Inventor | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Inception | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Manufacturer | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Available | {{{available}}} |
Current supplier | {{{current supplier}}} |
Last production year | {{{last production}}} |
Models made | {{{models}}} |
Slogan | {{{slogan}}} |
Website | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Notes {{{notes}}} |
<syntaxhighlight lang="wikitext">
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Type | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
---|---|
Inventor | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Inception | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Manufacturer | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Website | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
</syntaxhighlight>
Example
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Type | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
---|---|
Inventor | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Inception | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Manufacturer | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Available | Available |
Current supplier | Reason |
Models made | Ultra, Super |
Website | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Lua error in package.lua at line 80: module 'Module:i18n' not found. | |
Type | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
---|---|
Inventor | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Inception | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Manufacturer | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
Available | Available |
Current supplier | Reason |
Models made | Ultra, Super |
Website | Lua error in package.lua at line 80: module 'Module:i18n' not found. |
</syntaxhighlight>
Microformats
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
nor collapse nested elements which use them.
See also
- {{Infobox brand}}
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The title of the product stated in the article or what the article is covering.
| String | optional |
Image | image | The image that reveals the product stated. Make sure that it is a valued image, as image that are deleted will not show.
| File | suggested |
Logo | logo | no description | File | optional |
Image size | image_size imagesize image size | The size of the image. The default is 250px and must not include "px".
| Number | deprecated |
Image alternative text | alt | Alternative text describing the image showing the product for visually impaired readers.
| String | optional |
Image caption | caption | The caption describing the image shown on the infobox. Must be concise and short, not excessively detailed.
| String | optional |
Type | type | The type of the product stated in the article. Can be verified, but must state the type of product.
| String | required |
Inventor | inventor | The creator or inventor of the product.
| String | suggested |
Inception | inception | The launch date of the product.
| Date | suggested |
Manufacturer | manufacturer | The company or entity that manufactures this product.
| String | required |
Available | available | Whether the product is currently available.
| String | suggested |
Current supplier | current supplier | The distributor or entity that is the most current supplier of this product.
| String | optional |
Last production date | last production | The date of the last known or confirmed date that the product stopped selling or discontinued.
| Date | optional |
Models | models | The models of this product.
| String | optional |
Website | url Official URL website | The homepage or official URL for this product. It must be at least archived or running.
| URL | suggested |
Notes | notes | Additional notes | String | optional |
qid | qid | no description | Unknown | optional |
fetchwikidata | fetchwikidata | no description | Unknown | optional |
suppressfields | suppressfields | no description | Unknown | optional |
product_logo | product_logo | no description | Unknown | optional |
logo_size | logo_size | no description | Unknown | optional |
Logo alt text | logo_alt | Alt text for the logo | String | optional |
Logo caption | logo_caption | Caption for display under the logo | Content | optional |
image_upright | image_upright | no description | Unknown | optional |
onlysourced | onlysourced | no description | Unknown | optional |
noicon | noicon | no description | Unknown | optional |
launch year | launch year | no description | Unknown | optional |
company | company | no description | Unknown | optional |
Slogan | slogan tagline | no description | Unknown | optional |
Years produced | Years produced | The years in which the product was made.
| Unknown | optional |