Predloga:Time ago/core/peskovnik: Razlika med redakcijama

brez povzetka urejanja
Brez povzetka urejanja
Brez povzetka urejanja
{{#ifexpr:{{#time:U}}>={{#time:U|{{{time|}}}}}
|{{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}}
|0 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}}))}}|secondsekunda|secondssekund}}
|1 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/60)}}|minuteminuta|minutesminut}}
|2 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/3600)}}|hourura|hoursur}}
|3 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/86400)}}|daydan|daysdni}}
|4 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/604800)}}|weekteden|weekstednov}}
|5 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/2678400)}}|monthmesec|monthsmesecev}}
|6 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/31557600)}}|yearleto|yearslet}}
}} {{{fa|fa}}}
|{{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}}