Template:Infobox handball biography/doc

From The Global Wiki
< Template:Infobox handball biography
Revision as of 01:07, 18 January 2023 by Ofngv (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Infobox handball biography}} is intended to provide a quick overview of a handball player's or manager's details to enable a reader to extract the most oft-needed information without trawling through the article proper. It is most appropriately used for professional players and managers and should not be leveraged for amateurs, no matter their profile.

Usage

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

{{Infobox handball biography
| name                = 
| image               = <!-- Player Photo.jpg -->
| image_size          = 
| alt                 = 
| caption             = 
| full_name           = 
| birth_date          = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place         = 
| death_date          = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place         = 
| nationality         = <!-- use only when necessary per [[WP:INFONAT]] -->
| height              = <!-- XXX cm or X ft XX in -->
| position            = 
| currentclub         = 
| clubnumber          = 
| youthyears1         = 
| youthclubs1         = 
| years1              = 
| clubs1              = 
| nationalyears1      = 
| nationalteam1       = 
| nationalcaps1       = 
| nationalgoals1      = 
| titleyears1         = 
| title1              = 
| titleplace1         = 
| manageryears1       = 
| managerclubs1       = 
| show-medals         = 
| medaltemplates      = 
| module              = 
| ntupdate            = <!-- {{subst:Date}} or {{subst:Date|2=mdy}} -->
}}
  • When filling in the |ntupdate= parameter, use {{subst:Date}} or {{subst:Date|2=mdy}}.

Use as a child template

The 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 handball biography | embed=yes
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Embedding other templates

The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).

{{Infobox handball biography
| name = 
| <!-- etc. -->
| module = 
  {{Infobox basketball biography | embed=yes
  | <!-- etc. -->
  }}
}}

Examples

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

{{Infobox handball biography
| name           = Heidi Løke
| image          = Heidi Løke.jpg
| caption        = Løke in 2011
| birth_date     = {{birth date and age|1982|12|12|df=y}}
| birth_place    = [[Tønsberg]], [[Norway]]
| nationality    = Norwegian
| height         = 1.73 m
| position       = Pivot
| currentclub    = [[Storhamar HE]]
| clubnumber     = 5
| years1         = {{0|0000}}–2000
| clubs1         = [[IL Runar]]
| years2         = 2000–2002
| clubs2         = [[Larvik HK]]
| years3         = 2002–2007
| clubs3         = [[Gjerpen IF]]
| years4         = 2007–2008
| clubs4         = [[Aalborg DH]]
| years5         = 2008–2011
| clubs5         = [[Larvik HK]]
| years6         = 2011–2017
| clubs6         = [[Győri Audi ETO KC]]
| years7         = 2017–2019
| clubs7         = [[Storhamar HE]]
| years8         = 2019–
| clubs8         = [[Vipers Kristiansand]]
| nationalyears1 = 2006–
| nationalteam1  = [[Norway women's national handball team|Norway]]
| nationalcaps1  = 215
| nationalgoals1 = 789
| medaltemplates = 
{{MedalSport|Women's [[handball]]}}
{{MedalCountry|{{NOR}}}}
{{MedalCompetition|[[Handball at the Summer Olympics|Olympic Games]]}}
{{MedalGold|[[Handball at the 2012 Summer Olympics|2012 London]]|[[Handball at the 2012 Summer Olympics – Women's tournament|Team]]}}
{{MedalBronze|[[Handball at the 2016 Summer Olympics|2016 Rio de Janeiro]]|[[Handball at the 2016 Summer Olympics – Women's tournament|Team]]}}
}}

Using embed parameter

Tom Schneeberger
Born (1956-05-18) May 18, 1956 (age 68)
Script error: No such module "Parameter names example".
Basketball career
Career information
High schoolScript error: No such module "If empty".
CollegeAir Force Falcons (Colorado Springs, CO)
[[Script error: No such module "If empty". draft]][[Script error: No such module "If empty". Script error: No such module "If empty". draft|Script error: No such module "If empty".]] / Round: Script error: No such module "If empty". / Pick: Script error: No such module "If empty".
Selected by the Script error: No such module "If empty".
PositionScript error: No such module "If empty".
NumberScript error: No such module "If empty".
StatsLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value). at NBA.com
StatsLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value). at Basketball-Reference.com
{{Infobox person
| name         = Tom Schneeberger
| birth_date   = {{Birth date and age|1956|05|18}}
| birth_place  = [[Ann Arbor, Michigan]], [[United States]]
| module       = 
  {{Infobox handball biography | embed = yes
  | years1         = 1976-
  | clubs1         = [[Air Force Falcons]]
  | nationalyears1 = 1976-
  | nationalteam1  = [[United States men's national handball team]]
  }}
| module2          = 
  {{Infobox basketball biography | embed = yes
  | position      = [[Power forward (basketball)|Power Forward]]
  | college       = [[Air Force Falcons men's basketball|Air Force Falcons]] ([[Colorado Springs, CO]])
  | draft_year    = 1978
  | draft_round   = 9
  | draft_pick    = 183
  | draft_team    = [[Denver Nuggets]]
  }}
}}

Using module parameter

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

{{Infobox handball biography
| name           = Tom Schneeberger
| birth_date     = {{Birth date and age|1956|05|18}}
| birth_place    = [[Ann Arbor, Michigan]], [[United States]]
| years1         = 1976-
| clubs1         = [[Air Force Falcons]]
| nationalyears1 = 1976-
| nationalteam1  = [[United States men's national handball team]]
| module         = 
  {{Infobox basketball biography | embed = yes
  | position     = [[Power forward (basketball)|Power Forward]]
  | college      = [[Air Force Falcons men's basketball|Air Force Falcons]] ([[Colorado Springs, CO]])
  | draft_year   = 1978
  | draft_round  = 9
  | draft_pick   = 183
  | draft_team   = [[Denver Nuggets]]
  }}
}}

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking categories