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 {{subst:CURRENTYEAR}}", | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
| Line 10: | Line 10: | ||
"suggested": true, | "suggested": true, | ||
"example": "AN/PVS-14", | "example": "AN/PVS-14", | ||
"type": "string" | "type": "string", | ||
"autovalue": "{{subst:CURRENTYEAR}}" | |||
}, | }, | ||
"manufacturer": { | "manufacturer": { | ||
| Line 61: | Line 62: | ||
"type": { | "type": { | ||
"label": "Housing Type", | "label": "Housing Type", | ||
"description": "Housing Type | "description": "Housing Type", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Revision as of 20:44, 22 February 2023
Info box for a device {{subst:CURRENTYEAR}}
| 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 |
| format | format | no description | Unknown | optional |
| fov-ver | fov-ver | no description | Unknown | optional |
| fov-hor | fov-hor | no description | Unknown | optional |
| mount | mount | no description | Unknown | optional |
| objectives | objectives | no description | Unknown | optional |
| eyepieces | eyepieces | no description | Unknown | optional |
| weight | weight | no description | Unknown | optional |
Parameters
image(optional): Name of an image on the wiki (withoutFile:prefix)
name: Name of the devicemanufacturer: Page of the manufacturermanufacturer-name(optional): Manufacturer-specific name of the devicemanufacturer(optional): Page of the second manufacturermanufacturer-name(optional): Second manufacturer-specific name of the devicemanufacturer(optional): Page of the third manufacturermanufacturer-name(optional): Third manufacturer-specific name of the devicepage(optional): Product page URLtype: Housing type, should be one of TODOformat: Format, should be one of TODOfov-ver: Horizontal field of view (numeric)fov-hor: Vertical field of view (numeric)mount: Type of mount, should be one of TODOobjectives: Type of objectiveseyepieces: Type of eyepiecesweight: Weight in g (numeric)