Lompat ke isi

Templat:Age in days: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
Borgx (bicara | kontrib)
k {{terjemah|Inggris}}
kTidak ada ringkasan suntingan
Baris 1: Baris 1:
<noinclude>{{terjemah|Inggris}}</noinclude><includeonly>{{#expr:
<includeonly>{{#expr:
+ {{Gregorian serial date
+ {{Gregorian serial date
|month = {{{month2|{{{5|{{CURRENTMONTH}}}}}}}}
|month = {{{month2|{{{5|{{CURRENTMONTH}}}}}}}}
Baris 9: Baris 9:
|day = {{{day1|{{{3|{{CURRENTDAY}}}}}}}}
|day = {{{day1|{{{3|{{CURRENTDAY}}}}}}}}
|year = {{{year1|{{{1|{{CURRENTYEAR}}}}}}}}
|year = {{{year1|{{{1|{{CURRENTYEAR}}}}}}}}
}} }}</includeonly><noinclude>
}} }}</includeonly><noinclude>{{template doc}}
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. To use type:
:<nowiki>{{age in days|month1= |day1= |year1= |month2= |day2= | year2=}},</nowiki> or with unnames parameters:
:<nowiki>{{age in days|year1|month1|day1|year2|month2|day2}}</nowiki> or
:<nowiki>{{age in days|year1|month1|day1}}</nowiki>
[[Category:Date mathematics templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[nl:Sjabloon:Aantal dagen]]
[[ru:Шаблон:Days between]]
</noinclude>
</noinclude>

Revisi per 9 Desember 2007 13.19