Template:Infobox laptop model/doc: Difference between revisions

From Computing Classics Wiki
Add rudimentary TemplateData
 
Probably works
 
Line 2: Line 2:
<templatedata>
<templatedata>
{
{
"params": {},
"params": {
    "image1": {
"label": "Image 1",
"description": "File name for the first image on the infobox.",
"example": "TOSHIBA HDWJ110.jpg",
"type": "wiki-file-name",
"suggested": true
},
"caption1": {
"label": "Image caption 1",
"description": "An image caption to accompany image 1. Also acts as alt text if not explicitly provided.",
"example": "Top down view of the hard drive.",
"type": "content",
"suggested": true
},
"image2": {
"label": "Image 2",
"description": "File name for the second image on the infobox.",
"example": "Toshiba HDWJ110 SMART printout.png",
"type": "wiki-file-name"
},
"caption2": {
"label": "Image caption 2",
"description": "An image caption to accompany image 2. Also acts as alt text if not explicitly provided.",
"type": "content"
},
        "image3": {
"label": "Image 3",
"description": "File name for the third image on the infobox.",
"example": "Toshiba HDWJ110 SMART printout.png",
"type": "wiki-file-name"
},
"caption3": {
"label": "Image caption 3",
"description": "An image caption to accompany image 3. Also acts as alt text if not explicitly provided.",
"type": "content"
},
        "manufacturer": {
"label": "Manufacturer",
"description": "Company that made the computer.",
"example": "Lenovo",
"type": "string",
"required": true
},
        "family": {
"label": "Family",
"description": "Family the model is in.",
"example": "ThinkPad E-series",
"type": "string",
"suggested": true
},
        "model": {
"label": "Model",
"description": "Model of the computer.",
"example": "E14",
"type": "string",
"required": true
},
        "introduced": {
"label": "Introduced",
"description": "When the model was introduced.",
"example": "2024",
"type": "number",
"suggested": true
},
        "discontinued": {
"label": "Discontinued",
"description": "When the model was discontinued.",
"example": "2025",
"type": "number"
},
        "support": {
"label": "Support status",
"description": "Current support status of the model.",
"example": "Full support",
"type": "string",
"suggested": true
},
        "os": {
"label": "OS shipped with",
"description": "OS(es) the model shipped with.",
"example": "Windows 11",
"type": "string",
"suggested": true
},
        "cpu": {
"label": "Processor",
"description": "CPU the model can be specified to have.",
"example": "Intel Core Ultra series 1, AMD Ryzen 7035 series",
"type": "string",
"suggested": true
},
        "ram": {
"label": "RAM",
"description": "RAM the model can be specified to have.",
"example": "Up to 64 GB DDR5 SO-DIMM",
"type": "string",
"suggested": true
},
        "storage": {
"label": "Storage",
"description": "Storage the model can be specified to have.",
"example": "M.2 2242 x4 & M.2 2280 x4",
"type": "string",
"suggested": true
},
        "battery": {
"label": "Battery capacity",
"description": "Battery capacities the model can be specified to have.",
"example": "47 & 57 Wh",
"type": "string",
"suggested": true
},
        "resolution": {
"label": "Display resolution",
"description": "Battery capacities the model can be specified to have.",
"example": "1920 x 1200, 2240 x 1400",
"type": "string",
"suggested": true
},
        "gpu": {
"label": "Graphics processor",
"description": "GPUs the model can be specified to have.",
"example": "Intel Arc Graphics, Intel Graphics, AMD Radeon",
"type": "string",
"suggested": true
}
   
    },
"description": "Displays information on laptop models.",
"description": "Displays information on laptop models.",
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>

Latest revision as of 09:20, 23 July 2025

Displays information on laptop models.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Image 1image1

File name for the first image on the infobox.

Example
TOSHIBA HDWJ110.jpg
Filesuggested
Image caption 1caption1

An image caption to accompany image 1. Also acts as alt text if not explicitly provided.

Example
Top down view of the hard drive.
Contentsuggested
Image 2image2

File name for the second image on the infobox.

Example
Toshiba HDWJ110 SMART printout.png
Fileoptional
Image caption 2caption2

An image caption to accompany image 2. Also acts as alt text if not explicitly provided.

Contentoptional
Image 3image3

File name for the third image on the infobox.

Example
Toshiba HDWJ110 SMART printout.png
Fileoptional
Image caption 3caption3

An image caption to accompany image 3. Also acts as alt text if not explicitly provided.

Contentoptional
Manufacturermanufacturer

Company that made the computer.

Example
Lenovo
Stringrequired
Familyfamily

Family the model is in.

Example
ThinkPad E-series
Stringsuggested
Modelmodel

Model of the computer.

Example
E14
Stringrequired
Introducedintroduced

When the model was introduced.

Example
2024
Numbersuggested
Discontinueddiscontinued

When the model was discontinued.

Example
2025
Numberoptional
Support statussupport

Current support status of the model.

Example
Full support
Stringsuggested
OS shipped withos

OS(es) the model shipped with.

Example
Windows 11
Stringsuggested
Processorcpu

CPU the model can be specified to have.

Example
Intel Core Ultra series 1, AMD Ryzen 7035 series
Stringsuggested
RAMram

RAM the model can be specified to have.

Example
Up to 64 GB DDR5 SO-DIMM
Stringsuggested
Storagestorage

Storage the model can be specified to have.

Example
M.2 2242 x4 & M.2 2280 x4
Stringsuggested
Battery capacitybattery

Battery capacities the model can be specified to have.

Example
47 & 57 Wh
Stringsuggested
Display resolutionresolution

Battery capacities the model can be specified to have.

Example
1920 x 1200, 2240 x 1400
Stringsuggested
Graphics processorgpu

GPUs the model can be specified to have.

Example
Intel Arc Graphics, Intel Graphics, AMD Radeon
Stringsuggested
Cookies help us deliver our services. By using our services, you agree to our use of cookies.