Template:Infobox computing device/doc: Difference between revisions

From Randomdata wiki
Jump to navigation Jump to search
en>HTGS
Example: Link IBM System/360 Model 91 to make comparison to live version easier
 
m 1 revision imported: Templates imported: Template:Infobox election Template:Infobox election/doc Template:Infobox country Template:Infobox country/doc Template:Collapsed infobox section begin Template:Collapsed infobox section begin/doc Template:Collapsed infobox section end Template:Collapsed infobox section end/doc Template:Infobox Template:Infobox/doc Template:Infobox royalty Template:Infobox royalty/doc Template:Infobox incumbency Template:Infobox incumbency/doc Template:Infobox officehol...
 
(No difference)

Latest revision as of 20:29, 19 March 2025

Template:Documentation subpage Template:High-use Template:Lua

Usage

Template:Parameter names example

<syntaxhighlight lang="wikitext" style="overflow: auto;"> {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters|check|ignoreblank=y |unknown=Template:Main other |preview=Page using Template:Infobox computing device with unknown parameter "_VALUE_" | aka | alt | availability | Baseprice | baseprice | camera | Caption | caption | Casing | codename | compatibility | Connectivity | connectivity | controllers | CPU | cpu | CPUspeed | currentfw | Developer | developer | dimensions | discontinuation_date | Discontinued | discontinued | Display | display | family | first_release_date | generation | GPU | Graphics | graphics | Image | image | image_size | image_upright | ImageWidth | Input | input | Introduced | retail availability | Language | language | lifespan | logo | logo caption | logo_alt | logo_size | logo_upright | manufacturer | marketing_target | marketing target | Media | media | Memory | memory | memory card | model_no | MSRP | Name | name | online service | onlineservice | operatingsystem | OS | os | Photo | photo | platform | Power | power | predecessor | price | Processor | processor | RAM | RAMtype | related | release date | Released | releasedate | service | soc | SOC | system-on-chip | System-on-chip | Sound | sound | storage | successor | title | top game | topgame | touchpad | Type | type | units shipped | units sold | unitsshipped | unitssold | Website | website | weight }} </syntaxhighlight> Template:Clear

Example

IdeaPad 500 series

{{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters|check|ignoreblank=y |unknown=Template:Main other |preview=Page using Template:Infobox computing device with unknown parameter "_VALUE_" | aka | alt | availability | Baseprice | baseprice | camera | Caption | caption | Casing | codename | compatibility | Connectivity | connectivity | controllers | CPU | cpu | CPUspeed | currentfw | Developer | developer | dimensions | discontinuation_date | Discontinued | discontinued | Display | display | family | first_release_date | generation | GPU | Graphics | graphics | Image | image | image_size | image_upright | ImageWidth | Input | input | Introduced | retail availability | Language | language | lifespan | logo | logo caption | logo_alt | logo_size | logo_upright | manufacturer | marketing_target | marketing target | Media | media | Memory | memory | memory card | model_no | MSRP | Name | name | online service | onlineservice | operatingsystem | OS | os | Photo | photo | platform | Power | power | predecessor | price | Processor | processor | RAM | RAMtype | related | release date | Released | releasedate | service | soc | SOC | system-on-chip | System-on-chip | Sound | sound | storage | successor | title | top game | topgame | touchpad | Type | type | units shipped | units sold | unitsshipped | unitssold | Website | website | weight }} <syntaxhighlight lang="wikitext"> {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters|check|ignoreblank=y |unknown=Template:Main other |preview=Page using Template:Infobox computing device with unknown parameter "_VALUE_" | aka | alt | availability | Baseprice | baseprice | camera | Caption | caption | Casing | codename | compatibility | Connectivity | connectivity | controllers | CPU | cpu | CPUspeed | currentfw | Developer | developer | dimensions | discontinuation_date | Discontinued | discontinued | Display | display | family | first_release_date | generation | GPU | Graphics | graphics | Image | image | image_size | image_upright | ImageWidth | Input | input | Introduced | retail availability | Language | language | lifespan | logo | logo caption | logo_alt | logo_size | logo_upright | manufacturer | marketing_target | marketing target | Media | media | Memory | memory | memory card | model_no | MSRP | Name | name | online service | onlineservice | operatingsystem | OS | os | Photo | photo | platform | Power | power | predecessor | price | Processor | processor | RAM | RAMtype | related | release date | Released | releasedate | service | soc | SOC | system-on-chip | System-on-chip | Sound | sound | storage | successor | title | top game | topgame | touchpad | Type | type | units shipped | units sold | unitsshipped | unitssold | Website | website | weight }}</syntaxhighlight> Template:Clear

IdeaPad 300 series

{{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters|check|ignoreblank=y |unknown=Template:Main other |preview=Page using Template:Infobox computing device with unknown parameter "_VALUE_" | aka | alt | availability | Baseprice | baseprice | camera | Caption | caption | Casing | codename | compatibility | Connectivity | connectivity | controllers | CPU | cpu | CPUspeed | currentfw | Developer | developer | dimensions | discontinuation_date | Discontinued | discontinued | Display | display | family | first_release_date | generation | GPU | Graphics | graphics | Image | image | image_size | image_upright | ImageWidth | Input | input | Introduced | retail availability | Language | language | lifespan | logo | logo caption | logo_alt | logo_size | logo_upright | manufacturer | marketing_target | marketing target | Media | media | Memory | memory | memory card | model_no | MSRP | Name | name | online service | onlineservice | operatingsystem | OS | os | Photo | photo | platform | Power | power | predecessor | price | Processor | processor | RAM | RAMtype | related | release date | Released | releasedate | service | soc | SOC | system-on-chip | System-on-chip | Sound | sound | storage | successor | title | top game | topgame | touchpad | Type | type | units shipped | units sold | unitsshipped | unitssold | Website | website | weight }} <syntaxhighlight lang="wikitext"> {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters|check|ignoreblank=y |unknown=Template:Main other |preview=Page using Template:Infobox computing device with unknown parameter "_VALUE_" | aka | alt | availability | Baseprice | baseprice | camera | Caption | caption | Casing | codename | compatibility | Connectivity | connectivity | controllers | CPU | cpu | CPUspeed | currentfw | Developer | developer | dimensions | discontinuation_date | Discontinued | discontinued | Display | display | family | first_release_date | generation | GPU | Graphics | graphics | Image | image | image_size | image_upright | ImageWidth | Input | input | Introduced | retail availability | Language | language | lifespan | logo | logo caption | logo_alt | logo_size | logo_upright | manufacturer | marketing_target | marketing target | Media | media | Memory | memory | memory card | model_no | MSRP | Name | name | online service | onlineservice | operatingsystem | OS | os | Photo | photo | platform | Power | power | predecessor | price | Processor | processor | RAM | RAMtype | related | release date | Released | releasedate | service | soc | SOC | system-on-chip | System-on-chip | Sound | sound | storage | successor | title | top game | topgame | touchpad | Type | type | units shipped | units sold | unitsshipped | unitssold | Website | website | weight }} </syntaxhighlight> Template:Clear

IBM System/360 Model 91

{{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters|check|ignoreblank=y |unknown=Template:Main other |preview=Page using Template:Infobox computing device with unknown parameter "_VALUE_" | aka | alt | availability | Baseprice | baseprice | camera | Caption | caption | Casing | codename | compatibility | Connectivity | connectivity | controllers | CPU | cpu | CPUspeed | currentfw | Developer | developer | dimensions | discontinuation_date | Discontinued | discontinued | Display | display | family | first_release_date | generation | GPU | Graphics | graphics | Image | image | image_size | image_upright | ImageWidth | Input | input | Introduced | retail availability | Language | language | lifespan | logo | logo caption | logo_alt | logo_size | logo_upright | manufacturer | marketing_target | marketing target | Media | media | Memory | memory | memory card | model_no | MSRP | Name | name | online service | onlineservice | operatingsystem | OS | os | Photo | photo | platform | Power | power | predecessor | price | Processor | processor | RAM | RAMtype | related | release date | Released | releasedate | service | soc | SOC | system-on-chip | System-on-chip | Sound | sound | storage | successor | title | top game | topgame | touchpad | Type | type | units shipped | units sold | unitsshipped | unitssold | Website | website | weight }} <syntaxhighlight lang="wikitext"> {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters|check|ignoreblank=y |unknown=Template:Main other |preview=Page using Template:Infobox computing device with unknown parameter "_VALUE_" | aka | alt | availability | Baseprice | baseprice | camera | Caption | caption | Casing | codename | compatibility | Connectivity | connectivity | controllers | CPU | cpu | CPUspeed | currentfw | Developer | developer | dimensions | discontinuation_date | Discontinued | discontinued | Display | display | family | first_release_date | generation | GPU | Graphics | graphics | Image | image | image_size | image_upright | ImageWidth | Input | input | Introduced | retail availability | Language | language | lifespan | logo | logo caption | logo_alt | logo_size | logo_upright | manufacturer | marketing_target | marketing target | Media | media | Memory | memory | memory card | model_no | MSRP | Name | name | online service | onlineservice | operatingsystem | OS | os | Photo | photo | platform | Power | power | predecessor | price | Processor | processor | RAM | RAMtype | related | release date | Released | releasedate | service | soc | SOC | system-on-chip | System-on-chip | Sound | sound | storage | successor | title | top game | topgame | touchpad | Type | type | units shipped | units sold | unitsshipped | unitssold | Website | website | weight }} </syntaxhighlight> Template:Clear

Parameters

Template:TemplateData header <templatedata> { "params": { "name": { "label": "Name", "type": "string", "required": false, "description": "Name of the device. Default it the article name. However it is a required parameter as it does not accept null.", "default": "PAGENAME", "aliases": [ "Name", "title" ] }, "codename": { "label": "codename", "type": "string", "required": false, "description": "The hardware codename of the device. If the device is offered in several versions with different codenames, they can be specified each on its own line, giving a brief description of the version to which each one corresponds." }, "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_upright": { "label": "Logo upright", "type": "string", "required": false, "description": "Size of the logo, scaling per user preferences. Default is 1. Must not normally be changed.", "default": "1" }, "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.", "aliases": [ "logo_caption" ] }, "image": { "label": "Image", "type": "wiki-file-name", "required": false, "description": "File name of the image of the device 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" ] }, "image_upright": { "label": "Image upright", "type": "string", "required": false, "description": "Size of the logo, scaling per user preferences. Default is 1.", "default": "1" }, "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 device. " }, "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" ] }, "retail availability": { "label": "Retail availability", "type": "string", "required": false, "description": "Average expected retail availability (date first available in retail to date last available in retail (i.e. the date no more units are being sold, which may be years after production stops))", "aliases": [ "availability" ] }, "lifespan": { "label": "Lifespan", "type": "string", "required": false, "description": "Average expected lifespan (release date to discontinuation date (i.e. end of production))" }, "baseprice": { "label": "Base price", "type": "string", "required": false, "description": "Base price or MSRP (manufacturer suggested retail price) of the device at its 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 of when the device was discontinued / pulled from sale.", "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 by the device, if applicable.", "aliases": [ "SOC", "system-on-chip", "System-on-chip" ] }, "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 device", "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 devices; e.g. the resolutions that can be outputted.", "aliases": [ "Display" ] }, "graphics": { "label": "Graphics", "type": "string", "required": false, "description": "Specifications of the included graphics component, which is responsible for outputting content to display devices", "aliases": [ "Graphics", "GPU" ] }, "sound": { "label": "Sound", "type": "string", "required": false, "description": "Specifications of the audio subsystem.", "aliases": [ "Sound" ] }, "input": { "label": "Input", "type": "string", "required": false, "description": "Input devices included with / supported by the computing device. Specialized versions of this parameter include Controllers, Camera, and Touchpad.", "aliases": [ "Input" ] }, "controllers": { "label": "Controllers", "type": "string", "required": false, "description": "Controller(s) included with / supported by the device." }, "camera": { "label": "Camera", "type": "string", "required": false, "description": "Specifications of the camera included with / supported by the device." }, "touchpad": { "label": "Touchpad", "type": "string", "required": false, "description": "Specifications of the touchpad included with the device; e.g. make, model, the number of buttons, and whether or not it supports multitouch input." }, "connectivity": { "label": "Connectivity", "type": "string", "required": false, "description": "Specifications of any components that support data transfer in and out of the device, including networking subsystems.", "aliases": [ "Connectivity" ] }, "currentfw": { "label": "Current firmware", "type": "string", "required": false, "description": "The current firmware version of the given device." }, "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 any associated online service(s).", "aliases": [ "onlineservice", "service" ] }, "dimensions": { "label": "Dimensions", "type": "string", "required": false, "description": "The dimensions (width, height, depth) of the device. If multiple / newer models of the base device are available, please include the dimensions for each.", "aliases": [ "Casing" ] }, "weight": { "label": "Mass", "type": "string", "required": false, "description": "Mass" }, "top game": { "label": "Best-selling video game", "type": "string", "required": false, "description": "Name of the best selling video game that works on the device, if appliable. Please include source and sale stats.", "aliases": [ "topgame" ] }, "compatibility": { "label": "Compatibility", "type": "string", "required": false, "description": "Details of backward compatibility with the device's predecessor(s)." }, "predecessor": { "label": "Predecessor", "type": "string", "required": false, "description": "Name of the device's predecessor, if applicable." }, "successor": { "label": "Successor", "type": "string", "required": false, "description": "Name of the device's successor, if applicable." }, "marketing target": { "label": "Marketing target", "description": "Target audience of device or its version", "type": "string", "required": false, "aliases": [ "marketing_target" ] }, "related": { "label": "Related", "type": "string", "required": false, "description": "Names of any sibling devices to the device." }, "website": { "label": "Website", "type": "string", "required": false, "description": "URL of the official website, in a printer-friendly form. (consider using the Template:URL template for cleaner URL output)", "aliases": [ "Website" ] }, "language": { "label": "Language", "type": "string", "required": false, "description": "The common programming languages, used with computer platform (if these exists)" }, "model_no": { "label": "Model number", "type": "string" } }, "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 using infobox templates with no data rows.

Microformats

Template:UF-hcal Template:UF-hprod

Tracking category

See also