Wikipedia:WikiProject Football/Templates

From Wikipedia, the free encyclopedia

This page is part of the WikiProject on Football 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 football 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 football federations and the Man Utd infobox, together with standard links for Swedish football. 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 football biography}} Articles about individual players or managers
{{infobox football official}} Articles about individual referees or other match officials
{{infobox football club}} Articles about clubs
{{infobox national football team}} Articles about national teams
{{infobox football league}} Articles about particular leagues within a country
{{infobox football league season}} Articles about individual seasons of a particular league
{{infobox football country season}} Articles about individual seasons within a country
{{Infobox venue}} Articles about football stadiums

Squad lists[edit]

Clubs[edit]

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

For instructions on how to use these templates, see Template talk:Football squad player

Players[edit]

For most major clubs and national teams, there are navboxes for the current squad that can be inserted at the foot of a player's biography. See Category:Association football squad templates for a full list.

To create a new squad template (having first checked there isn't one already) use the following templates:

For instructions on how to use these templates, see Template:Football squad/doc and Template talk:Football squad.

Managers[edit]

For most major clubs and national teams, there are navboxes for the current squad that can be inserted at the foot of a player's biography. See Category:Football manager history templates for a full list.

Timesavers[edit]

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

  • {{fc}} - Creates a link in the format of [[<clubname> F.C.|<clubname>]]
  • {{efs}} - Creates a link in the format of [[<season> in English football|<season>]]
  • {{nft}} - Creates a link in the format of [[<country> national football team|<country>]]
  • {{nfa}} - Creates a link to national football associations, in custom formats, for example [[Royal Netherlands Football Association|Netherlands]] or [[Islamic Republic of Iran Football Federation|Iran]]
  • {{footin}} - Creates a link in the format of [[Football in <countryname>]]
  • {{nft rank}} – Used for FIFA Rankings and Elo Ratings in national football team articles.

All such templates should be substituted. For example, use {{subst:fc|<clubname>}}, which will produce [[<clubname> F.C.|<clubname>]].

Others[edit]

Stub notices[edit]

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

Code Where to use
{{footy-bio-stub}} On stub articles about persons related to football (if they cannot be sorted into the correct region).
{{footyclub-stub}} On stub articles about football clubs in regions not covered above.
{{National-footy-team-stub}} On stub articles about football national teams.
{{footy-org-stub}} On stub articles about football organizations.
{{footy-stub}} On stub articles about football 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 Football}} On talk pages of football articles.

Barnstars[edit]

Used to recognise users as being particularly useful to the WikiProject. These should be places on user talk pages.

Image What to type Description
The Football Barnstar {{subst:The Football Barnstar|message ~~~~}} The Football Barnstar is awarded to those who contribute exceptionally to association football-related articles.
The Football (Soccer) Star {{subst:Football (soccer) star|message ~~~~}} The Football (Soccer) Star is awarded to those who contribute exceptionally to association football-related articles. Introduced and designed by Guinnog.
The Treble Trophy {{subst:Treble trophy|message ~~~~}} The Treble Trophy is awarded to those who have completed the Treble of contributing to the promotion of three different types of featured content on the same subject. Introduced and designed by Foxhill.