Difference between revisions of "Template:Infobox field hockey player/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(show alternative parameters for caps/goals, add {{Parameter names example}})
(tweaks)
Line 50: Line 50:
 
| caption              =
 
| caption              =
 
| fullname            =
 
| fullname            =
| birth_date          = <!-- {{Birth date and age|YYY|MM|DD|df=y}} -->
+
| birth_date          = <!-- {{Birth date and age|YYYY|MM|DD|df=y}} -->
 
| birth_place          =  
 
| birth_place          =  
| death_date          = <!-- {{Death date and age|YYY|MM|DD|df=y}} -->
+
| death_date          = <!-- {{Death date and age|YYYY|MM|DD|df=y}} -->
 
| death_place          =  
 
| death_place          =  
| height              = <!-- {{convert| |cm|ftin|frac=2|abbr=on}} or {{convert| |ft| |in|cm|abbr=on}} -->
+
| height              = <!-- {{Convert| |cm|ftin|frac=2|abbr=on}} or {{Convert| |ft| |in|cm|abbr=on}} -->
 
| weight       =
 
| weight       =
 
| position            =  
 
| position            =  

Revision as of 15:38, 7 November 2015

Usage

Up to 5 youth clubs, 10 senior clubs and 3 national teams may be specified.

Blank infobox

Template:Parameter names example

{{Infobox field hockey player
| name                 = 
| image                = 
| image_size           =
| alt                  =
| caption              =
| fullname             =
| birth_date           = <!-- {{Birth date and age|YYYY|MM|DD|df=y}} -->
| birth_place          = 
| death_date           = <!-- {{Death date and age|YYYY|MM|DD|df=y}} -->
| death_place          = 
| height               = <!-- {{Convert| |cm|ftin|frac=2|abbr=on}} or {{Convert| |ft| |in|cm|abbr=on}} -->
| weight 	       =
| position             = 
| currentclub          = 
| youthyears1          = 
| youthclubs1          = 
| youthyears2          = 
| youthclubs2          = 
| years1               = 
| clubs1               = 
| caps(goals)1         = 
| years2               = 
| clubs2               = 
| caps(goals)2         = 
| totalcaps(goals)     =
| nationalyears1       = 
| nationalteam1        = 
| nationalcaps(goals)1 = 
| nationalyears2       = 
| nationalteam2        = 
| nationalcaps(goals)2 = 
| medaltemplates       = 
| updated              = 
}}

Separate caps/goals parameters

Template:Parameter names example

{{Infobox field hockey player
| name           = 
| image          = 
| image_size     =
| alt            =
| caption        =
| fullname       =
| birth_date     = <!-- {{Birth date and age|YYY|MM|DD|df=y}} -->
| birth_place    = 
| death_date     = <!-- {{Death date and age|YYY|MM|DD|df=y}} -->
| death_place    = 
| height         = <!-- {{convert| |cm|ftin|frac=2|abbr=on}} or {{convert| |ft| |in|cm|abbr=on}} -->
| weight 	 =
| position       = 
| currentclub    = 
| youthyears1    = 
| youthclubs1    = 
| youthyears2    = 
| youthclubs2    = 
| years1         = 
| clubs1         = 
| caps1          = 
| goals1         = 
| years2         = 
| clubs2         = 
| caps2          = 
| goals2         = 
| totalcaps      =
| totalgoals     =
| nationalyears1 = 
| nationalteam1  = 
| nationalcaps1  = 
| nationalgoals1 = 
| nationalyears2 = 
| nationalteam2  = 
| nationalcaps2  = 
| nationalgoals2 = 
| medaltemplates = 
| updated        = 
}}

Example

Ellen Hoog
Personal information
Born (1986-03-26) March 26, 1986 (age 39)
Bloemendaal, Netherlands
Height 5 ft 7 in (170 cm)
Playing position Midfield
Senior career
Years Team Apps (Gls)
2002-present SCHC ?? (15)
National team
Years Team Apps (Gls)
2004-present Netherlands 34 (7)
Medal record
{{Infobox field hockey player
| name                 = Ellen Hoog
| image                =
| caption              = 
| birth_date           = {{Birth date and age|1986|3|26}}
| birth_place          = [[Bloemendaal]], Netherlands
| height               = {{convert|5|ft|7|in|cm|abbr=on}}
| position             = Midfield
| clubs1               = [[Stichtse Cricket en Hockey Club|SCHC]]
| years1               = 2002-present
| caps(goals)1         = ?? (15)
| nationalteam1        = [[Netherlands women's national field hockey team|Netherlands]]
| nationalyears1       = 2004-present
| nationalcaps(goals)1 = 34 (7)
| medaltemplates       =
{{MedalSport|Women's [[field hockey]]}}
{{MedalCountry|the {{NED}}}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Field hockey at the 2008 Summer Olympics – Women's tournament|Team competition]]}}
}}

Microformat

Template:UF-hcard-person