Template:DeviceInfoBox: Difference between revisions
From Night Vision Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Info box for a device | "description": "Info box for a device", | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
Line 10: | Line 10: | ||
"suggested": true, | "suggested": true, | ||
"example": "AN/PVS-14", | "example": "AN/PVS-14", | ||
"type": "string | "type": "string" | ||
}, | }, | ||
"manufacturer": { | "manufacturer": { | ||
Line 67: | Line 66: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"format": {}, | "format": { | ||
"fov-ver": {}, | "label": "Tube Format", | ||
"fov-hor": {}, | "description": "Image intensifier format used by the device", | ||
"mount": {}, | "example": "MX-10160", | ||
"objectives": {}, | "type": "string", | ||
"eyepieces": {}, | "required": true, | ||
"weight": {} | "suggested": true | ||
}, | |||
"fov-ver": { | |||
"label": "Vertical Field of View", | |||
"description": "The vertical field of view produced by the device", | |||
"example": "40", | |||
"type": "number", | |||
"suggested": true, | |||
"required": true | |||
}, | |||
"fov-hor": { | |||
"label": "Horizontal Field of View", | |||
"description": "The horizontal field of view produced by the device", | |||
"example": "40", | |||
"type": "number", | |||
"suggested": true, | |||
"required": true | |||
}, | |||
"mount": { | |||
"label": "Mount", | |||
"description": "The type of mount compatible to the device", | |||
"example": "Dovetail", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"objectives": { | |||
"label": "Objectives", | |||
"description": "The type of objectives used by the device", | |||
"example": "ANVIS-threaded", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"eyepieces": { | |||
"label": "Eyepieces", | |||
"description": "The type of eyepieces used by the device", | |||
"example": "ANVIS-threaded", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"weight": { | |||
"label": "Weight", | |||
"description": "The weight of the device in grams", | |||
"type": "number", | |||
"suggested": true | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
Line 96: | Line 140: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<templatestyles src="Template:Infobox/styles.css" /> | <templatestyles src="Template:Infobox/styles.css" /> |
Revision as of 20:50, 22 February 2023
Info box for a device
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the device
| String | required |
Manufacturer #1 | manufacturer | Page of the manufacturer of the device
| Page name | required |
Manufacturer #1 Device Name | manufacturer-name | Name of the device as used by the manufacturer
| String | suggested |
Manufacturer #2 | manufacturer-2 | Page of the manufacturer of the device
| Page name | required |
Manufacturer #2 Device Name | manufacturer-name-2 | Name of the device as used by the manufacturer
| String | suggested |
Manufacturer #3 | manufacturer-3 | Page of the manufacturer of the device
| Page name | required |
Manufacturer #3 Device Name | manufacturer-name-3 | Name of the device as used by the manufacturer
| String | suggested |
Product page | page | The main product page of the device
| URL | suggested |
Image | image | Image of the device (without File: prefix)
| File | suggested |
Housing Type | type | Housing Type | String | required |
Tube Format | format | Image intensifier format used by the device
| String | required |
Vertical Field of View | fov-ver | The vertical field of view produced by the device
| Number | required |
Horizontal Field of View | fov-hor | The horizontal field of view produced by the device
| Number | required |
Mount | mount | The type of mount compatible to the device
| String | suggested |
Objectives | objectives | The type of objectives used by the device
| Unknown | required |
Eyepieces | eyepieces | The type of eyepieces used by the device
| String | required |
Weight | weight | The weight of the device in grams | Number | suggested |