Template:Infobox laptop model: Difference between revisions
m TheDragonFire123 moved page Template:Laptop model to Template:Infobox laptop model: Match infobox naming convention |
Add full image1/2/3 support and documentation |
||
| Line 1: | Line 1: | ||
<infobox> | <infobox> | ||
<title source="title"> | <title source="title"> | ||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<image source="image1"> | |||
<caption source="caption1"/> | |||
<alt source="alt1"> | |||
<default>{{StripWikitext|{{{caption1|}}}}}</default> | |||
</alt> | |||
</image> | |||
<image source="image2"> | |||
<caption source="caption2"/> | |||
<alt source="alt2"> | |||
<default>{{StripWikitext|{{{caption2|}}}}}</default> | |||
</alt> | |||
</image> | |||
<image source="image3"> | |||
<caption source="caption3"/> | |||
<alt source="alt3"> | |||
<default>{{StripWikitext|{{{caption3|}}}}}</default> | |||
</alt> | |||
</image> | |||
<audio source="audio1"> | |||
<caption source="audio1_caption"/> | |||
<alt source="audio1_alt"> | |||
<default>{{StripWikitext|{{{audio1_caption|}}}}}</default> | |||
</alt> | |||
</audio> | |||
<header>Model information</header> | <header>Model information</header> | ||
<data source="manufacturer"> | <data source="manufacturer"> | ||
| Line 47: | Line 68: | ||
<label>Graphics processor</label> | <label>Graphics processor</label> | ||
</data> | </data> | ||
</infobox> | </infobox><noinclude> | ||
{{Clear}}{{Documentation}}</noinclude> | |||
Revision as of 08:37, 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 |