Template:Infobox laptop model/doc: Difference between revisions
Add rudimentary TemplateData |
LiftsInQLD (talk | contribs) 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image 1 | image1 | File name for the first image on the infobox.
| File | suggested |
| Image caption 1 | caption1 | An image caption to accompany image 1. Also acts as alt text if not explicitly provided.
| Content | suggested |
| Image 2 | image2 | File name for the second image on the infobox.
| File | optional |
| Image caption 2 | caption2 | An image caption to accompany image 2. Also acts as alt text if not explicitly provided. | Content | optional |
| Image 3 | image3 | File name for the third image on the infobox.
| File | optional |
| Image caption 3 | caption3 | An image caption to accompany image 3. Also acts as alt text if not explicitly provided. | Content | optional |
| Manufacturer | manufacturer | Company that made the computer.
| String | required |
| Family | family | Family the model is in.
| String | suggested |
| Model | model | Model of the computer.
| String | required |
| Introduced | introduced | When the model was introduced.
| Number | suggested |
| Discontinued | discontinued | When the model was discontinued.
| Number | optional |
| Support status | support | Current support status of the model.
| String | suggested |
| OS shipped with | os | OS(es) the model shipped with.
| String | suggested |
| Processor | cpu | CPU the model can be specified to have.
| String | suggested |
| RAM | ram | RAM the model can be specified to have.
| String | suggested |
| Storage | storage | Storage the model can be specified to have.
| String | suggested |
| Battery capacity | battery | Battery capacities the model can be specified to have.
| String | suggested |
| Display resolution | resolution | Battery capacities the model can be specified to have.
| String | suggested |
| Graphics processor | gpu | GPUs the model can be specified to have.
| String | suggested |