Template:Aircraft to QID

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Template documentation


This template returns the Wikidata QID to use for certain types of aircraft. Returns parameter 2 if input does not match a supported type.

{{aircraft to QID|1|2}}
  • 1 - aircraft name or recognized abbreviation
  • 2 - (optional) return value on error

Supported types[edit]

Users may enter the listed name or the abbreviation listed in ().

  • aircraft (ac)
  • airliner (al)
  • executive aircraft (exec)
  • experimental aircraft (exp)
  • general aviation (ga)
  • helicopter (hc)
  • military aircraft (ma)