Predloga:Infopolje Plavalec

Iz Wikipedije, proste enciklopedije
Skoči na: navigacija, iskanje
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

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
image_sizepx
caption
Osebni podatki
Polno ime fullname
Vzdevek nickname
Narodnost nationality
Rojstvo birth_name
birth_date
birth_place
Smrt death_date
death_place
Poklic
Višina height cm
Teža weight kg
Šport
Šport Plavanje
Plavalni slogi strokes
Classification(s) classification
Klub club
Univerzitetna ekipa collegeteam
Trener coach
{{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]

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

Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.

hCard uses HTML classes including:

  • adr
  • bday
  • county-name
  • fn (required)
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes.

Glej tudi[uredi]