Intended uses uredi

This infobox template is intended to be used in articles about current and former competition swimmers. This infobox template is not intended to be used for articles about former competition swimmers who are primarily notable as competition swimming coaches. Articles about American college swimming coaches use Template:Infobox college coach, the uniform template for college coaches in all American college sports. Infobox college coach may be adapted for swimming coaches of other nationalities; if it is inappropriate for other coaches for any reason, consider using Template:Infobox person.

Uporaba uredi

name
caption
caption
Osebni podatki
Polno imefullname
Vzdeveknickname
Narodnostnationality
Rojstvobirth_name
birth_date
birth_place
Smrtdeath_date
death_place
Višinaheight cm
Težaweight kg
Šport
ŠportPlavanje
Plavalni slogistrokes
Classification(s)classification
Klubclub
Univerzitetna ekipacollegeteam
Trenercoach
{{Infopolje Plavalec
| name           = 
| image          = <!-- Only free-content images are allowed for depicting living people -- see [[WP:NONFREE]]. -->
| image_size     = <!-- Only for images narrower than 220 pixels -->
| alt            =
| caption        = 
| fullname       = 
| nicknames      = 
| nationality    = <!-- Only for the country (or countries) represented in international competition. -->
| birth_name     = 
| birth_date     = {{Birth date and age|yyyy|mm|dd}}
| birth_place    = 
| death_date     = 
| death_place    = 
| height         = {{convert|}} (yyyy)
| weight         = {{convert|}} (yyyy)
| strokes        = 
| classification = <!-- Only for para-swimmers only; omitted otherwise. -->
| club           = 
| collegeteam    = 
| coach          = 
| medaltemplates = 
| show-medals    = 
}}

Parametri uredi

Parameter Description
name The common name of the swimmer.
image A photograph of the swimmer. Type the name of the image file without adding "Image:" or "File:" before it, nor wikilinking it.
image_size The image size. Only use this parameter if the image is less than 220 pixels in width. If so, then indicate the image's respective width in pixels, like this: "image_size=200".
alt Alternative text describing the image displayed for visually impaired readers.
caption A caption for the image displayed.
fullname The full name of the swimmer.
nickname The swimmer's common nickname(s) set off with quote marks. If there is more than one nickname, list the names alphabetically and separate them with commas.
nationality The swimmer's sporting nationality, i.e., the nation that the swimmer represents in international competition. Please note that sporting nationality may differ from legal citizenship; if the swimmer has dual citizenship, only the sporting nationality should be included in this parameter. Complicated situations of nationality and multiple citizenship should be explained in the main body text of the article, if relevant, not in the infobox.
birth_name The birth name of the subject.
birth_date The swimmer's birth date. Use {{Birth date and age|yyyy|mm|dd}} for living swimmers; use {{Birth date|yyyy|mm|dd}} for deceased swimmers.
birth_place The swimmer's place of birth. Note that this is not necessarily the same as the swimmer's "hometown." Birth place should be wiki-linked to the Wikipedia article about the town or city where the swimmer was born.
death_date The swimmer's death date, if applicable. Use {{Death date and age|death|death month|death day|birth year|birth month&|birth day}}.
death_place The swimmer's place of death, if applicable. Death place should be wiki-linked to the Wikipedia article about the town or city where the swimmer died.
height The swimmer's height. If the swimmer is American, state measurements in feet and inches first, then in meters in parentheses. If the swimmer is not American, state measurements in meters first, then in feet and inches in parentheses. This should be done using the {{convert}} template, like this: "{{convert|6|ft|2|in|m|abbr=on}}" or "{{convert|1.70|m|ftin|abbr=on}}".
weight The swimmer's weight. If the swimmer is American, state measurements in pounds first, then in kilograms in parentheses. If the swimmer is not American, state measurements in kilograms first, then in pounds in parentheses. This should be done using the {{convert}} template, like this: "{{convert|120|lb|kg|abbr=on}}" or "{{convert|72|kg|lb|abbr=on}}".
Added parameters for swimmers
strokes The swimmer's primary competitive stroke. If there is more than one stroke, list them alphabetically and separate them by commas. Strokes should be wiki-linked to the relevant Wikipedia articles.
classification The swimmer's disability swimming classifications. For para-swimmers only.
club The name of the swimming club to which the swimmer belongs.
collegeteam The name of the college team to which the swimmer belongs or belonged. The college team should be wiki-linked to the Wikipedia article about the college team or sports program.
coach The name of the swimmer's current coach, if notable per WP:N or otherwise noteworthy within the national or international swimming community. The swimmer's coach may be wiki-linked if a Wikipedia article about the coach exists.
Parameters for medal templates
medaltemplates All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}.

Use the normal order (see the medal templates documentation):
{{MedalSport|Moško [[plavanje]]}}
{{MedalCountry|{{SWE}}}}
{{MedalCompetition|[[Olimpijske igre]]}}
{{Zlata medalja|[[Poletne olimpijske igre 2004|Atene 2004]]|Delfin 100m}}
{{Zlata medalja|[[Poletne olimpijske igre 2004|Atene 2004]]|Štafeta prosto 4x200 m}}
{{Bronasta medalja|[[Poletne olimpijske igre 2004|Atene 2004]]|Štafeta prosto 4x100 m]]}}

show-medals If "show-medals=yes", the medal table is displayed. Otherwise, it is hidden and will only be showed if the "show" link is used. It is recommended for swimmers with large numbers of medals that this parameter should probably be toggled "no" because of the disproportionate amount of article space the extended infobox will require

Integracija infopolj z Wikipodatki uredi

Prednosti in slabosti uredi

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

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

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.

Trenutno se v {{Infopolje Plavalec}} iz Wikipodatkov napolnijo |image=, |birth_name=, |birth_date=, |birth_place=, |death_date=, |death_place=. Glej tudi #Parametri.

Kako vnesti podatke v Wikipodatke uredi

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 Phelps v Wikidata.

Microformat uredi

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.

Glej tudi uredi