Wikipedia:WikiProject Basketball/Templates

From Wikipedia, the free encyclopedia

This page is part of the WikiProject on Basketball and is intended to be used as a guide on template standardization.

Navigational boxes (navboxes)[edit]

This is a system for allowing all navigational boxes related to Basketball organisations to be placed on any page without having to have them as separate boxes, thus making it simple to, for example (unrealistic as it may be), group into one navbox the listing of the teams in the FA Premier League with the listing of the Asian Basketball federations and the Man Utd infobox, together with standard links for Swedish Basketball. Standard colours for header rows, standard methods for listing teams, and other standardizations have been introduced to make these boxes look good when combining several different pieces.

Under Wikipedia guidelines for external links and navigation templates, navboxes should not include any external links. A link to a team's official site should be given within an article's infobox or in its External links section, but not in the navbox.

They should not be used for squad lists or manager histories or for other similar uses. These should use the templates outlined at below.

Information boxes (infoboxes)[edit]

Code Where to use
{{Infobox basketball biography}} Articles about individual players or managers
{{Infobox basketball official}} Articles about individual referees or other match officials
{{Infobox basketball club}} Articles about clubs
{{Infobox basketball club season}} Articles about clubs seasons
{{Infobox national basketball team}} Articles about national teams
{{Infobox sports league}} Articles about particular leagues within a country
{{Infobox basketball league season}} Articles about individual seasons of a particular league

Squad lists[edit]

For squad lists in club articles, use the following templates:

For instructions on how to use these templates, see Template:Basketball roster doc. See Category:Basketball roster templates for a full list.

Timesavers[edit]

The following templates are used with subst to save writing the entire link.

Others[edit]

Stub notices[edit]

Listed below are the specific stub notices that can be used for stub articles.

Code Where to use
{{Basketball-competition-stub}} On stub articles about basketball competitions.
{{Collegebasketball-stub}} On stub articles about college basketball.
{{Basketball-team-stub}} On stub articles about basketball teams.
{{Basketball-videogame-stub}} On stub articles about basketball videogames.
{{Basketball-stub}} On stub articles about Basketball not covered by any of the above templates.

There are also region-specific versions of many of the above templates. Refer to WP:STUBSORT for details.

Talk page templates[edit]

These should be only used on talk pages.

Code Where to use
{{WikiProject Basketball}} On talk pages of basketball articles.