Template:Infobox American football team/doc

From The Global Wiki
Jump to navigation Jump to search

This is a generic template intended for use in article for teams outside the NFL. It is largely derived from Template:Infobox football club and incorporates Template:American football uniform to enable display of the team colours.

Usage

Script error: No such module "Parameter names example".

{{Infobox American football team
| name = 
| logo = 
| logosize = 
| helmet =
| helmetsize = 
| established = <!-- {{Start date|YYYY|MM|DD}} -->
| folded = <!-- {{End date|YYYY|MM|DD}} -->
| location = 
| stadium = 
| coach =
| manager = 
| owner = 
| league =
| division =
| league_champs = 
| div_champs =
| hist_misc =
| hist_yr =
| hist_misc2 =
| website = <!--{{URL|example.com}} -->
| h_pattern_h =_af
| h_pattern_la =
| h_pattern_b =
| h_pattern_ra =
| h_pattern_p =
| h_pattern_s =_af
| h_helmet =
| h_leftarm =
| h_body =
| h_rightarm =
| h_pants =
| h_socks =
| h_title = 
| a_pattern_h =_af
| a_pattern_la =
| a_pattern_b =
| a_pattern_ra =
| a_pattern_p =
| a_pattern_s =_af
| a_helmet =
| a_leftarm =
| a_body =
| a_rightarm =
| a_pants =
| a_socks =
| a_title = 
| t_pattern_h =_af
| t_pattern_la =
| t_pattern_b =
| t_pattern_ra =
| t_pattern_p =
| t_pattern_s =_af
| t_helmet =
| t_leftarm =
| t_body =
| t_rightarm =
| t_pants =
| t_socks =
| t_title =
}}

Parameters

Field Description
name Name of the team (required)
logo File name of the image logo, in the form image_name.file_format (for example, "AmericanFootball.svg").
logosize Width of logo image (in px).
established Year when the team was founded / established.
folded Year in which the team folded.
location Town or city in which the team is/was based in.
stadium Name and location of team's home field. This can be wikilinked if required (for example, if the stadium has its own article, or it is described in another team's article).
coach Current head coach.
manager Current team general manager.
owner Current team owner(s).
league Name of the league in which the team plays.
division The division in which the team plays.
league_champs The number of times and seasons in which the team has won a league championship. The template defaults to "None" if the field is removed. If the field is included but with no value entered (i.e. league_champs = ), the second column appears empty.
div_champs The number of times and seasons in which the team has won a divisional championship. The template defaults to "None" if the field is removed. If the field is included but with no value entered (i.e. div_champs = ), the second column appears empty.
The following fields form the team kit images, and are part of Template:American football uniform. The "h_" and "a_" prefixes (for example, "h_body") refer to the home (first) and away (alternate) team colours. All fields are optional.
pattern_h Indicates helmet design, currently only "_af" (leave this field blank).
pattern_la Indicates left sleeve design, currently only "_af" (leave this field blank).
pattern_b Indicates body design, see Template:Football kit/pattern list for available patterns, or leave blank.
pattern_ra Indicates right sleeve design, currently only "_af" (leave this field blank).
pattern_p Indicates pants design, currently no patterns available so leave this field blank.
pattern_s Indicates socks design, currently no patterns so leaves this field blank.
helmet Indicates helmet colour - enter the required hex code (minus the hash sign). Defaults to black.
leftarm Indicates left sleeve colour - enter the required hex code (minus the hash sign). Defaults to black.
body Indicates body colour - enter the required hex code (minus the hash sign). Defaults to black.
rightarm Indicates right sleeve colour - enter the required hex code (minus the hash sign). Defaults to black.
pants Indicates pants colour - enter the required hex code (minus the hash sign). Defaults to black.
socks Indicates sock colour - enter the required hex code (minus the hash sign). Defaults to black.
title Title of kit design

Examples

Malton Rotters
Established2005
Folded2012
Based inMalton
Home stadiumClapton Stadium
Head coachDoctor Parrott
General managerChief Seagull
LeagueBAFA Community Leagues
DivisionDivision 3 South
League titles2 (2007, 2009)
Division titles1 (2006)
Uniform
Helmet
Left arm Body Right arm
Trousers
Socks
Home kit
Helmet
Left arm Body Right arm
Trousers
Socks
Away kit
Helmet
Left arm Body Right arm
Trousers
Socks
Home kit
{{Infobox American football team
| name = Malton Rotters
| logo = AmericanFootball.svg
| logosize= 200px
| established = 2005
| folded = 2012
| location = [[Urban Dead| Malton]]
| stadium = Clapton Stadium
| coach = Doctor Parrott
| manager = Chief Seagull
| league = [[BAFA Community Leagues]]
| division = Division 3 South
| league_champs = 2 (2007, 2009)
| div_champs = 1 (2006)
| h_pattern_h =_af
| h_pattern_la =
| h_pattern_b =
| h_pattern_ra =
| h_pattern_p =
| h_pattern_s =_af
| h_helmet =000000
| h_leftarm =008800
| h_body =008800
| h_rightarm =008800
| h_pants =000000
| h_socks =000000
| h_title =Home kit
| a_pattern_h =_af
| a_pattern_la =
| a_pattern_b =_thingreensides
| a_pattern_ra =
| a_pattern_p =
| a_pattern_s =_af
| a_helmet =FFFFFF
| a_leftarm =FFFFFF
| a_body =FFFFFF
| a_rightarm =FFFFFF
| a_pants =FFFFFF
| a_socks =008800
| a_title =Away kit
}}

Tracking category