Predloga:Infopolje Dirkač F1/peskovnik

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Infopolje Dirkač F1/peskovnik
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

Predloga je namenjena povzetku osnovnih podatkov o dirkačih F1 v biografskih člankih (glej tudi ostala infopolja za športnike).


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 Jenson Button v Wikidata.

Parametri[uredi kodo]

Prazna predloga z osnovnim parametri[uredi kodo]

{{Infopolje Dirkač F1
| name            = 
| image           = 
| caption         = 
| birth_name      = 
| birth_date      = 
| birth_place     = 
| death_date      = 
| death_place     = 
| nationality     = 
| Years           = 
| Team(s)         = 
| 2014 Team       =
| 2014 Car number =  <!-- see "Car number fields" section below -->
| 2015 Team       =  <!-- field hidden until the end of the 2014 season -->
| 2015 Car number =  <!-- field hidden until the end of the 2014 season -->
| Car number      =  <!-- see "Car number fields" section below -->
| Races           = 
| Championships   = 
| Wins            = 
| Podiums         = 
| Points          = 
| Poles           = 
| Fastest laps    = 
| First race      = <!-- ali Only race--> 
| First win       = <!-- ali Only win-->
| Last win        = 
| Last race       = 
| Last season     =
| Last position   =
}}

Prazna predloga z vsemi parametri[uredi kodo]

{{Infopolje Dirkač F1
| name            = 
| image           = 
| caption         = 
| birth_name      = 
| birth_date      = 
| birth_place     = 
| death_date      = 
| death_place     = 
| nationality     = 
| Years           = 
| Team(s)         = 
| 2014 Team       =
| 2014 Car number =  <!-- see "Car number fields" section below -->
| 2015 Team       =  <!-- field hidden until the end of the 2014 season -->
| 2015 Car number =  <!-- field hidden until the end of the 2014 season -->
| Car number      =  <!-- see "Car number fields" section below -->
| Races           = 
| Championships   = 
| Wins            = 
| Podiums         = 
| Points          = 
| Poles           = 
| Fastest laps    = 
| First race      = <!-- ali Only race--> 
| First win       = <!-- ali Only win-->
| Last win        = 
| Last race       = 
| Last season     =
| Last position   =
| BF1 Years       =
| BF1 Races       =
| BF1 Championships =
| BF1 Wins        =
| BF1 Podiums     =
| BF1 Points      =
| BF1 Poles       =
| BF1 Fastest laps =
| NC Years       =
| NC Races       =
| NC Team(s)     =
| NC Wins        =
| NC Podiums     =
| NC Points      =
| NC Poles       =
| NC Fastest laps =
| NC First race  =  <!-- ali NC Only race-->
| NC First win   =  <!-- ali NC Only win-->
| NC Last win    =  
| NC Last race   = 
| GP Years       =
| GP Races       =
| GP Team(s)     =
| GP Wins        =
| GP Podiums     =
| GP Poles       =
| GP Fastest laps =
| GP First race  =  <!-- ali GP Only race-->
| GP First win   =  <!-- ali GP Only win-->
| GP Last win    =  
| GP Last race   =
| halloffame     =
}}

Zgledi[uredi kodo]

Zgled - dirkač: Fernando Alonso
{{Infopolje Dirkač F1
| name            = Fernando Alonso
| image           = Fernando_Alonso_Bahrain.jpg
| caption         = Alonso at the [[2012 Bahrain Grand Prix]].
| birth_name      = Fernando Alonso Díaz
| birth_date      = {{birth date and age|1981|7|29|df=y}}
| birth_place     = [[Oviedo]], [[Asturias]], [[Spain]]
| nationality     = {{flag|ESP|name=Spanish}}
| 2014 Team       = [[Scuderia Ferrari|Ferrari]]
| Car number      = 14
| Races           = {{F1stat|ALO|entries}} ({{F1stat|ALO|starts}} starts)
| Championships   = 2 ({{F1|2005}}, {{F1|2006}})
| Wins            = {{F1stat|ALO|wins}}
| Podiums         = {{F1stat|ALO|podiums}}
| Points          = {{F1stat|ALO|careerpoints}}
| Poles           = {{F1stat|ALO|poles}}
| Fastest laps    = {{F1stat|ALO|fastestlaps}}
| First race      = [[2001 Australian Grand Prix]]
| First win       = [[2003 Hungarian Grand Prix]]
| Last win        = [[2013 Spanish Grand Prix]]
| Last race       = {{Latest F1GP}}
| Last season     = 2013
| Last position   = 2nd (242 pts)
}}
Zgled - dirkač: Ayrton Senna
{{Infopolje Dirkač F1
| name            = Ayrton Senna
| image           = Ayrton Senna Imola 1989 Cropped.jpg
| caption         = Senna at the [[1989 San Marino Grand Prix]]
| birth_name      = Ayrton Senna da Silva
| birth_date      = {{birth date|1960|3|21|df=y}}
| birth_place     = [[São Paulo]], Brazil
| death_date      = {{death date and age|1994|5|1|1960|3|21|df=y}}
| death_place     = [[Bologna]], Italy
| nationality     = {{BRA}}ian
| Years           = {{F1|1984}}–{{F1|1994}}
| Team(s)         = [[Toleman]], [[Team Lotus|Lotus]], [[McLaren (racing)|McLaren]], [[WilliamsF1|Williams]]
| Races           = 162 (161 starts)
| Championships   = 3 ({{F1|1988}}, {{F1|1990}}, {{F1|1991}})
| Wins            = 41
| Podiums         = 80
| Points          = 610 (614)
| Poles           = 65
| Fastest laps    = 19
| First race      = [[1984 Brazilian Grand Prix]]
| First win       = [[1985 Portuguese Grand Prix]]
| Last win        = [[1993 Australian Grand Prix]]
| Last race       = [[1994 San Marino Grand Prix]]
}}

First/Last race[uredi kodo]

The First/Last race fields should contain the first/last races for which the driver was *entered*, even if they didn't actually start the race.

Car number fields[uredi kodo]

Since 2014, Formula One drivers each select a permanent race number which they carry throughout their career (with the exception that the reigning World Champion has the option to carry the number '1' instead of their permanent number). Drivers whose number won't change between 2014 and 2015 (i.e. most of them) should have the "Car number" field populated and the "2014 Car number" and "2015 Car number" fields not populated. Drivers whose number will change between 2014 and 2015 (i.e. the outgoing World Champion (Sebastian Vettel) and the 2014 World Champion (still TBD)) should have the "2014 Car Number" and "2015 Car Number" fields populated and the "Car Number" field not populated.

Osveževanje podatkov[uredi kodo]

Following the final race of the season, "Team" and "Car number" fields for the following season are added but the existing fields for the just-completed season are retained until the end of the calendar year.

Use as a child template[uredi kodo]

To infopolje se lahko uporabi za kreacijo specifičnih podatkov znotraj predloge {{Infopolje Oseba}} (ali podobnih biografskih infopoljih) za primere, kjer je oseba pomembna na več kot enem področju; posplošen primer je naveden spodaj. Za pomoč pri uporabi, glejte dokumentacijo Predloga:Infopolje, kjer je razloženo vključevanje.

<nowiki>{{Infopolje Oseba
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infopolje Dirkač F1 | child=yes
  | Hide head = yes
  |  Years            = 
  |  Team(s)          = 
  |  Races            = 
  |  Championships    = 
  | <!-- etc. -->
  }}
}}

The template may also be used as a subsection of {{Infobox racing driver}} as follows:

{{Infobox racing driver
| image           = 
| caption         = 
| nationality     = 
| birth_name      = 
| birth_date      = 
| birth_place     = 
| titles          = 
| title years     = 
| record template1 =
  {{Infopolje Dirkač F1|child=yes
  | Years         = 
  | Team(s)       =  
  | Races         = 
  | Championships = 
  }}
}}

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.

Microformat[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.