Predloga:Infopolje Nogometaš

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

Predloga {{Infopolje Nogometaš}} je namenjena kot infopolje za članke o nogometaših in nogometnih trenerjih.

Uporaba[uredi | uredi kodo]

V primeru večjega številka klubov ali reprezentanc se parametri, ki se končajo s številko 1, nadaljujejo s parametri z 2, 3, 4, itd.

Za aktivne nogometaše

{{Infopolje Nogometaš
| name                = 
| image               = 
| image_size          = (privzeta vrednost je 250px)
| caption             = 
| fullname            = 
| birth_date          = 
| birth_place         = 
| height              = 
| position            = 
| currentclub         = 
| clubnumber          = 
| youthyears1         = 
| youthclubs1         = 
| years1              = 
| clubs1              = 
| caps1               = 
| goals1              = 
| totalcaps           = 
| totalgoals          = 
| nationalyears1      = 
| nationalteam1       = 
| nationalcaps1       = 
| nationalgoals1      = 
| medaltemplates      = 
| club-update         = 
| nationalteam-update = 
}}

Za nekdanje nogometaše

{{Infopolje Nogometaš
| name           = 
| image          = 
| image_size     = (privzeta vrednost je 250px)
| caption        = 
| fullname       = 
| birth_date     = 
| birth_place    = 
| death_date     = 
| death_place    = 
| height         = 
| position       = 
| youthyears1    = 
| youthclubs1    = 
| years1         = 
| clubs1         = 
| caps1          = 
| goals1         = 
| totalcaps      = 
| totalgoals     = 
| nationalyears1 = 
| nationalteam1  = 
| nationalcaps1  = 
| nationalgoals1 = 
| medaltemplates = 
}}

Za nekdanje nogometaše, ki so trenerji

{{Infopolje Nogometaš
| name                = 
| image               = 
| image_size          = (privzeta vrednost je 250px)
| caption             = 
| fullname            = 
| birth_date          = 
| birth_place         = 
| death_date          = 
| death_place         = 
| height              = 
| position            = 
| currentclub         = 
| youthyears1         = 
| youthclubs1         = 
| years1              = 
| clubs1              = 
| caps1               = 
| goals1              = 
| totalcaps           = 
| totalgoals          = 
| nationalyears1      = 
| nationalteam1       = 
| nationalcaps1       = 
| nationalgoals1      = 
| medaltemplates      = 
| manageryears1       = 
| managerclubs1       = 
| club-update         = 
| nationalteam-update = 
}}

Za trenerje, ki niso bili nogometaši

{{Infopolje Nogometaš
| name           = 
| image          = 
| image_size     = (privzeta vrednost je 250px)
| caption        = 
| fullname       = 
| birth_date     = 
| birth_place    = 
| death_date     = 
| death_place    = 
| currentclub    = 
| manageryears1  = 
| managerclubs1  = 
}}

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 Nogometaš}} iz Wikipodatkov napolnijo |image=, |birth_name=, |birth_date=, |birth_place=, |death_date=, |death_place=.

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 Diego Armando Maradona v Wikidata.

Primeri[uredi | uredi kodo]

Samostojno[uredi | uredi kodo]

Tim Template
Nizar-Khalfan.jpg
Tim Template in the Template Rangers
Osebni podatki
Polno ime Tim Tenerife Template
Rojstvo
(1975-01-01) 1. januar 1975 (40 let)
Template City, Templatia
Višina 1,75 m
Položaj Striker
Klubska kariera
Trenutni klub Template City F.C.
Št. 9
Mladinska kariera
1985–1987 Template Juniors
1987–1992 Template Youth
Članska kariera*
Leta Klub Nastopi (goli)
1992–1999 Template United F.C. 75 (26)
1999–2002 Template Rangers 32 (11)
2001 → Example F.C. (loan) 15 (7)
2002– Template City F.C. 113 (46)
Državna reprezentanca
1991 Examplia U16 1 (0)
1996–1998 Templatia U21 8 (2)
1999– Templatia 46 (13)
* Nastopi in goli

v domačem prvenstvu, posodobljeni 14:56, 6 October 2014 (UTC).
‡ Nastopi in goli za državno reprezentanco,

posodobljeni 14:56, 6 October 2014 (UTC)
{{Infopolje Nogometaš
|name           = Tim Template
|image          = Nizar-Khalfan.jpg
|alt            = Photo of a player in blue football kit, hair braided.
|caption        = Tim Template in the Template Rangers
|fullname       = Tim Tenerife Template
|birth_date     = {{birth date and age|1975|1|1|df=y}}
|birth_place    = Template City, Templatia
|height         = 1,75 m
|position       = [[Forward (association football)|Striker]]
|currentclub    = Template City F.C.
|clubnumber     = 9
|youthyears1    = 1985–1987
|youthclubs1    = Template Juniors
|youthyears2    = 1987–1992
|youthclubs2    = Template Youth
|years1         = 1992–1999
|clubs1         = Template United F.C.
|caps1          = 75
|goals1         = 26
|years2         = 1999–2002
|clubs2         = Template Rangers
|caps2          = 32
|goals2         = 11
|years3         = 2001
|clubs3         = → Example F.C. (loan)
|caps3          = 15
|goals3         = 7
|years4         = 2002–
|clubs4         = Template City F.C.
|caps4          = 113
|goals4         = 46
|nationalyears1 = 1991
|nationalteam1  = Examplia U16
|nationalcaps1  = 1
|nationalgoals1 = 0
|nationalyears2 = 1996–1998
|nationalteam2  = Templatia U21
|nationalcaps2  = 8
|nationalgoals2 = 2
|nationalyears3 = 1999–
|nationalteam3  = Templatia
|nationalcaps3  = 46
|nationalgoals3 = 13
|medaltemplates =
{{medal|Team|Template City F.C.}}
{{medal|W|Template League| 2003}}
{{medal|RU|Template Cup| 2004}}
{{medal|Team|Templatia}}
{{medal|3rd|FIFA Template Cup| 2001}}
|club-update     = ~~~~~
|nationalteam-update = ~~~~~
}}

Vključeno[uredi | uredi kodo]

Tim Template
Nizar-Khalfan.jpg
Tim Template in the Template Rangers
Rojstvo Tim Tenerife Template
(1975-01-01) 1. januar 1975 (40 let)
Template City, Templatia
Poklic
Višina

1,75 m


Association football career
Rojstvo
Položaj Striker
Klubska kariera
Trenutni klub Template City F.C.
Št. 9
Mladinska kariera
1985–1987 Template Juniors
1987–1992 Template Youth
Članska kariera*
Leta Klub Nastopi (goli)
1992–1999 Template United F.C. 75 (26)
1999–2002 Template Rangers 32 (11)
2001 → Example F.C. (loan) 15 (7)
2002– Template City F.C. 113 (46)
Državna reprezentanca
1991 Examplia U16 1 (0)
1996–1998 Templatia U21 8 (2)
1999– Templatia 46 (13)
* Nastopi in goli

v domačem prvenstvu, posodobljeni 14:56, 6 October 2014 (UTC).
‡ Nastopi in goli za državno reprezentanco,

posodobljeni 14:56, 6 October 2014 (UTC)
{Infopolje oseba
|name           = Tim Template
|image          = Nizar-Khalfan.jpg
|alt            = Photo of a player in blue football kit, hair braided.
|caption        = Tim Template in the Template Rangers
|birth_name     = Tim Tenerife Template
|birth_date     = {{birth date and age|1975|1|1|df=y}}
|birth_place    = Template City, Templatia
|height         = 1,75 m
{{Infopolje Nogometaš
|embed          = yes
|position       = [[Forward (association football)|Striker]]
|currentclub    = Template City F.C.
|clubnumber     = 9
|youthyears1    = 1985–1987
|youthclubs1    = Template Juniors
|youthyears2    = 1987–1992
|youthclubs2    = Template Youth
|years1         = 1992–1999
|clubs1         = Template United F.C.
|caps1          = 75
|goals1         = 26
|years2         = 1999–2002
|clubs2         = Template Rangers
|caps2          = 32
|goals2         = 11
|years3         = 2001
|clubs3         = → Example F.C. (loan)
|caps3          = 15
|goals3         = 7
|years4         = 2002–
|clubs4         = Template City F.C.
|caps4          = 113
|goals4         = 46
|nationalyears1 = 1991
|nationalteam1  = Examplia U16
|nationalcaps1  = 1
|nationalgoals1 = 0
|nationalyears2 = 1996–1998
|nationalteam2  = Templatia U21
|nationalcaps2  = 8
|nationalgoals2 = 2
|nationalyears3 = 1999–
|nationalteam3  = Templatia
|nationalcaps3  = 46
|nationalgoals3 = 13
|medaltemplates =
{{medal|Team|Template City F.C.}}
{{medal|W|Template League| 2003}}
{{medal|RU|Template Cup| 2004}}
{{medal|Team|Templatia}}
{{medal|3rd|FIFA Template Cup| 2001}}
|club-update     = ~~~~~
|nationalteam-update = ~~~~~
}}
}}

TemplateData[uredi | uredi kodo]

This infobox template provides a quick overview of an association football player's or manager's details to enable a reader to extract the most oft-needed information without trawling through the article proper.

Template parameters
Parameter Description Type Status
Name name

The commonly used name of the player. If this is omitted, it will be inferred from the title of the article.

Default
empty
Example
empty
Auto value
empty
string optional
Full name fullname

The player's complete name.

Default
empty
Example
empty
Auto value
empty
string optional
Picture image

A picture of the player, ideally on the pitch in the strip of his or her most recent team (or the team the player is most well-known for, in the case of retirees). Use the format Example.jpg, rather than [[File:Example.jpg]].

Default
empty
Example
empty
Auto value
empty
wiki-page-name optional
Picture size image_size

The picture's size, given as a number.

Default
empty
Example
empty
Auto value
empty
number optional
Picture alt text alt

Alt text for the picture.

Default
empty
Example
empty
Auto value
empty
string optional
Picture caption caption

A caption for the picture.

Default
empty
Example
empty
Auto value
empty
string optional
Birth date birth_date

The player's date of birth. A template ({{Birth date}}, {{Birth date and age}}) should be used to add the date, but be sure to use the appropriate parameters to present the date in the same format as used in the text. The date should not be wikilinked.

Default
empty
Example
empty
Auto value
empty
number optional
Birth place birth_place

The location of the player's birth.

Default
empty
Example
empty
Auto value
empty
string optional
Height height

The player's height in the units most common within the country he or she plays. The {{height}} template should be used for automatic formatting.

Default
empty
Example
empty
Auto value
empty
number optional
Position position

The player's most common position or positions. If a player is known for playing in multiple roles then explain the point more fully within the article.

Default
empty
Example
empty
Auto value
empty
string optional
Current club currentclub

The club for which the player currently plays, or is employed by. If the player now works in a non-playing role at the club, add this after the club in brackets. For retired players not employed by any club or federation, leave blank.

Default
empty
Example
empty
Auto value
empty
string optional
Number clubnumber

The shirt number of the player at their current club.

Default
empty
Example
empty
Auto value
empty
number optional
Youth club 1 youthclubs1

The first club that the player was a member of as a youth. Up to 8 clubs can be added using the parameter names "youthclubs2", "youthclubs3", etc.

Default
empty
Example
empty
Auto value
empty
string optional
Youth club 2 youthclubs2

The second club that the player was a member of as a youth.

Default
empty
Example
empty
Auto value
empty
string optional
Youth club 1 years youthyears1

The years that the player was at their first youth club. Up to 8 clubs can be added using the parameter names "youthyears2", "youthyears3", etc.

Default
empty
Example
empty
Auto value
empty
number optional
Youth club 2 years youthyears2

The years that the player was at their second youth club.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club 1 clubs1

The first professional club that the player has been contracted at. Up to 39 clubs can be added using the parameter names "clubs2", "clubs3", etc.

Default
empty
Example
empty
Auto value
empty
string optional
Professional club 2 clubs2

The second professional club that the player has been contracted at.

Default
empty
Example
empty
Auto value
empty
string optional
Professional club 1 years years1

The years that the player was at their first professional club. Up to 39 years can be added using the parameter names "years2", "years3", etc.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club 2 years years2

The years that the player was at their second professional club.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club 1 appearances caps1

The number of appearances that the player has been awarded in league competition for the first professional club. Playoff matches should not be included. Up to 39 caps can be added using the parameter names "caps2", "caps3", etc.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club 2 appearances caps2

The number of appearances that the player has been awarded in league competition for the second professional club.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club appearances total totalcaps

The total number of appearances the player has been awarded in league competition for all professional clubs.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club 1 goals goals1

The number of goals that the player has been awarded in league competition for the first professional club. Playoff matches should not be included. Up to 39 can be added using the parameter names "goals2", "goals3", etc.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club 2 goals goals2

The number of goals that the player has been awarded in league competition for the second professional club.

Default
empty
Example
empty
Auto value
empty
number optional
Professional club goals total totalgoals

The total number of goals the player has scored in league competition for all professional clubs.

Default
empty
Example
empty
Auto value
empty
number optional
National team 1 nationalteam1

The first national team that the player has played for (including non-senior teams such as U21). Up to 9 teams can be added using the parameter names "nationalteam2", "nationalteam3", etc.

Default
empty
Example
empty
Auto value
empty
string optional
National team 2 nationalteam2

The second national team that the player has played for.

Default
empty
Example
empty
Auto value
empty
string optional
National team 1 years nationalyears1

The years that the player has played for the first national team. Up to 9 years can be added using the parameter names "nationalyears2", "nationalyears3", etc.

Default
empty
Example
empty
Auto value
empty
number optional
National team 2 years nationalyears2

The years that the player has played for the second national team.

Default
empty
Example
empty
Auto value
empty
number optional
National team 1 appearances nationalcaps1

The number of appearances that the player has been awarded in all competitions and friendlies for the first national team. Up to 9 numbers can be added using the parameter names "nationalcaps2", "nationalcaps3", etc.

Default
empty
Example
empty
Auto value
empty
number optional
National team 2 appearances nationalcaps2

The number of appearances that the player has been awarded in all competitions and friendlies for the second national team.

Default
empty
Example
empty
Auto value
empty
number optional
National team 1 goals nationalgoals1

The number of goals that the player has been awarded in all competitions and friendlies for the first national team. Up to 9 numbers can be added using the parameter names "nationalgoals2", "nationalgoals3", etc.

Default
empty
Example
empty
Auto value
empty
number optional
National team 2 goals nationalgoals2

The number of goals that the player has been awarded in all competitions and friendlies for the second national team.

Default
empty
Example
empty
Auto value
empty
number optional
Manager club 1 managerclubs1

The first club that the person has served with in the capacity of team manager. Please do not list positions other than team manager (such as assistant or coach positions, or director of football roles where this role is not considered managerial) unless that position is a significant part of the person's career; this will apply primarily to those with significant or perhaps primary experience in management. Clubs listed can be both local and national and should be restricted to those ordinarily considered notable in themselves.

Default
empty
Example
empty
Auto value
empty
string optional
Manager club 2 managerclubs2

The second club that the person has served with in the capacity of team manager. Up to 30 can be added using the parameter names "managerclubs3", "managerclubs4", etc.

Default
empty
Example
empty
Auto value
empty
string optional
Manager club 1 years manageryears1

The years that the person has served with the first club in the capacity of team manager.

Default
empty
Example
empty
Auto value
empty
number optional
Manager club 2 years manageryears2

The years that the person has served with the second club in the capacity of team manager. Up to 30 can be added using the parameter names "manageryears3", "manageryears4", etc.

Default
empty
Example
empty
Auto value
empty
number optional
Medal templates medaltemplates

Honors can be added here using {{Medal}} templates.

Default
empty
Example
empty
Auto value
empty
string optional
Professional club update timestamp club-update

A timestamp (~~~~~) at which the player's professional club statistics are correct (not needed if the player has retired).

Default
empty
Example
empty
Auto value
empty
string optional
National team update timestamp nationalteam-update

A timestamp (~~~~~) at which the player's national team statistics are correct (not needed if the player has retired).

Default
empty
Example
empty
Auto value
empty
string optional