Template:Infobox national basketball team/type
Appearance
Template documentation
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
→ womenGreece men's national under-16 and under-17 basketball team
→ men's youthTurkey women's national under-20 basketball team
→ women's youthAustralia men's national wheelchair basketball team
→ men's wheelchairJapan 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.