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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add missing parameters to blank template)
imported>Zyxw
(show alternative parameters for caps/goals, add {{Parameter names example}})
Line 6: Line 6:
  
 
===Blank infobox===
 
===Blank infobox===
<pre>{{Infobox field hockey player
+
{{Parameter names example | _display = italics
 +
| name
 +
| image = ''<nowiki>image</nowiki>''
 +
| image_size = ''<nowiki>image_size</nowiki>''
 +
| alt = ''<nowiki>alt</nowiki>''
 +
| caption
 +
| fullname
 +
| birth_date
 +
| birth_place
 +
| death_date
 +
| death_place
 +
| height
 +
| 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
 +
}}
 +
 
 +
<pre style="overflow:auto; white-space:pre;">
 +
{{Infobox field hockey player
 
| name                =  
 
| name                =  
 
| image                =  
 
| image                =  
Line 40: Line 77:
 
| medaltemplates      =  
 
| medaltemplates      =  
 
| updated              =  
 
| updated              =  
}}</pre>
+
}}
 +
</pre>
 +
{{clear}}
 +
 
 +
=== Separate caps/goals parameters ===
 +
{{Parameter names example | _display = italics
 +
| name
 +
| image = ''<nowiki>image</nowiki>''
 +
| image_size = ''<nowiki>image_size</nowiki>''
 +
| alt = ''<nowiki>alt</nowiki>''
 +
| caption
 +
| fullname
 +
| birth_date
 +
| birth_place
 +
| death_date
 +
| death_place
 +
| height
 +
| 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
 +
}}
 +
 
 +
<pre style="overflow:auto; white-space:pre;">
 +
{{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        =
 +
}}
 +
</pre>
 +
{{clear}}
  
 
==Example==
 
==Example==

Revision as of 02:29, 1 October 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|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               = 
| 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