Template:Infobox information appliance/doc

From Wikihussain
< Template:Infobox information appliance
Revision as of 11:39, 24 August 2018 by 151.235.35.238 (talk) (Add note about [[:Category::Articles which use infobox templates with no data rows]])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{logo}}}|frameless]]
[[File:{{{image}}}|300px]]
{{{caption}}}
Also known as{{{aka}}}
Developer{{{developer}}}
Manufacturer{{{manufacturer}}}
Product family{{{family}}}
Type{{{type}}}
Generation{{{generation}}}
Release date{{{releasedate}}}
Retail availability{{{lifespan}}}
Introductory price{{{price}}}
Discontinued{{{discontinued}}}
Units sold{{{unitssold}}}
Units shipped{{{unitsshipped}}}
Media{{{media}}}
Operating system{{{os}}}
System-on-chip used{{{soc}}}
CPU{{{cpu}}}
Memory{{{memory}}}
Storage{{{storage}}}
Removable storage{{{memory card}}}
Display{{{display}}}
Graphics{{{graphics}}}
Sound{{{sound}}}
Input{{{input}}}
Controller input{{{controllers}}}
Camera{{{camera}}}
Touchpad{{{touchpad}}}
Connectivity{{{connectivity}}}
Power{{{power}}}
Platform{{{platform}}}
Current firmware{{{currentfw}}}
Online services{{{service}}}
Dimensions{{{dimensions}}}
Weight{{{weight}}}
Best-selling game{{{topgame}}}
Backward
compatibility
{{{compatibility}}}
Predecessor{{{predecessor}}}
Successor{{{successor}}}
Related articles{{{related}}}
Website{{{website}}}
{{Infobox information appliance
| name         = 
| title        = 
| aka          = 
| logo         = 
| image        = 
| caption      = 
| developer    = 
| manufacturer = 
| family       = 
| type         = 
| generation   = 
| releasedate  = {{Start date|YYYY|MM|DD}}
| lifespan     = 
| price        = 
| discontinued = 
| unitssold    = 
| unitsshipped = 
| media        = 
| os           = 
| power        = 
| soc          = 
| cpu          = 
| memory       = 
| storage      = 
| memory card  = 
| display      = 
| graphics     = 
| sound        = 
| input        = 
| controllers  = 
| camera       = 
| touchpad     = 
| connectivity = 
| currentfw    =
| platform     = 
| service      = 
| dimensions   = 
| weight       = 
| topgame      = 
| compatibility= 
| predecessor  = 
| successor    = 
| related      = 
| website      = {{URL|example.org}}
}}

Parameters

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 information appliance

<templatedata> { "params": { "name": { "label": "Name", "type": "string", "required": false, "description": "Name of the appliance. Default it the article name. However it is a required parameter as it does not accept null.", "default": "PAGENAME", "aliases": [ "Name", "Title" ] }, "logo": { "label": "Logo", "type": "string", "required": false, "description": "File name of the logo to be appeared at the top of the infobox" }, "logo_size": { "label": "Logo size", "type": "string", "required": false, "description": "Size of the logo. Default is 250px. Must not normally be changed.", "default": "250px" }, "logo_alt": { "label": "Logo alternative text", "type": "string", "required": false, "description": "Alternative text for the logo, used when the web browser cannot display the image or when a visually-impaired person uses a screen reader." }, "logo caption": { "label": "Logo caption", "type": "string", "required": false, "description": "Caption for the logo. Must only be used to provide anything far more important than 'This is the logo of X'. e.g. used for inserting Template:Ffdc or Template:Deletable image-caption." }, "image": { "label": "Image", "type": "string", "required": false, "description": "File name of the image of the appliance to be appeared at the top of the infobox.", "aliases": [ "Image", "photo", "Photo" ] }, "image_size": { "label": "Image size", "type": "string", "required": false, "description": "Image size. Defaults to 300px. The best practice is to ensure the image is displayed at the default resolution. Hence, use of this parameter is discouraged.", "default": "300px", "aliases": [ "ImageWidth" ] }, "alt": { "label": "Image alternative text", "type": "string", "required": false, "description": "Alternative text for the screenshot (used by the blind and when web browsers cannot or do not load the image)" }, "caption": { "label": "Image caption", "type": "string", "required": false, "description": "Caption for the image of the appliance. " }, "aka": { "label": "Also known as? (\"AKA\")", "type": "string", "required": false, "description": "Device nickname" }, "developer": { "label": "Developer", "type": "string", "required": false, "description": "Name of the developer, if applicable", "aliases": [ "Developer" ] }, "manufacturer": { "label": "Manufacturer", "type": "string", "required": false, "description": "Name of the manufacturer, if applicable" }, "family": { "label": "Family", "type": "string", "required": false, "description": "Product family" }, "type": { "label": "Type", "type": "string", "required": false, "description": "Type of the device", "aliases": [ "Type" ] }, "generation": { "label": "Generation", "type": "string", "required": false, "description": "Name of the device generation, if it is part of a line of products developed iteratively" }, "release date": { "label": "Release date", "type": "string", "required": false, "description": "Date introduced", "aliases": [ "releasedate", "first_release_date", "Released", "Introduced" ] }, "lifespan": { "label": "Lifespan", "type": "string", "required": false, "description": "Average expected lifespan" }, "baseprice": { "label": "Base price", "type": "string", "required": false, "description": "Price at the initial release. Per WP:NOTCATALOGUE, \"An article should not include product pricing information unless there is an independent source and a justified reason for the mention. Encyclopedic significance may be indicated if mainstream media sources (not just product reviews) provide commentary on these details instead of just passing mention..", "aliases": [ "Baseprice", "price", "MSRP", "" ] }, "discontinued": { "label": "Discontinuation date", "type": "string", "required": false, "description": "Date at which the product is discontinued", "aliases": [ "Discontinued", "discontinuation_date" ] }, "units sold": { "label": "Units sold", "type": "string", "required": false, "description": "Number of units sold, including pre-orders", "aliases": [ "unitssold" ] }, "units shipped": { "label": "Units shipped", "type": "string", "required": false, "description": "Number of units shipped", "aliases": [ "unitsshipped" ] }, "media": { "label": "Media", "type": "string", "required": false, "description": "Supported media. Where applicable, consider using \"removable storage\" parameter instead.", "aliases": [ "Media" ] }, "os": { "label": "Operating system", "type": "string", "required": false, "description": "Operating system bundled with the product", "aliases": [ "OS", "operatingsystem" ] }, "power": { "label": "Power", "type": "string", "required": false, "description": "Power consumption specifications", "aliases": [ "Power" ] }, "soc": { "label": "System-on-chip used", "type": "string", "required": false, "description": "System-on-chip used, if applicable" }, "cpu": { "label": "CPU make and model", "type": "string", "required": false, "description": "Central processing unit's brand name and model", "aliases": [ "CPU", "processor", "Processor" ] }, "CPUspeed": { "label": "CPU clock speed", "type": "string", "required": false, "description": "Central processing unit's clock speed, expressed in hertz" }, "memory": { "label": "Amount of memory installed", "type": "string", "required": false, "description": "Amount of volatile random-access memory installed on the appliance", "aliases": [ "Memory", "RAM" ] }, "RAMtype": { "label": "Memory type", "type": "string", "required": false, "description": "Make and model of the volatile random-access memory modules used" }, "storage": { "label": "Storage device", "type": "string", "required": false, "description": "Type(s) and specifications of non-volatile internal storage device(s)" }, "memory card": { "label": "Removable storage", "type": "string", "required": false, "description": "Type(s) and specifications of non-volatile removable storage device(s) supported" }, "display": { "label": "Display", "type": "string", "required": false, "description": "Specifications of included or supported display device, e.g resolution ", "aliases": [ "Display" ] }, "graphics": { "label": "Graphics", "type": "string", "required": false, "description": "Specifications of the included graphics component, which is responsible for outputing content to display devices", "aliases": [ "Graphics", "GPU" ] }, "sound": { "label": "Sound", "type": "string", "required": false, "description": "Specifications of audio subsystem", "aliases": [ "Sound" ] }, "input": { "label": "Input", "type": "string", "required": false, "description": "Input devices included or supported. Specialized versions of this parameter include: Controllers, camera and touch pad.", "aliases": [ "Input" ] }, "controllers": { "label": "Controllers", "type": "string", "required": false, "description": "Video gaming controller supported" }, "camera": { "label": "Camera", "type": "string", "required": false, "description": "Specifications of camera included" }, "touchpad": { "label": "Touchpad", "type": "string", "required": false, "description": "Specifications of touchpad included; e.g. make, model, number of buttons or whether it support multitouch" }, "connectivity": { "label": "Connectivity", "type": "string", "required": false, "description": "Specifications of component that support data transfer in and out of the device, including networking subsystems", "aliases": [ "Connectivity", "" ] },

               "currentfw": {

"label": "Current firmware", "type": "string", "required": false, "description": "Indication of the current version of the device's firmware." }, "platform": { "label": "Underlying platform", "type": "string", "required": false, "description": "Name of any underlying platforms" }, "online service": { "label": "Online service", "type": "string", "required": false, "description": "Name of associated online service(s)", "aliases": [ "onlineservice", "service" ] }, "dimensions": { "label": "Dimensions", "type": "string", "required": false, "description": "Dimensions", "aliases": [ "Casing" ] }, "weight": { "label": "Weight", "type": "string", "required": false, "description": "Weight" }, "top game": { "label": "Best-selling video game", "type": "string", "required": false, "description": "Name of the best selling video game that works on the appliance, if appliable. Please include source and sale stats.", "aliases": [ "topgame" ] }, "compatibility": { "label": "Compatibility", "type": "string", "required": false, "description": "Details of backward compatibility with its predecessor" }, "predecessor": { "label": "Predecessor", "type": "string", "required": false, "description": "Name of predecessor" }, "successor": { "label": "Successor", "type": "string", "required": false, "description": "Name of successor" }, "related": { "label": "Related", "type": "string", "required": false, "description": "Name of sibling devices" }, "website": { "label": "Website", "type": "string", "required": false, "description": "URL of the official website, in a printer-friendly form. Consider using {{URL|example.com|optional display text}} template.", "aliases": [ "Website" ] } }, "format": "block" } </templatedata>

Important notes

Under WP:NOPRICES, "product prices should not be quoted in an article unless they can be sourced and there is a justified reason for their mention". Use of the "price" field should therefore be the exception rather than the norm.

In addition to the tracking category below, using this template without including at least one of parameters besides "title", "image", and "caption" will add the page to Category:Articles which use infobox templates with no data rows.

Microformats

The HTML mark-up produced by this template includes an hCalendar microformat that makes event 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.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

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.

Tracking category

See also