Template:Infobox Device: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
     {{#cargo_store:_table=Devices}}
     {{#cargo_store:_table=Devices}}
     <infobox>
     <infobox>
         <title source="title"><default>{{PAGENAME}}</default></title>
         <title source="title">
         <data source="Form Factor"><label>Form Factor</label></data>
            <default>{{PAGENAME}}</default>
         <data source="Screen Size"><label>Screen Size</label></data>
        </title>
         <data source="Manufacturer"><label>Manufacturer</label></data>
         <data source="formFactor"><label>Form Factor</label></data>
         <data source="Brand"><label>Brand</label></data>
         <data source="screenSize"><label>Screen Size</label></data>
         <data source="Series"><label>Series</label></data>
         <data source="manufacturer"><label>Manufacturer</label></data>
         <data source="Year"><label>Year</label></data>
         <data source="brand"><label>Brand</label></data>
         <data source="Processor Family"><label>Processor Family</label></data>
         <data source="series"><label>Series</label></data>
         <data source="Operating Systems"><label>Operating Systems</label></data>
         <data source="year"><label>Year</label></data>
         <data source="Battery"><label>Battery</label></data>
         <data source="processorFamily"><label>Processor Family</label></data>
         <data source="Dimensions"><label>Dimensions</label></data>
         <data source="operatingSystems"><label>Operating Systems</label></data>
         <data source="Weight"><label>Weight</label></data>
         <data source="battery"><label>Battery</label></data>
         <data source="Biometrics"><label>Biometrics</label></data>
         <data source="dimensions"><label>Dimensions</label></data>
         <data source="Webcam Shutter"><label>Webcam Shutter</label></data>
         <data source="weight"><label>Weight</label></data>
         <data source="Touchscreen"><label>Touchscreen</label></data>
         <data source="biometrics"><label>Biometrics</label></data>
         <data source="Pen Technology"><label>Pen Technology</label></data>
         <data source="webcamShutter"><label>Webcam Shutter</label></data>
         <data source="RAM slots"><label>RAM slots</label></data>
         <data source="touchscreen"><label>Touchscreen</label></data>
         <data source="Storage"><label>Storage</label></data>
         <data source="penTechnology"><label>Pen Technology</label></data>
         <data source="Graphics"><label>Graphics</label></data>
         <data source="ramSlots"><label>RAM slots</label></data>
         <data source="Resolutions"><label>Resolutions</label></data>
         <data source="storage"><label>Storage</label></data>
         <data source="Speakers"><label>Speakers</label></data>
         <data source="graphics"><label>Graphics</label></data>
         <data source="Microphone"><label>Microphone</label></data>
         <data source="resolutions"><label>Resolutions</label></data>
         <data source="Ports"><label>Ports</label></data>
         <data source="speakers"><label>Speakers</label></data>
         <data source="Webcam"><label>Webcam</label></data>
         <data source="microphone"><label>Microphone</label></data>
         <data source="Connectivity"><label>Connectivity</label></data>
         <data source="ports"><label>Ports</label></data>
         <data source="webcam"><label>Webcam</label></data>
         <data source="connectivity"><label>Connectivity</label></data>
     </infobox>
     </infobox>
</includeonly>
</includeonly>
Line 39: Line 41:
{
{
     "params": {
     "params": {
         "Form Factor": {
         "formFactor": {
             "type": "string",
             "type": "string",
             "description": "The form factor of the device (e.g. Laptop, Tablet)"
             "description": "The form factor of the device (e.g. Laptop, Tablet)"
         },
         },
         "Screen Size": {
         "screenSize": {
             "type": "number",
             "type": "number",
             "description": "The size of the screen in inches"
             "description": "The size of the screen in inches"
         },
         },
         "Manufacturer": {
         "manufacturer": {
             "type": "string",
             "type": "string",
             "description": "The manufacturer of the device (e.g. Lenovo, Apple)"
             "description": "The manufacturer of the device (e.g. Lenovo, Apple)"
         },
         },
         "Brand": {
         "brand": {
             "type": "string",
             "type": "string",
             "description": "Brand the device belongs to (e.g. ThinkPad, MacBook)"
             "description": "Brand the device belongs to (e.g. ThinkPad, MacBook)"
         },
         },
         "Series": {
         "series": {
             "type": "string",
             "type": "string",
             "description": "The series of the device (e.g. X13, Air)"
             "description": "The series of the device (e.g. X13, Air)"
         },
         },
         "Year": {
         "year": {
             "type": "number",
             "type": "number",
             "description": "The year the device was released"
             "description": "The year the device was released"
         },
         },
         "Processor Family": {
         "processorFamily": {
             "type": "string",
             "type": "string",
             "description": "The family of the processor (e.g. Raptor Lake, Apple M1)"
             "description": "The family of the processor (e.g. Raptor Lake, Apple M1)"
         },
         },
         "Operating Systems": {
         "operatingSystems": {
             "type": "string",
             "type": "string",
             "description": "The operating systems the device ships with"
             "description": "The operating systems the device ships with"
         },
         },
         "Battery": {
         "battery": {
             "type": "string",
             "type": "string",
             "description": "The battery options available for the device"
             "description": "The battery options available for the device"
         },
         },
         "Dimensions": {
         "dimensions": {
             "type": "string",
             "type": "string",
             "description": "The dimensions of the device"
             "description": "The dimensions of the device"
         },
         },
         "Weight": {
         "weight": {
             "type": "string",
             "type": "string",
             "description": "The weight of the device"
             "description": "The weight of the device"
         },
         },
         "Biometrics": {
         "biometrics": {
             "type": "string",
             "type": "string",
             "description": "The biometric options available for the device"
             "description": "The biometric options available for the device"
         },
         },
         "Webcam Shutter": {
         "webcamShutter": {
             "type": "boolean",
             "type": "boolean",
             "description": "Whether the device has a webcam shutter"
             "description": "Whether the device has a webcam shutter"
         },
         },
         "Touchscreen": {
         "touchscreen": {
             "type": "boolean",
             "type": "boolean",
             "description": "Whether the device has a configuration with a touchscreen"
             "description": "Whether the device has a configuration with a touchscreen"
         },
         },
         "Pen Technology": {
         "penTechnology": {
             "type": "string",
             "type": "string",
             "description": "The technology used for the pen input (e.g. Wacom AES, Apple Pencil) if the device has a configuration with a digitizer and pen"
             "description": "The technology used for the pen input (e.g. Wacom AES, Apple Pencil) if the device has a configuration with a digitizer and pen"
         },
         },
         "RAM slots": {
         "ramSlots": {
             "type": "number",
             "type": "number",
             "description": "The number of RAM slots users can access"
             "description": "The number of RAM slots users can access"
         },
         },
         "Storage": {
         "storage": {
             "type": "string",
             "type": "string",
             "description": "The storage options available for the device"
             "description": "The storage options available for the device"
         },
         },
         "Graphics": {
         "graphics": {
             "type": "string",
             "type": "string",
             "description": "The graphics options available for the device"
             "description": "The graphics options available for the device"
         },
         },
         "Resolutions": {
         "resolutions": {
             "type": "string",
             "type": "string",
             "description": "The resolutions the device is available in"
             "description": "The resolutions the device is available in"
         },
         },
         "Speakers": {
         "speakers": {
             "type": "string",
             "type": "string",
             "description": "The speaker options available for the device"
             "description": "The speaker options available for the device"
         },
         },
         "Microphone": {
         "microphone": {
             "type": "string",
             "type": "string",
             "description": "The microphone options available for the device"
             "description": "The microphone options available for the device"
         },
         },
         "Ports": {
         "ports": {
             "type": "string",
             "type": "string",
             "description": "The ports available on the device"
             "description": "The ports available on the device"
         },
         },
         "Webcam": {
         "webcam": {
             "type": "string",
             "type": "string",
             "description": "The webcam options available for the device"
             "description": "The webcam options available for the device"
         },
         },
         "Connectivity": {
         "connectivity": {
             "type": "string",
             "type": "string",
             "description": "The connectivity options available for the device"
             "description": "The connectivity options available for the device"