Difference between revisions of "Template:Infobox field hockey player/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing (→Blank infobox: ce) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (27 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- Categories | + | <!-- Categories go at the bottom of this page. --> |
| + | {{Lua|Module:Infobox3cols|Module:InfoboxImage|Module:Wikidata|Module:Check for unknown parameters}} | ||
| + | {{Uses Wikidata|P18}} | ||
== Usage == | == Usage == | ||
Up to 5 youth clubs, 10 senior clubs and 3 national teams may be specified. | Up to 5 youth clubs, 10 senior clubs and 3 national teams may be specified. | ||
| + | |||
| + | If {{para|child|yes}} the result will be a child infobox suitable for use inside other infoboxes. | ||
===Blank infobox=== | ===Blank infobox=== | ||
| − | <pre>{{Infobox field hockey player | + | {{Parameter names example | _display = italics |
| − | |name = | + | | name |
| − | | | + | | image = ''<nowiki>image</nowiki>'' |
| − | |birth_date | + | | image_size = ''<nowiki>image_size</nowiki>'' |
| − | |birth_place | + | | alt = ''<nowiki>alt</nowiki>'' |
| − | |death_date | + | | caption |
| − | |death_place | + | | full_name |
| − | |height | + | | birth_name |
| − | |position | + | | birth_date |
| − | |currentclub | + | | birth_place |
| − | |youthclubs1 | + | | death_date |
| − | | | + | | death_place |
| − | | | + | | height |
| − | |years1 | + | | weight |
| − | |caps(goals)1 = | + | | position |
| − | | | + | | currentclub |
| − | | | + | | youthyears1 |
| − | |nationalcaps(goals) | + | | youthclubs1 |
| − | |updated | + | | youthyears2 |
| − | |medaltemplates = | + | | youthclubs2 |
| − | }}</pre> | + | | years1 |
| + | | clubs1 | ||
| + | | caps(goals)1 | ||
| + | | years2 | ||
| + | | clubs2 | ||
| + | | caps(goals)2 | ||
| + | | totalcaps(goals) | ||
| + | | nationalyears1 | ||
| + | | nationalteam1 | ||
| + | | nationalcaps(goals)1 | ||
| + | | nationalyears2 | ||
| + | | nationalteam2 | ||
| + | | nationalcaps(goals)2 | ||
| + | | medaltemplates | ||
| + | | updated | ||
| + | | manageryears1 | ||
| + | | managerclubs1 | ||
| + | | manageryears2 | ||
| + | | managerclubs2 | ||
| + | }} | ||
| + | |||
| + | <pre style="overflow:auto; white-space:pre;"> | ||
| + | {{Infobox field hockey player | ||
| + | | name = | ||
| + | | image = | ||
| + | | image_size = | ||
| + | | alt = | ||
| + | | caption = | ||
| + | | full_name = <!-- if different --> | ||
| + | | birth_name = <!-- if different --> | ||
| + | | 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 = | ||
| + | | manageryears1 = | ||
| + | | managerclubs1 = | ||
| + | | manageryears2 = | ||
| + | | managerclubs2 = | ||
| + | | medaltemplates = | ||
| + | | updated = | ||
| + | }} | ||
| + | </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 | ||
| + | | full_name | ||
| + | | birth_name | ||
| + | | 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 | ||
| + | | manageryears1 | ||
| + | | managerclubs1 | ||
| + | | manageryears2 | ||
| + | | managerclubs2 | ||
| + | | medaltemplates | ||
| + | | updated | ||
| + | }} | ||
| + | |||
| + | <pre style="overflow:auto; white-space:pre;"> | ||
| + | {{Infobox field hockey player | ||
| + | | name = | ||
| + | | image = | ||
| + | | image_size = | ||
| + | | alt = | ||
| + | | caption = | ||
| + | | full_name = <!-- if different --> | ||
| + | | birth_name = <!-- if different --> | ||
| + | | 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 = | ||
| + | | caps1 = | ||
| + | | goals1 = | ||
| + | | years2 = | ||
| + | | clubs2 = | ||
| + | | caps2 = | ||
| + | | goals2 = | ||
| + | | totalcaps = | ||
| + | | totalgoals = | ||
| + | | nationalyears1 = | ||
| + | | nationalteam1 = | ||
| + | | nationalcaps1 = | ||
| + | | nationalgoals1 = | ||
| + | | nationalyears2 = | ||
| + | | nationalteam2 = | ||
| + | | nationalcaps2 = | ||
| + | | nationalgoals2 = | ||
| + | | manageryears1 = | ||
| + | | managerclubs1 = | ||
| + | | manageryears2 = | ||
| + | | managerclubs2 = | ||
| + | | medaltemplates = | ||
| + | | updated = | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | * When filling in the updated parameter, use <code><nowiki>{{subst:Date}}</nowiki></code> or <code><nowiki>{{subst:Date|2=mdy}}</nowiki></code>. | ||
| + | |||
| + | == Use as a child template == | ||
| + | The '''child''' or '''embed''' parameter is used when embedding this infobox into another. | ||
| + | |||
| + | {{Infobox person module documentation|Infobox field hockey player|parameter=child}} | ||
==Example== | ==Example== | ||
{{Infobox field hockey player | {{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 | |
| − | {{MedalCountry | the {{NED}} }} | + | | nationalcaps(goals)1 = 34 (7) |
| + | | medaltemplates = | ||
| + | {{MedalSport|Women's [[field hockey]]}} | ||
| + | {{MedalCountry|the {{NED}}}} | ||
{{MedalCompetition|[[Olympic Games]]}} | {{MedalCompetition|[[Olympic Games]]}} | ||
{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Field hockey at the 2008 Summer Olympics – Women's tournament|Team competition]]}} | {{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Field hockey at the 2008 Summer Olympics – Women's tournament|Team competition]]}} | ||
}} | }} | ||
| − | <pre style="overflow:auto"> | + | |
| + | <pre style="overflow:auto; white-space:pre;"> | ||
{{Infobox field hockey player | {{Infobox field hockey player | ||
| − | |name=Ellen Hoog | + | | name = Ellen Hoog |
| − | |image= | + | | image = |
| − | |birth_date ={{Birth date and age|1986|3|26}} | + | | caption = |
| − | |birth_place=[[Bloemendaal]] | + | | birth_date = {{Birth date and age|1986|3|26}} |
| − | |position=Midfield | + | | birth_place = [[Bloemendaal]], Netherlands |
| − | |clubs1=[[Stichtse Cricket en Hockey Club|SCHC]] | + | | height = {{convert|5|ft|7|in|cm|abbr=on}} |
| − | |years1=2002-present | + | | position = Midfield |
| − | |caps(goals)1 =?? (15) | + | | clubs1 = [[Stichtse Cricket en Hockey Club|SCHC]] |
| − | |nationalteam1=[[Netherlands women's national field hockey team|Netherlands]] | + | | years1 = 2002-present |
| − | |nationalyears1=2004-present | + | | caps(goals)1 = ?? (15) |
| − | |nationalcaps(goals)1=34 (7) | + | | nationalteam1 = [[Netherlands women's national field hockey team|Netherlands]] |
| − | |medaltemplates= | + | | nationalyears1 = 2004-present |
| − | {{MedalSport | Women's [[field hockey]]}} | + | | nationalcaps(goals)1 = 34 (7) |
| − | {{MedalCountry | the {{NED}} }} | + | | medaltemplates = |
| + | {{MedalSport|Women's [[field hockey]]}} | ||
| + | {{MedalCountry|the {{NED}}}} | ||
{{MedalCompetition|[[Olympic Games]]}} | {{MedalCompetition|[[Olympic Games]]}} | ||
{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Field hockey at the 2008 Summer Olympics – Women's tournament|Team competition]]}} | {{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Field hockey at the 2008 Summer Olympics – Women's tournament|Team competition]]}} | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
== Microformat == | == Microformat == | ||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
| − | <includeonly> | + | == Tracking category == |
| − | <!-- Categories and interwikis go | + | * {{clc|Pages using Infobox field hockey player with unknown parameters}} |
| + | |||
| + | == See also == | ||
| + | * [[Template:Infobox sportsperson]] | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
| + | <!-- Categories go here and interwikis go in Wikidata. --> | ||
[[Category:Field hockey infobox templates|Fielder]] | [[Category:Field hockey infobox templates|Fielder]] | ||
| − | [[Category:Sportsperson infobox templates| | + | [[Category:Sportsperson infobox templates|Field hockey]] |
| − | </includeonly> | + | [[Category:Biographical templates usable as a module|Field hockey]] |
| + | [[Category:Infobox templates using Wikidata]] | ||
| + | [[Category:Infobox templates with three columns]] | ||
| + | [[Category:Infobox templates with updated parameter]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
| + | }}</includeonly> | ||
Latest revision as of 19:28, 25 April 2020
| This is a documentation subpage for Template:Infobox field hockey player. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Contents
Usage
Up to 5 youth clubs, 10 senior clubs and 3 national teams may be specified.
If |child=yes the result will be a child infobox suitable for use inside other infoboxes.
Blank infobox
Template:Parameter names example
{{Infobox field hockey player
| name =
| image =
| image_size =
| alt =
| caption =
| full_name = <!-- if different -->
| birth_name = <!-- if different -->
| 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 =
| manageryears1 =
| managerclubs1 =
| manageryears2 =
| managerclubs2 =
| medaltemplates =
| updated =
}}
Separate caps/goals parameters
Template:Parameter names example
{{Infobox field hockey player
| name =
| image =
| image_size =
| alt =
| caption =
| full_name = <!-- if different -->
| birth_name = <!-- if different -->
| 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 =
| caps1 =
| goals1 =
| years2 =
| clubs2 =
| caps2 =
| goals2 =
| totalcaps =
| totalgoals =
| nationalyears1 =
| nationalteam1 =
| nationalcaps1 =
| nationalgoals1 =
| nationalyears2 =
| nationalteam2 =
| nationalcaps2 =
| nationalgoals2 =
| manageryears1 =
| managerclubs1 =
| manageryears2 =
| managerclubs2 =
| medaltemplates =
| updated =
}}
- When filling in the updated parameter, use
{{subst:Date}}or{{subst:Date|2=mdy}}.
Use as a child template
The child or embed parameter is used when embedding this infobox into another.
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <!-- etc. -->
| module =
{{Infobox field hockey player | child=yes
| parameter-1 =
| parameter-2 =
| parameter-3 =
| parameter-4 =
| <!-- etc. -->
}}
}}
Example
| Personal information | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Born |
March 26, 1986 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
Tracking category
See also