Шаблон:Avilisthead/документація

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку

Шаблон допомагає створити таблицю зі списком літаків визначений у WP:AVLIST. Він створює рядок заголовка відповідно до обраного типу списку.

Використання[ред. код]

Як використовувати

{{avilisthead|[значення]}}

Допустимими значеннями є:

  • [no value]
  • general
  • military
  • mil-current
  • mil-historical
  • mil-planned
  • missile-current
  • role
  • nonstandard

This will provide the appropriate table opening code and column headings. The column headings that these values create are shown below with some example entries.

You will need to add the individual entries using Wikitext table markup in the usual way.

Don't forget to close the table at the end of the list with one of:

  • |}
  • {{end table}}

(no value entered)[ред. код]

This displays the default topic headings if no format option is set or if the option is not recognised. The default list has seven columns. This option should be maintained to mirror the general format.

Тип Країна Клас Роль Дата Статус Примітки
Mil Mi-6 USSR Rotorcraft Transport 1965 Production Helicopter.
Supermarine Spitfire UK Propeller Fighter 1936 Production Derived types:Seafire, Spiteful, Seafang.

general[ред. код]

This list format is for general lists of types sharing some common feature. It has seven columns.

Тип Країна Клас Роль Дата Статус Примітки
Mil Mi-6 USSR Rotorcraft Transport 1965 Production Helicopter.
Supermarine Spitfire UK Propeller Fighter 1936 Production Derived types:Seafire, Spiteful, Seafang.

military[ред. код]

This list format is for both current and historical types used by a military organisation. It has eight columns. Using the Status column entry format described at WP:AVLIST, the list can be sorted on "In service" vs. "Retired" status.

Where a list contains only current or historical types, one of the formats following this one may be used instead.

Тип Походження Клас Роль Поява Статус Всього Примітки
Sukhoi SU-27 Russia Jet Fighter 1997 14 in service 15 Su-27SK and Su-27UBK
Supermarine Spitfire UK Propeller Fighter 1948 Retired 1977 25 Mks. XIV and PR 19.
Mil Mi-6 USSR Helicopter Transport 1965 Retired 1984 6
Mil Mi-8 USSR Helicopter Transport 1972 3 in service 8

mil-current[ред. код]

This list format is for the current types used by a military operator. It has eight columns.

Тип Країна Клас Роль Дата Статус Примітки
Sukhoi SU-27 Russia Jet Fighter 1997 14 15 Su-27SK and Su-27UBK
Mil Mi-8 USSR Helicopter Transport 1972 3 8

mil-historical[ред. код]

This list format is for the historical types previously owned by a military operator. It has eight columns.

Тип Походження Клас Роль Поява Списано Всього м
Supermarine Spitfire UK Propeller Fighter 1948 1977 25 Mks. XIV and PR 19.
Mil Mi-6 USSR Helicopter Transport 1965 1984 6

mil-planned[ред. код]

This list format is military types which are proposed, planned, ordered, or otherwise for future introduction into service.

Тип Країна Клас Роль Дата Статус Примітки
Supermarine Spitfire UK Propeller Fighter 25 Mks. XIV and PR 19.
Mil Mi-6 USSR Helicopter Transport 6

missile-current[ред. код]

This list format is for missiles in service.

Тип Країна Клас Роль Дата Статус Примітки
PL-2 China Air-to-air F-7MB 10,000 Infrared-guided
AGM-65 Maverick USA Air-to-ground A-6E 783 Television-guided

role[ред. код]

This list format is for lists of types designed for a common role. It has six columns.

Тип Країна Клас Дата Статус Примітки
Messerschmitt Bf 109 Germany Propeller 1935 Production
Supermarine Spitfire UK Propeller 1936 Production Derived types:Seafire, Spiteful, Seafang.

nonstandard[ред. код]

This option does not add a header row but instead adds the article to Category:Lists of aircraft in non-standard formats. You will need to add your own header row.

Use it only after consensus has been reached on the article talk page that none of the standard formats defined here is suitable.

Example non-standard code, to include a column for NATO codenames:

{{avilisthead|nonstandard}}
! Type !! NATO codename !! Class !! Role !! Date !! Total !! Notes 
|-
| [[Mikoyan-Gurevich MiG-21]] || Fishbed || Jet || Fighter || 1959 || 11,496 || Also produced in India and Czechoslovakia.
| [[Mil Mi-6]] || Hook || Helicopter || Transport || 1957 || 925 || 
|}

Gives:

Тип Країна Клас Роль Дата Статус Примітки Тип Кодування НАТО Клас Роль Дата Всього Примітки
МіГ-21 Fishbed Реактивний Винищувач 1959 11,496 Випускалися у Індії та Чехословаччині.
Мі-6 Hook Вертоліт Транспорт 1957 925