Predloga:Infopolje Športnik

Iz Wikipedije, proste enciklopedije
Skoči na: navigacija, iskanje
Rojstvo
Poklic
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]
Predloga je namenjena povzetku osnovnih podatkov o športnikih v biografskih člankih (glej tudi ostala infopolja za športnike).

Uporaba[uredi | uredi kodo]

Predlogo vključite v članek takoj na začetku, pred prvim stavkom vsebine. Na ta način se bo izpisala na desni strani besedila, poravnano s prvim stavkom.

Vsi spodnji parametri so neobvezni. Predloga samodejno izpiše ime, ki je enako naslovu članka. Ime je potrebno vnesti samo, če je zaradi razločevanja naslov članka razširjen (npr. Walter Steffens (telovadec)).

Integracija infopolj z Wikipodatki[uredi | uredi kodo]

Prednosti in slabosti[uredi | 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 | 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 | 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.

Trenutno se v {{Infopolje Športnik}} iz Wikipodatkov napolnijo |image=, |birth_name=, |birth_date=, |birth_place=, |death_date=, |death_place=, |country=, |occupation=, |website=. Glej tudi #Parametri.

Kako vnesti podatke v Wikipodatke[uredi | 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 Josip Plemelj v Wikidata.

Prazna predloga[uredi | uredi kodo]

{{Infopolje Športnik
| name             = 
| image            = <!-- name.jpg -->
| image_size       = <!--Only for images narrower than 220 pixels.-->
| alt              = 
| caption          = 
| headercolor      = 
| native_name      = 
| native_name_lang = 
| birth_name       = 
| fullname         = 
| nickname         = 
| nationality      = 
| ethnicity        = 
| citizenship      = 
| birth_date       = <!-- {{birth date and age|yyyy|mm|dd}} -->
| birth_place      = 
| death_date       = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| death_place      = 
| resting_place    = 
| monuments        = 
| residence        = 
| education        = 
| alma_mater       = 
| occupation       = 
| years_active     = 
| employer         = 
| agent            = 
| height           = <!-- {{convert|}} (yyyy) -->
| weight           = <!-- {{convert|}} (yyyy) -->
| spouse           = 
| life_partner     = 
| other_interests  = 
| website          = <!-- {{URL|www.example.com}} -->
| country          = 
| sport            = 
| position         = 
| disability       = 
| disability_class = 
| rank             = 
| event            = 
| collegeteam      = 
| universityteam   = 
| league           = 
| league_type      = 
| club             = 
| team             = 
| turnedpro        = 
| partner          = 
| former_partner   = 
| coach            = 
| retired          = 
| coaching         = 
| worlds           = 
| regionals        = 
| nationals        = 
| olympics         = 
| paralympics      = 
| commonwealth     = 
| highestranking   = 
| pb               = 
| medaltemplates   = 
| show-medals      = 
| updated          = {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
}}

Parametri[uredi | uredi kodo]

Parameter Razlaga Property iz Wikipodatkov
name Ime osebe (npr. najpogostejše ime). Prednastavljena vrednost tega parametra je naslov članka.
image Ime slike: abc.jpg, xpz.png, 123.gif, itd. P18
image_size Velikost prikaza slike: 200px (nastavitev širine), x300px (nastavitev višine) ali 200x300px (max. širina & max višina). Prednastavljena vrednost je 220px. Tega parametra se običajno ne nastavlja.
alt Alt text za sliko.
caption Pripis k sliki. Poskusi vključiti datum fotografije in avtorja.
headercolor To change the default color of headers, indicate a color name (e.g., lightblue or orange) or a hex triplet (e.g., #2468A0). To determine the hex triplet of a color, see List of colors; or go to List of colors#Colors by shade, click on the article associated with the desired color, and look up the hex triplet.
Osebni podatki
native_name Ime osebe v maternem jeziku, če se le to razlikuje.
native_name_lang ISO 639-1 koda e.g. "fr" za francoščino. Če je jezik več kot eden, namesto tega uporabite v |native_name= predlogo {{jezik}}.
birth_name Rojstno ime; uporabite le v primeru, če se razlikuje od name. P1477
fullname The full name of the subject.
nickname The subject's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas.
nationality The subject's nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used with citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. Do not use a flag template.
ethnicity Ethnic background. Rarely useful, and must be supported with a citation from a reliable source. Do not use a flag template.
citizenship Country of legal citizenship, if different from nationality. Rarely needed. See usage notes for nationality above. Should only be used if citizenship cannot be inferred from the birthplace. Do not use a flag template.
birth_date Datum rojstva: {{datum rojstva in starost}} (za živo osebo) ali {{datum rojstva}} (za mrtvo osebo). Za podrobnosti o uporabi glejte Predloga:datum rojstva in starost/dok. Če je poznana le letnica rojstva, ali starost na določeni datum, razmislite o uporabi {{leto rojstva in starost}} ali {{birth based on age as of date}}. P569
birth_place Kraj rojstva: mesto, administrativna regije, država. Uporabi ime kraja, ko je bila oseba rojena, npr.: Sajgon (do 1976), Hošiminh (po 1976). Ne dodajajte predlog za zastave. P19
death_date Datum smrti: {{datum smrti in starost}} (if birth date is known) or {{datum smrti}} (if birth date unknown). Za podrobnosti o uporabi glejte Predloga:Datum smrti/dok. Če točni datumi niso znani, razmislite o uporabi {{leto smrti in starost}}. P570
death_place Kraj smrti: mesto, administrativna regije, država. Opomba: Ne dodajajte predlog za zastave. Uporabi ime kraja, ko je oseba umrla, npr.: Sajgon (do 1976), Hošiminh (po 1976) P20
resting_place Kraj pokopa, raztresanja pepela, itd. Ne dodajajte predlog za zastave.
monuments Pomembnejši postavljeni spomeniki, poimenovane zgradbe, itd., v čast osebi. Če jih je velike, raje naredite povezavo na ustrezno poglavje v članku.
residence Lokacija oz. lokacije kjer je oseba bivala, če se razlikuje od kraja rojstva. Ne dodajajte predlog za zastave.
education Izobrazba, t.j. stopnja, institucija in leto zaključka šolanja. Če na voljo niso vse informacije ali niso pomembne, uporabite raje parameter |alma_mater=.
alma_mater Alma mater. Ta parameter je zgoščena alternativa za |education=, in je običajno sestavljen iz wikipovezanega imena institucije kjer je oseba dosegla najvišjo izobrazbo.
occupation Poklic(a), ki so omenjeni tudi v uvodu. P106
years_active Datumski razpon v letih, ko je bil subjekt aktiven v svoji osnovni dejavnosti in/ali v drugih pomembnejših aktivnostih. Uporabite format 1950–2000 ali 1970–danes, če je še vedno aktivene. Če datuma rojstva in/ali smrti za subjekt nista poznana, le okvirno podajte datumski razpon.
employer Delodajalec/delodajalci.
agent Agent subjekta (posameznik in/ali agencija)
height Če je oseba poznana po svoji višini, ali če je višina osebe pomembna.
  • To satisfy international variations of English, if the subject is American or British (or primarily notable in English for playing on an American or British team, or for participating in American or British sports) put measurements in feet and inches first, and use a template to convert to centimeters in parentheses, for example:
    {{convert|6|ft|3|in|cm}} — giving "6 ft 3 in (191 cm)"
  • Conversely, if he or she is not American or British, place measurements in centimetres first, then use template to convert to feet and inches in parentheses, for example:
    {{convert|191|cm|ftin|abbr=on}} — giving "191 cm (6 ft 3 in)"
  • If the subject's height stated in a source is the converted measurement, tweak the parameters of the {{convert}} template if required to ensure that this measurement is accurately stated. For example, if a source states that an American or British athlete is 192 cm tall, type {{convert|6|ft|3.6|in|cm|abbr=on}} to get the result "6 ft 36 in (274 cm)" (some experimentation using the "Show preview" button may be required). Indicating {{convert|6|ft|4|in|cm|abbr=on}}, which would yield "6 ft 4 in (193 cm)", would be inaccurate.
  • For sportspersons who have not reached their adult height, it is very important to add the year when the height was measured, in parentheses (round brackets) after the height.
  • Provide a reference for the information after the year, in parentheses, indicating in the footnote both the source and the original units, like this: "[source of information] (original measurement in feet and inches)"; see Wikipedia:Manual of Style (dates and numbers)#Unit conversions.
weight Če je oseba poznana po svoji teži, ali če je teža osebe pomembna.
  • If he or she is American (or primarily notable in English for playing for an American team, of for participating in U.S. sports), put measurements in pounds first, then in kilograms in parentheses, for example:
    {{convert|120|lb|kg}} — giving "120 lb (54 kg)"
  • If he or she is not American, place measurements in kilograms first, then in pounds in parentheses, for example:
    {{convert|62|kg|lb|0}} — giving "62 kg (137 lb)"
  • Note that the final zero is necessary for correct rounding of kilogram-to-pound conversions.
  • After the weight, add the year when the weight was measured, in parentheses. Please supply a reference in the same manner as for the subject's height.
spouse Ime zakonca, ki mu sledijo leta zakona. Uporabite format Ime (poročen 1950–danes) za trenutnega zakonca in ime (poročen 1970–1999) za bivše zakonce. Za umrle zakonce, ki so bili v času smrti še v zakonu, zaključite z datumom smrti).
life_partner Za neporočene partnerje. Uporabite format Ime (1950–danes) za trenutnega partnerja in ime (1970–1999) za bivše partnerje.
other-interests Significant interests other than sports that the subject has. Please use this parameter sparingly.
website Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|examplesite.com|ExampleSite.com}}. Do not include the www. part unless the server is misconfigured and requires it. Use camel case capitalization to make multiword domain names easier to read. P856
Šport
country Država, ki jo športnik predstavlja. P27
sport The sport(s) that the subject has notably participated in (basketballers dabbling in tournament poker, or cricketers doing celebrity golf fundraisers does not count as notable participation in those sports). Use {{ubl}} or {{PL}} to format multiple entries; list the events chronologically, alphabetically or by depth of participation, as best suits the article; and give date ranges and other clarifications where appropriate. Link the name of the sport to a suitable Wikipedia article if one is available. Using the footballer example given under |occupation= above, the |sport= value might be {{ubl}}[[Rugby league]] (1991–1992)|[[Association football]] (1992–2001)|[[Rugby union]] (coach, 2001–present).
position Primary position (e.g., goalkeeper, forward, quarterback, ...)
disability A disability that the subject has.
disability_class The disability sport classification(s) that the subject competes under.
rank The rank of the subject in their sport. Use {{colorbox}} to indicate belt colour for martial artists.
event The event(s) or discipline(s) within the sport that the subject specializes in, wikilinked to suitable article(s). Use {{ubl}} or {{PL}} to format multiple entries, and list the events alphabetically, chronologically or by depth of participation, as best suits the article{{ubl|[[Breaststroke]]|[[Freestyle swimming|Freestyle]]}}. This parameter should be removed when not useful, as in the case of the footballer example given in |occupation= and |sport=, above.
universityteam
collegeteam
The team (squad) that the subject plays or played on at his or her university or college in the US sense. Note: you cannot use both of these parameters at once. Use {{ubl}} or {{PL}} to format multiple entries, and use common sense explanatory notes if needed, e.g., to distinguish between multiple sports or disciplines.
league The name of the sport league(s), federation(s) or other sanctioning system(s) under which the sportsperson plays/played. It is not necessary to add this parameter if the sport in question has only one such notable organization. For play under/membership in a regional (e.g., continental) federation, it may be useful to name that body and the parent organization, e.g., [[European Pocket Billiard Federation]] ([[World Pool-Billiard Association|WPA]]).
league_type Change the "League" heading to another word, such as "Federation", "Association", etc., to match the terminology used in the sport.
club
team
The name of the sport club(s) or team(s) that the subject belongs/belonged to, if any, with the years in parentheses. Use {{ubl}} or {{PL}} to format multiple entries. Do not use both, unless the terms have distinct meanings in the sport in question (which is not the case with football (soccer) – "club", "team" and "squad" are syonymous (but this template does not support a |squad= parameter).
turnedpro The date or year that the subject turned professional. Do not link dates or years.
partner Other sportpeople with whom the subject regularly plays, or used to play, doubles matches.
formerpartner
coach The name of a notable person who is coaching or once coached the subject, and the years in parentheses after the name.
retired The date or year (not wikilinked) that the subject retired from sports., if applicable. If the subject died before formal retirement, do not add the death date to this parameter, just remove it entirely. Do not link dates or years.
coaching The names of notable other sportspeople that the subject is now coaching. Only add the names of persons who have Wikipedia articles about them (no red links). If there is more than one person, arrange the names alphabetically by last name and separate them with commas.
Dosežki in naslovi
worlds Significant titles the subject has earned at world or international, regional and national competitions, and at the Olympic or Paralympic Games, for example:
{{ubl
 |'''[[Athletics at the 2008 Summer Paralympics|2008 Summer Paralympics]]''': 200&nbsp;m &ndash; Gold
 |'''2008 Summer Paralympics''': 400&nbsp;m &ndash; Silver
}}

or:

{{pl|
* '''[[Athletics at the 2008 Summer Paralympics|2008 Summer Paralympics]]''': 200&nbsp;m &ndash; Gold
* '''2008 Summer Paralympics''': 400&nbsp;m &ndash; Silver
}}

The string &nbsp; creates a non-breaking space between the number and the unit (see Wikipedia:Manual of Style (dates and numbers)#Non-breaking spaces). And &ndash; creates an en dash; alternatively, insert an en dash using the symbol table that appears below the edit window. {{Ubl}} ({{unbulleted list}}) and {{pl}} ({{plainlist}}) format lists with each item on its own line, with semantic and accessible HTML list mark-up, but no bullets.

Predloga:Strong means multi-national, not sub-national; sub-national competition is not notable enough for an infobox.

If the sport is not Predloga:Strong, then remove the |olympics= parameter.

If the subject does not have a Predloga:Strong, then remove the |paralympics= parameter.

regionals
nationals
olympics
paralympics
commonwealth
highestranking The subject's highest world ranking (as a cardinal numeral) with the year(s) when this was achieved in parentheses, like this: 1st (2005). Add the discipline/event or other clarifiers if needed: 1st (freestyle, 2005), or use a longer prose description of the title [[2009 WPA Men's World Nine-ball Championship|WPA World Nine-ball Champion (Men's Div., 2009)]].
pb If applicable, the personal best times the subject has achieved with the years when these were achieved in parentheses, using {{ubl}} or {{PL}} to format list items:
{{ubl|'''100&nbsp;m backstroke''': 1:03.17 (2001, '''WR''') |'''200&nbsp;m butterfly''': 2:12.63 (2003) }}

The following abbreviations may be used in parentheses after the year:
CR – competition record, NR – national record, OR – Olympic record, PR – Paralympic record, WR – world record.

Pregled medalj
medaltemplates All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}. Set out the medal templates in the order stated in the medal templates documentation, and arrange the competitions alphabetically by name.
{{MedalSport|[[Swimming#competitive swimming|Men's swimming]]}}
{{MedalCountry|{{SWE}}}}
{{MedalCompetition|[[FINA World Aquatics Championships]]}}
{{MedalSilver|[[2005 World Aquatics Championships|2005 Montreal]]|200&nbsp;m [[breaststroke]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Swimming at the 2008 Summer Olympics|100&nbsp;m freestyle]]}}
{{MedalCompetition|[[Pan Pacific Swimming Championships|Pan Pacific Championships]]}}
{{MedalBronze|[[2006 Pan Pacific Swimming Championships|2006 Victoria]]|100&nbsp;m [[butterfly stroke|butterfly]]}}
show-medals If show-medals=no, the medal table is collapsed. By default, it is expanded and will only be collapsed if the "hide" link is clicked. The default should be left as is unless there are more than three medals.
Moduli
module
module2
Used for embedding other infoboxes into this one. These parameters are not usually used directly in articles, and are mainly for creating other infoboxes based on this one with additional parameters. To see how these parameters are used, have a look at how {{Infobox swimmer}} is built. Note: module displays above the Sport heading and module2 displays above the Achievements and titles heading.

Zgledi[uredi | uredi kodo]

Laurentia Tan
LaurentiaTan-portrait-20080920.jpg
Tan at a Paralympics celebration ceremony at Cathay Cineleisure Orchard on 20 September 2008
Osebni podatki
Polno ime Laurentia Tan Yen Yi
Narodnost Singaporean
Rojstvo
(1979-04-24) 24. april 1979 (35 let)
Singapore
Bivališče United Kingdom
Izobrazba Oxford Brookes University
Poklic
Šport
Država Singapore
Šport Equestrianism
Disciplina Dressage
Dosežki in naslovi
Paraolimpijske igre 2008 Summer Paralympics: Individual Championship Dressage (IA) – Bronze; Individual Freestyle to Music Dressage (IA) – Bronze
Posodobljeno: 17 September 2008.
{{Infopolje Športnik
| name           = Laurentia Tan
| image          = LaurentiaTan-portrait-20080920.jpg
| image_size     = 130px
| caption        = Tan at a Paralympics celebration ceremony at [[Cathay Cineleisure Orchard]] on 20 September 2008
| headercolor    = chocolate
| fullname       = Laurentia '''Tan''' Yen Yi
| nationality    = [[Singapore]]an
| birth_date     = {{birth date and age|1979|4|24|df=yes}}
| birth_place    = [[Singapore]]
| residence      = [[United Kingdom]]
| education      = [[Oxford Brookes University]]
| country        = [[Singapore]]
| sport          = [[Equestrianism]]
| event          = [[Dressage]]
| paralympics    = '''[[2008 Summer Paralympics]]''': Individual Championship Dressage (IA) – Bronze; Individual Freestyle to Music Dressage (IA) – Bronze
| medaltemplates = 
{{MedalSport       |[[Dressage]]}}
{{MedalCountry     |{{SGP}}}}
{{MedalCompetition |[[Paralympic Games]]}}
{{MedalBronze      |[[Equestrian at the 2008 Summer Paralympics|2008 Beijing]] |Individual Championship Dressage (class IA)}}
{{MedalBronze      |[[Equestrian at the 2008 Summer Paralympics|2008 Beijing]] |Individual Freestyle to Music Dressage (class IA)}}
| updated        = 17 September 2008
}}

Mikroformat[uredi | uredi kodo]

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.