Template:DeviceInfoBox: Difference between revisions
From Night Vision Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<templatedata> | |||
{ | |||
"description": "Info box for a device", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the device", | |||
"required": true, | |||
"suggested": true, | |||
"example": "AN/PVS-14", | |||
"type": "string" | |||
}, | |||
"manufacturer": { | |||
"label": "Manufacturer", | |||
"description": "Page of the manufacturer of the device", | |||
"required": true, | |||
"suggested": true, | |||
"example": "L3Harris", | |||
"type": "wiki-page-name" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"manufacturer" | |||
] | |||
} | |||
</templatedata> | |||
<noinclude> | <noinclude> | ||
== Parameters == | == Parameters == |
Revision as of 20:18, 22 February 2023
Info box for a device
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the device
| String | required |
Manufacturer | manufacturer | Page of the manufacturer of the device
| Page name | required |
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)