Templat:Death date and age: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k fix tanggal
Tag: Suntingan visualeditor-wikitext
Taylor 49 (bicara | kontrib)
age->Umur
 
(3 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 1:
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{#expr:NAMABULAN|{{{32}}}}} |{{NAMABULAN|#expr:{{{23}}}}}| {{NAMABULAN|{{{2}}}}} }} {{{1}}}<span style="display:none">({{{1}}}-{{padleft:{{NOMORBULAN|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}})</span> (umur&nbsp;{{#if:{{{5|}}}
|{{#if:{{{6|}}}
|<!-- if all birth values are specified -->{{ageUmur|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|{{{2}}}|{{{3}}}}}
|{{#ifexpr:{{{2}}}<{{{5}}}
|<!-- if birth month but not day exist and birth month was not reached in death year -->{{ageUmur|{{{4}}}|12|31|{{{1}}}|{{{2}}}|{{{3}}}}}
|{{#ifexpr:{{{2}}}>{{{5}}}<!-- if birth month but not day exist and birth month was reached in death year -->
|{{ageUmur|{{{4}}}|1|1|{{{1}}}|{{{2}}}|{{{3}}}}}
|<!-- if birth month but not day exist and birth month is the death month -->{{ageUmur|{{{4}}}|12|31|{{{1}}}|{{{2}}}|{{{3}}}}}–{{ageUmur|{{{4}}}|1|1|{{{1}}}|{{{2}}}|{{{3}}}}}
}}
}}