Predloga:Infopolje Astronavt/dok

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search


Usage[uredi kodo]

This infobox may be added by copy-pasting the template as shown below into an article.

{{{name}}}
[[Slika:{{{image}}}|{{{image_size}}}px]]
{{{caption}}}
{{{type}}}
Domače ime
{{{native_name}}}
Druga imena
{{{other_names}}}
Narodnost{{{nationality}}}
Status{{{status}}}
Rojstvo{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Smrt{{{death_date}}}
{{{death_place}}}
Grob
{{{resting_place}}}
Drugi poklici
{{{occupation}}}
Trenutni poklic
{{{current_occupation}}}
Prejšnji poklic{{{previous_occupation}}}
{{{alma_mater}}}
Čin{{{rank}}}
Čas v vesolju
{{{space_time}}}
Selekcijaselection  [a date]
Število EVA
evas  [a number]
Skupni EVA čas
{{{eva_time}}}
Odpravemissions (or mission)
Oznake odprav
{{{insignia}}}
Upokojitevretirement  [a date]
Nagrade{{{awards}}}
Spomeniki{{{memorials}}}
Spletna stran{{{url}}}
{{{module}}}
{{Infopolje Astronavt
| name = 
| image = <!-- Wikidata -->
| image_size = 
| alt =
| caption = <!-- Wikidata -->
| type = 
| native_name = 
| native_name_lang = 
| nationality = 
| status = 
| birth_name = <!-- Wikidata -->
| birth_date = <!-- Wikidata -->
| birth_place = <!-- Wikidata -->
| death_date = <!-- Wikidata -->
| death_place = <!-- Wikidata -->
| resting_place = 
| resting_place_coords = 
| other_names = 
| occupation = 
| current_occupation = 
| previous_occupation = 
| alma_mater = 
| rank = 
| space_time = 
| selection = 
| evas = 
| eva_time =    <!-- h m s -->
| missions =    <!-- ali: |mission= -->
| insignia = 
| retirement =  <!-- {{končni datum|YYYY|MM|DD}} -->
| awards = 
| memorials = 
| url =         <!-- {{URL|example.com}} -->
| child =
| module = 
}}

Parametri[uredi kodo]

Parameter Explanation
name Commonly-known name of person.
image A picture of or including the person, ideally at 200px.
image_size To set image's size (width).
alt image's alt text.
caption Caption to accompany image. If a (portrait) photograph of the person, try to include date of photo and photographer's name.
type Sponsoring agency (NASA, RKA, ESA, CSA, etc.) plus "Astronaut" ("Cosmonaut" for RKA) for professionals; Payload Specialist, Tourist, etc. for other flyers.
native_name Person's name in their native/local language. If more than one, separate using {{plainlist}}.
native_name_lang ISO 639-2 code for person's native/local language (e.g. "fr" for French). If more than one, use {{lang}} instead.
nationality Person's nationality.
status Person's status as regards their membership/involvement with an astro/cosmonaut corps (Active, Retired, Dead, Dismissed, etc).
birth_name Person's full birth name.
birth_date Person's date of birth (month, day, year).
birth_place Person's place of birth (town, city, country).
death_date Person's date of death (month, day, year).
death_place Person's place of death (town, city, country).
resting_place Location where person buried, ashes interred/scattered, etc.
resting_place_coords resting_place {{coords}}.
other_names (If person used/known by names other than those already given).
occupation Person's occupation or occupations other than as an astro/cosmonaut.
current_occupation Person's current occupation if not still an astro/cosmonaut.
previous_occupation Person's (last) occupation before becoming an astro/cosmonaut.
alma_mater Person's alma mater.
rank Person's military rank (if any).
space_time Total time (to date) person has spent in space (h(ours) m(inutes) s(econds)).
selection Date when person selected to train as an astronaut.
evas Total number of EVAs.
eva_time Total time of all EVAs when combined.
missions  (or mission) Completed or in-progress space mission or missions in which the person has taken or is taking part. Do not enter future missions: crew assignments can change prior to launch.
insignia One or more images of completed or in-progress mission insignia for space missions in which the person has taken or is taking part. Do not enter future missions: crew assignments can change prior to launch.
retirement Date when person retired from astro/cosmonaut activity.
awards Any awards person has received.
memorials Any monuments or memorials to the person.
url Website
child For embedding this infobox into another.
module Used for embedding other templates into this one.

Use as an embedded ("child") template[uredi kodo]

The child parameter is used when embedding this infobox into another.

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 = 
  {{Infobox astronaut | child=yes
  | Hide head = yes
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

The infobox's headers may be styled accordingly (e.g. given a different background) by using the parameter headerstyle.

Embedding other templates[uredi kodo]

The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules). For example:

{{Infopolje Astronavt
| name = 
| <!-- etc. -->
| module = 
   {{Infopolje Nogometaš |embed=yes
    | <!-- etc. -->
}} }}

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.

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 Josip Plemelj v Wikidata.

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.

See also[uredi kodo]

Predloga:Spaceflight infoboxes