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

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the device

Example
AN/PVS-14
Stringrequired
Manufacturermanufacturer

Page of the manufacturer of the device

Example
L3Harris
Page namerequired

Parameters

  1. image (optional): Name of an image on the wiki (without File: prefix)
  1. name: Name of the device
  2. manufacturer: Page of the manufacturer
  3. manufacturer-name (optional): Manufacturer-specific name of the device
  4. manufacturer (optional): Page of the second manufacturer
  5. manufacturer-name (optional): Second manufacturer-specific name of the device
  6. manufacturer (optional): Page of the third manufacturer
  7. manufacturer-name (optional): Third manufacturer-specific name of the device
  8. page (optional): Product page URL
  9. type: Housing type, should be one of TODO
  10. format: Format, should be one of TODO
  11. fov-ver: Horizontal field of view (numeric)
  12. fov-hor: Vertical field of view (numeric)
  13. mount: Type of mount, should be one of TODO
  14. objectives: Type of objectives
  15. eyepieces: Type of eyepieces
  16. weight: Weight in g (numeric)