Predloga:Infopolje Košarkar
Rojstvo | |
---|---|
Smrt |
Usage
[uredi kodo]Blank template with parameters for active players[uredi kodo]{{Infopolje Košarkar | name = | image = | number = | position = | height_ft = | height_in = | weight_lb = | league = | team = | birth_date = | birth_place = | nationality = | high_school = | college = | draft_year = | draft_round = | draft_pick = | draft_team = | career_start = | years1 = | team1 = | highlights = | letter = | bbr = | nba_profile = }} |
Blank template with parameters for retired players[uredi kodo]{{Infopolje Košarkar | name = | image = | number = | position = | height_ft = | height_in = | weight_lb = | league = | birth_date = | birth_place = | nationality = | high_school = | college = | draft_year = | draft_round = | draft_pick = | draft_team = | career_start = | career_end = | years1 = | team1 = | highlights = | stat1label = | stat1value = | stat2label = | stat2value = | stat3label = | stat3value = | letter = | bbr = | nba_profile = | HOF_player = | FIBA_HOF_player = }} |
Blank template with all parameters[uredi kodo]{{Infopolje Košarkar | name = | image = | image_size = | caption = | number = | position = | height_ft = | height_in = | height_footnote = | weight_lb = | weight_footnote = | league = | team = | team_link = | birth_date = | birth_place = | death_date = | death_place = | nationality = | high_school = | college = | draft_year = | draft_round = | draft_pick = | draft_team = | career_start = | career_end = | career_position = | career_number = | coach_start = | coach_end = | years1 = | team1 = | years2 = | team2 = | years3 = | team3 = | years4 = | team4 = | years5 = | team5 = | years6 = | team6 = | years7 = | team7 = | years8 = | team8 = | years9 = | team9 = | years10 = | team10 = | years11 = | team11 = | years12 = | team12 = | years13 = | team13 = | years14 = | team14 = | years15 = | team15 = | years16 = | team16 = | years17 = | team17 = | years18 = | team18 = | years19 = | team19 = | years20 = | team20 = | years21 = | team21 = | years22 = | teams22 = | years23 = | team23 = | years24 = | team24 = | years25 = | team25 = | years26 = | team26 = | years27 = | team27 = | years28 = | team28 = | years29 = | team29 = | years30 = | team30 = | years31 = | team31 = | years32 = | team32 = | years33 = | team33 = | years34 = | team34 = | years35 = | team35 = | years36 = | team36 = | years37 = | team37 = | years38 = | team38 = | years39 = | team39 = | years40 = | team40 = | cyears1 = | cteam1 = | cyears2 = | cteam2 = | cyears3 = | cteam3 = | cyears4 = | cteam4 = | cyears5 = | cteam5 = | cyears6 = | cteam6 = | cyears7 = | cteam7 = | cyears8 = | cteam8 = | cyears9 = | cteam9 = | cyears10 = | cteam10 = | cyears11 = | cteam11 = | cyears12 = | cteam12 = | cyears13 = | cteam13 = | cyears14 = | cteam14 = | cyears15 = | cteam15 = | cyears16 = | cteam16 = | cyears17 = | cteam17 = | cyears18 = | cteam18 = | cyears19 = | cteam19 = | cyears20 = | cteam20 = | highlights = | stat1label = | stat1value = | stat2label = | stat2value = | stat3label = | stat3value = | letter = | bbr = | nba_profile = | HOF = | HOF_player = | HOF_coach = | FIBA_HOF_player = | CBBASKHOF_year = | medal_templates = }} |
Height and weight units
[uredi kodo]To specify the players height in feet and inches, and weight in pounds, use
| height_ft = | height_in = | weight_lb =
For centimeters and kilograms, use
| height_cm = | weight_kg =
For meters and kilograms, use
| height_m = | weight_kg =
Parametri
[uredi kodo]Parametri | Uporaba | Opomba |
---|---|---|
name |
The person's name, in first-last format. Do not put nicknames, sourced or not. | Optional |
image |
The person's image. | Optional |
image_size |
The size of the image. Use only when there is an image | Optional |
caption |
The caption of the image. Write a concise and accurate statement. Image with only a person's face usually do not need a caption. | Optional |
number |
The person's current jersey number. | |
position |
The person's position. For a player's position, use one of the five official positions. Avoid using abbreviations. | Optional |
height_ft /height_in |
The player's height in feet and inches. When specifying, round to the nearest inch. For example, for a player 6 ft 11 in (2,11 m) tall, the height_ft parameter should show "6", the height_in parameter "11". Use either height_ft /height_in or height_cm or height_m but not more than one type at the same time. |
|
height_cm |
The player's height in centimeters. When specifying, round to the nearest cm. For example, for a player 211 cm (6 ft 11 in) tall, the height_cm parameter should show "211". Use either height_cm or height_m or height_ft /height_in but not more than one type at the same time. |
|
height_m |
The player's height in meters. When specifying, use two digits of precision. For example, for a player 211 m (692 ft 3 in) tall, the height_m parameter should show "2.11", using a decimal point (not a comma). Use either height_m or height_cm or height_ft /height_in but not more than one type at the same time. |
|
height_footnote |
Use only if an additional note needs to be placed next to the height, e.g. an explanatory note for a disputed height. | Optional |
weight_lb |
The player's weight in pounds. Use either weight_lb or weight_kg but not both. |
|
weight_kg |
The player's weight in kilograms. Use either weight_kg or weight_lb but not both. |
|
weight_footnote |
Use only if an additional note needs to be placed next to the weight, e.g. an explanatory note for a disputed weight. | Optional |
league |
The person's current league. Requires "team" to be set to be displayed. | Optional |
team |
The person's current team. Do not put the person's former team(s), as they belong to teamN or cteamN (below). Do not wikilink the team name. Put in Free agent if a player is a free agent. If a person has retired, this parameter should be left empty. |
Optional |
team_link |
Use only if the team name does not match the team's article title. | Optional |
birth_date |
The person's birth date. | |
birth_place |
The person's birth place. | |
death_date |
The person's death date. | Optional |
death_place |
The person's death place. | Optional |
nationality |
The person's respective nationality. | Optional |
high_school |
The person's high school. | Optional |
college |
The college(s) the person attended prior to a professional basketball career. Players should follow the format:[[college basketball team article|college name]]([[season|year]]–[[season|year]]) If an article for the college basketball team does not exist, wikilink to the school's athletic team article, which is usually [[<school name> <team name>]] e.g. [[Loyola Marymount Lions|Loyola Marymount]] . Otherwise, wikilink to the school's article. |
Optional |
draft_year |
The year in which the player entered the NBA draft. | Optional |
draft_round |
The player's draft round. If a player was not drafted, this parameter is not necessary. | Optional |
draft_pick |
The player's draft pick number. If a player was not drafted, this parameter is not necessary. If a player was a territorial pick, then put [[NBA territorial pick|Territorial]] . |
Optional |
draft_team |
The player's draft team. If a player was not drafted, this parameter is not necessary. | Optional |
career_start |
The year in which the player started his/her career | |
career_end |
The year in which the player ended this/her career | |
career_position |
The position(s) played while a player. Used when a former player is now an active coach. | |
career_number |
The number(s) worn while a player. Used when a former player is now an active coach, or an active player that has worn other numbers. | |
coach_start |
The year in which the person's coaching career began. | |
coach_end |
The year in which the person's coaching career ended. | |
years1, team1, |
All the team(s) the person has played for during his career. Should follow the format: |years1 = [[season|year]]–[[season|year]] |team1 = [[Team1]] |years2 = [[season|year]]–[[season|year]] |team2 = [[Team2]] ... Separate stints with the same team should be separate team/year entries.A stint with a team that moved or was renamed should be listed as a single entry: |teamN = [[TeamN]] / [[RenamedTeamN]] An NBA player in the NBA Development League on assignment should be listed in the following format: |years1 = [[season|year]]–[[season|year]] |team1 = [[NBA team]] |years2 = [[season|year]]–[[season|year]] |team2 = →[[D-League team]] ([[NBA Development League|D-League]]) If a player is in the D-League but does not have an NBA contract, no → should be used for the team entry. All stints for professional minor league and overseas leagues should be listed. The country which an overseas team is based should be listed with the format: |teamN = [[OverseasTeam]] ([[OverseasLeague|country]]) |
|
cyears1, cteam1, |
All the team(s) the person has coached for during his career. | Optional |
highlights |
All notable highlights and awards that the person has won. Should follow the format:
|
Optional |
letter |
The text between the last and second-last slashes in the URL of the player's basketball-reference.com profile | Optional |
bbr |
The text between the last slash and .html in the URL of the player's basketball-reference.com profile |
Optional |
nba_profile |
The text between the last and second-last slashes in the URL of the player's NBA.com profile (linked at nba.com/players). |
Optional |
HOF /HOF_player /HOF_coach |
The text behind the last slash in the URL of the person's Naismith Memorial Basketball Hall of Fame profile For individual inducted as player, use HOF_player For individual inducted as coach, use HOF_coach |
Optional |
FIBA_HOF_player |
The number between the last and second-last slash in the URL of the player's FIBA Hall of Fame profile | Optional |
CBBASKHOF_year |
Year inducted into the National Collegiate Basketball Hall of Fame | Optional |
medal_templates |
For medal templates only | Optional |
Zgledi
[uredi kodo]{{Infopolje Košarkar | name = Kevin Garnett | image = Kevin Garnett 2008-01-13.jpg | caption = Garnett with the Celtics on January 13, 2008 | position = [[Power forward (basketball)|Power forward]] | height_ft = 6 | height_in = 11 | weight_lb = 253 | league = [[NBA]] | team = Brooklyn Nets | team_link = | number = 2 | birth_date = {{birth date and age|mf=yes|1976|5|19}} | birth_place = [[Greenville, South Carolina]] | nationality = American | high_school = [[Mauldin High School]]<br>[[Farragut Career Academy]] | college = | draft_round = 1 | draft_pick = 5 | draft_year = 1995 | draft_team = [[Minnesota Timberwolves]] | career_start = 1995 | career_end = | years1 = 1995–2007 | team1 = [[Minnesota Timberwolves]] | years2 = 2007–present | team2 = [[Boston Celtics]] | highlights = *[[List of NBA champions|NBA champion]] ([[2008 NBA Finals|2008]]) *[[NBA Most Valuable Player Award|NBA Most Valuable Player]] ([[2003–04 NBA season|2004]]) *[[NBA Defensive Player of the Year Award|NBA Defensive Player of the Year]] ([[2007–08 NBA season|2008]]) *13× [[List of NBA All-Stars|NBA All-Star]] ([[1997 NBA All-Star Game|1997]]–[[1998 NBA All-Star Game|1998]], [[2000 NBA All-Star Game|2000]]–[[2010 NBA All-Star Game|2010]]) *4× [[All-NBA Team|All-NBA First Team]] ([[1999–2000 NBA season|2000]], [[2002–03 NBA season|2003]]–[[2003–04 NBA season|2004]], [[2007–08 NBA season|2008]]) *3× [[All-NBA Team|All-NBA Second Team]] ([[2000–01 NBA season|2001]]–[[2001–02 NBA season|2002]], [[2004–05 NBA season|2005]]) *2× [[All-NBA Team|All-NBA Third Team]] ([[1998–99 NBA season|1999]], [[2006–07 NBA season|2007]]) *8× [[NBA All-Defensive Team|All-Defensive First Team]] ([[1999–00 NBA season|2000]]–[[2004–05 NBA season|2005]], [[2007–08 NBA season|2008]]–[[2008–09 NBA season|2009]]) *2× [[NBA All-Defensive Team|All-Defensive Second Team]] ([[2005–06 NBA season|2006]]–[[2006–07 NBA season|2007]]) *[[NBA All-Rookie Team|NBA All-Rookie Second Team]] ([[1995–96 NBA season|1996]]) *[[NBA All-Star Game Most Valuable Player Award|NBA All-Star Game MVP]] ([[2002–03 NBA season|2003]]) *[[J. Walter Kennedy Citizenship Award]] ([[2005–06 NBA season|2006]]) | nba_profile = kevin_garnett | medal_templates = {{MedalCountry|{{USA}}}} {{MedalSport|[[Basketball]]}} {{MedalCompetition|[[Olympic Games]]}} {{MedalGold|[[2000 Summer Olympics|2000 Sydney]] | [[Basketball at the 2000 Summer Olympics|United States]]}} }}
Integracija infopolj z Wikipodatki
[uredi kodo]Prednosti in slabosti
[uredi kodo]Prednosti:
- Zajemanje podatkov iz centralnega prostora za vse Wikipedije
- Ustvarjanje in osveževanje podatkov na enem mestu
Slabosti:
- Neustrezno osveževanje ali brisanje podatkov izven nadzora naše Wikipedije, ker sprememb podatkov ne vidiš direktno v članku.
Kako Wikipodatki zbirajo podatke
[uredi kodo]Podatki v Wikipodatke vnašajo uporabniki in boti. Nekateri boti podatke pridobijo iz Wikipedijinih infopolj, kategorij in člankov. Vsak članek (»item« v terminologiji Wikipodatkov) ima ustrezno stran v Wikipodatkih, kjer se nahajajo podatki. Nekateri boti dodajo »imported from _ Wikipedia« kot obvestilo o izvoru informacije. Ko se podatki prenašajo iz Wikipedije v Wikidata se le-ti ne spremenijo. Pri razvoju baze Wikipodatkov pomagajo izkušenejši Wikipedisti iz različnih projektov.
Delovanje
[uredi kodo]V določenih infopoljih se že uporabljajo podatki iz Wikipodatkov. Za katere podatke gre so na voljo informacije v samem infopolju. Podatki se zajemajo iz Wikipodatkov le v primeru, ko določeni parameter nima že vnesene lokalne vrednosti.
- Če je v članku na vrhu vključeno prazno infopolje brez kakršnih koli parametrov, se bodo vsi podatki napolnili iz Wikipodatkov.
- Če ima članek v Wikipodatkih vpisane tudi rojstne podatke in podatke o smrti, zato se le-ti pojavijo v infopolju. Tukaj se izvede tudi avtomatska kategorizacija v kategoriji Rojeni leta xxxx in Umrli leta yyyy. Članek se pojavi tudi v vzdrževalni kategoriji Kategorija:Članki z redefiniranimi elementi iz Wikipodatkov, ker je v Wikipodatkih na voljo tudi slika, infopolje pa uporablja lastno sliko.
Zatorej, vedno imajo prednost lokalni podatki, ki so vneseni v parametre infopolj.
Kako vnesti podatke v Wikipodatke
[uredi kodo]Vsak članek (objekt) ima na levi strani v menuju Orodja -> Objekt Wikipodatki možnost urejanja lastnih Wikipodatkov. Točno kako je tam treba izpolniti podatke si je najbolje ogledati kar na primeru Michael Jordan v Wikidata.
Microformats
[uredi kodo]Koda HTML, ki jo producira ta predloga, vključuje mikroformat hCard, ki omogoča računalnikom, da razčlenijo subjektove podatke. Ta proces je bodisi samodejen, za katalogiziranje člankov v Wikipediji, bodisi na ročno zahtevo bralca s pomočjo orodja v brskalniku, ki na primer doda osebo v adresar.
Parametri o dnevu rojstva ("bday") bodo vključeni v mikroformatu samo, če bo infopolje vsebovalo predlogo {{Datum rojstva}} ali {{Datum rojstva in starost}}.
hCard uporablja naslednje razrede HTML:
- 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
Prosimo, ne preimenujte ali odstranite teh razredov.
Template Data
[uredi kodo]TemplateData za Infopolje Košarkar
An infobox for basketball biography.
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
Name | name | The person's name, in first-last format. Do not put nicknames, sourced or not.
| Niz | neobvezno |
Image | image | The person's image.
| Ime strani | neobvezno |
Image size | image_size | The size of the image. Use only when there is an image.
| Številka | neobvezno |
Caption | caption | The caption of the image. Write a concise and accurate statement. Image with only a person's face usually do not need a caption.
| Niz | neobvezno |
Number | number | The person's current jersey number.
| Številka | neobvezno |
Position | position | The person's position. For a player's position, use one of the five official positions. Avoid using abbreviations.
| Niz | neobvezno |
Height in feet OR inches | height_ft/height_in | The player's height in feet and inches. When specifying, round to the nearest inch. For example, for a player 6 ft 11 in (2.11 m) tall, the height_ft parameter should show '6', the height_in parameter '11'. Use either height_ft/height_in or height_cm or height_m but not more than one type at the same time.
| Številka | neobvezno |
Height in centimeters | height_cm | The player's height in centimeters. When specifying, round to the nearest cm. For example, for a player 211 cm (6 ft 11 in) tall, the height_cm parameter should show '211'. Use either height_cm or height_m or height_ft/height_in but not more than one type at the same time.
| Številka | neobvezno |
Height in meters | height_m | The player's height in meters. When specifying, use two digits of precision. For example, for a player 2.11 m (6 ft 11 in) tall, the height_m parameter should show '2.11', using a decimal point (not a comma). Use either height_m or height_cm or height_ft/height_in but not more than one type at the same time.
| Številka | neobvezno |
Height footnote | height_footnote | Use only if an additional note needs to be placed next to the height, e.g. an explanatory note for a disputed height.
| Niz | neobvezno |
Weight in pounds | weight_lb | The player's weight in pounds. Use either weight_lb or weight_kg but not both.
| Številka | neobvezno |
Weight in kilograms | weight_kg | The player's weight in kilograms. Use either weight_kg or weight_lb but not both.
| Številka | neobvezno |
Weight footnote | weight_footnote | Use only if an additional note needs to be placed next to the weight, e.g. an explanatory note for a disputed weight.
| Niz | neobvezno |
League | league | The person's current league. Requires 'team' to be set to be displayed.
| Niz | neobvezno |
Team | team | The person's current team. Do not put the person's former team(s), as they belong to teamN or cteamN (below). Do not wikilink the team name. Put in Free agent if a player is a free agent. If a person has retired, this parameter should be left empty.
| Niz | neobvezno |
Team link | team_link | Use only if the team name does not match the team's article title.
| Niz | neobvezno |
Birth date | birth_date | The person's birth date.
| Niz | neobvezno |
Birth place | birth_place | The person's birth place.
| Niz | neobvezno |
death date | death_date | The person's death date.
| Niz | neobvezno |
Death place | death_place | The person's birth place.
| Niz | neobvezno |
Nationality | nationality | The person's respective nationality.
| Niz | neobvezno |
High school | high_school | The person's high school.
| Niz | neobvezno |
College | college | The college(s) the person attended prior to a professional basketball career. Players should follow the format:[[college basketball team article|college name]]([[season|year]]–[[season|year]])If an article for the college basketball team does not exist, wikilink to the school's athletic team article, which is usually [[<school name> <team name>]] e.g. [[Loyola Marymount Lions|Loyola Marymount]]. Otherwise, wikilink to the school's article.
| Vrstica | neobvezno |
Draft year | draft_year | The year in which the player entered the NBA draft.
| Niz | neobvezno |
Draft round | draft_round | The player's draft round. If a player was not drafted, this parameter is not necessary.
| Niz | neobvezno |
Draft pick | draft_pick | The player's draft pick number. If a player was not drafted, this parameter is not necessary. If a player was a territorial pick, then put [[NBA territorial pick|Territorial]].
| Niz | neobvezno |
Draft team | draft_team | The player's draft team. If a player was not drafted, this parameter is not necessary.
| Niz | neobvezno |
Career start | career_start | The year in which the player started his/her career
| Niz | neobvezno |
Career end | career_end | The year in which the player ended his/her career
| Niz | neobvezno |
Career position | career_position | The position(s) played while a player. Used when a former player is now an active coach.
| Niz | neobvezno |
Career number | career_number | The number(s) worn while a player. Used when a former player is now an active coach, or an active player that has worn other numbers.
| Številka | neobvezno |
Coach start | coach_start | The year in which the person's coaching career began.
| Niz | neobvezno |
Coach end | coach_end | The year in which the person's coaching career ended.
| Niz | neobvezno |
Years and Teams | years1,team1 | All the team(s) the person has played for during his career.Should follow the format:|years1 = [[season|year]]–[[season|year]] |team1 = [[Team1]].
| Niz | neobvezno |
Coached teams in the years | cyears1,cteam1 | All the team(s) the person has coached for during his career.
| Niz | neobvezno |
Highlights | highlights | All notable highlights and awards that the person has won. Should follow the format: * #× [[Award 1]] ([[season|year]], [[season|year]])-Omit #× if the award is won only once.To denote consecutive years, use endash instead of comma and omit the year(s) in between.If possible, use the full name of the award.
| Vrstica | neobvezno |
Letter | letter | The text between the last and second-last slashes in the URL of the player's basketball-reference.com profile
| Niz | neobvezno |
BBR | bbr | The text between the last slash and .html in the URL of the player's basketball-reference.com profile
| Niz | neobvezno |
NBA profile | nba_profile | The text between the last and second-last slashes in the URL of the player's NBA.com profile (linked at nba.com/players).
| Niz | neobvezno |
Hall of Fame | HOF/HOF_player/HOF_coach | The text behind the last slash in the URL of the person's Naismith Memorial Basketball Hall of Fame profile.For individual inducted as player, use HOF_player.For individual inducted as coach, use HOF_coach.
| Niz | neobvezno |
FIBA HOF player | FIBA_HOF_player | The number between the last and second-last slash in the URL of the player's FIBA Hall of Fame profile
| Niz | neobvezno |
CBBASKHOF year | CBBASKHOF_year | Year inducted into the National Collegiate Basketball Hall of Fame
| Niz | neobvezno |
Medal templates | medal_templates | For medal templates only
| Niz | neobvezno |