Predloga:Starost v dnevih

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

Uporaba

This template returns the number of days between two dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today.

{starost v dnevih|month1= |day1= |year1= |month2= |day2= | year2=}

Ali z nepoimenovanimi parametri:

{starost v dnevih|year1|month1|day1|year2|month2|day2} ali
{starost v dnevih|year1|month1|day1}

Zgledi:

  • {starost v dnevih|2007|5|24|2008|4|23} izpiše 335
  • {starost v dnevih|2007|5|24} izpiše 6330

Glej tudi

Rojstvo, smrt, starost
  • {Datum rojstva} – izpiše datum in povezane skrite meta podatke
  • {Datum rojstva in starost} – enako kot {Datum rojstva}, razen da se izza datuma rojstva izpiše tudi "(## let)"
  • {Datum rojstva in starost2} – izpiše starost za določeni datum in datum rojstva, "## let (datum rojstva)"
  • {Birth-date and age} – display birth date and age, accepts dates as text (15 June 1950; June 15, 1950; June 1950; etc.)
  • {Leto rojstva in starost} – leto rojstva in približna starost
  • {Birth based on age as of date} – displays approximate birth year and current age; used when a dated reference mentions the age of a person as of the date of publication
  • {Birth date based on age at death} – displays approximate birth year based on age at death (useful if exact birth date is not known, but age at death is)
  • {Datum smrti} – izpiše datum in povezane skrite meta podatke
  • {Datum smrti in starost} – enako kot {Datum smrti}, razen da se izza datuma smrti izpiše tudi "(## let)"
  • {Death-date and age} – display death date and age, accepts date as text (15 June 1950; June 15, 1950; June 1950; etc.)
  • {Death date and given age} – displays death date and specified age (useful if exact birth date is not known, but age at death is)
  • {Leto smrti in starost} – leto smrti in približna starost ob smrti
Samo starost
  • {Starost} – starost, ki temelji na celih letih med dvema datumoma (ali med določenim in današnjim datumom)
  • {Starost nts} – kot {Starost}, vendar pravilno razvrsti v razvrstljivih tabelah
  • {Age as of date} – current age in years, based on a known age as of a specified date
  • {Starost v letih in dnevih} – cela leta in dnevi med dvema datumoma (določen in trenutni datum)
  • {Starost v letih in dnevih kot besedilo} – za uporabo v besedilu (uporablja "in" namesto vejice)
  • {Starost v letih, mesecih in dnevih} – celotna leta, meseci in dnevi med dvema datumoma (ali določenim datumom in trenutnim datumom)
  • {Starost v dnevih} – starost v dnevih med dvema datumoma (ali določenim in trenutnim datumom)
  • {Starost v dnevih nts} – starost v dnevih; števila se bodo v tabelah pravilno sortirala