Predloga:Infopolje Športnik/peskovnik
To je stran za peskovnik predloge za Predloga:Infopolje Športnik (razl). Glej tudi podstran za testniprimeri. |
Predloga se uporablja na številnih straneh, zato bo vsaka njena sprememba takoj zelo opazna. Prosimo, da vse spremembe, ki jih želite uvesti, pred uvedbo preizkusite na podstraneh predloge (/peskovnik in /testniprimeri) ali na svojih lastnih podstraneh. Pred spreminjanjem te predloge se o želenih spremembah rajši pogovorite na pogovorni strani. |
Ta predloga vsebuje skrajno zapletene in/ali ezoterične skladenjske elemente.
Prosimo vas, da predloge ne spreminjate, če niste popolnoma prepričani in niste pripravljeni popraviti vse posledične stranske škode ob nepričakovanih rezultatih. Vse preizkušanje opravite v splošnem Peskovniku za predloge ali v vašem uporabniškem prostoru. |
Predloga je namenjena povzetku osnovnih podatkov o športnikih v biografskih člankih (glej tudi ostala infopolja za športnike).
Uporaba
[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)).
Prazna predloga
[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 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.
|
|
weight | Če je oseba poznana po svoji teži, ali če je teža osebe pomembna.
|
|
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 m – Gold |'''2008 Summer Paralympics''': 400 m – Silver }} or: {{pl| * '''[[Athletics at the 2008 Summer Paralympics|2008 Summer Paralympics]]''': 200 m – Gold * '''2008 Summer Paralympics''': 400 m – Silver }} The string Regional means multi-national, not sub-national; sub-national competition is not notable enough for an infobox. If the sport is not Olympic, then remove the If the subject does not have a disability, then remove the |
|
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 m backstroke''': 1:03.17 (2001, '''WR''') |'''200 m butterfly''': 2:12.63 (2003) }} The following abbreviations may be used in parentheses after the year: |
|
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 m [[breaststroke]]}} {{MedalCompetition|[[Olympic Games]]}} {{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Swimming at the 2008 Summer Olympics|100 m freestyle]]}} {{MedalCompetition|[[Pan Pacific Swimming Championships|Pan Pacific Championships]]}} {{MedalBronze|[[2006 Pan Pacific Swimming Championships|2006 Victoria]]|100 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 kodo]Osebni podatki | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Polno ime | Laurentia Tan Yen Yi | |||||||||||||||||
Narodnost | Singaporean | |||||||||||||||||
Rojstvo | 24. april 1979 Singapore | |||||||||||||||||
Bivališče | United Kingdom | |||||||||||||||||
Izobrazba | Oxford Brookes University | |||||||||||||||||
Š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 | |||||||||||||||||
Pregled medalj
| ||||||||||||||||||
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 }}
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.
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 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 Urška Žolnir v Wikidata.
Mikroformat
[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.