Пређи на садржај

Шаблон:Инфокутија Кошаркашка репрезентација/тип

С Википедије, слободне енциклопедије
Документација шаблона

This subtemplate is used by {{infobox national basketball team}} to automatically determine the type from the transcluding article name, if |type= is not defined. The method is complicated, require multiple calls to string processing functions. To reduce the overhead, the transcluding articles should specify the |type=, but frequently editors fail to do so, and this subtemplate is used to catch the errors.

Tests

  • France women's national basketball team → women
  • Greece men's national under-16 and under-17 basketball team → men's youth
  • Turkey women's national under-20 basketball team → women's youth
  • Australia men's national wheelchair basketball team → men's wheelchair
  • Japan women's national wheelchair basketball team → women's wheelchair

Tracking

Unknown and unspecified types are tracked in Category:Pages using Infobox national basketball team with unknown type.