Шаблон:Age

Материал из Guild Wars 2 wiki
Версия от 14:24, 19 августа 2013; Snowbirdie (обсуждение | вклад) (Новая страница: «<includeonly>{{#vardefine:days|{{Datediff|{{{1}}}}}}}{{ #ifexpr: {{#var:days}} > 365 |{{ #expr: {{int div|{{#var:days}}|365}} }} years and {{ #expr: {{#var:days}}…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Usage[править]

A utility template that displays the number of days value returned by {{Datediff}} in years and days. The date value given to this value is "diff-ed" with the current date.

Examples[править]

{{Age|20090101}} 
15 years and 140 days
{{Age|1 Jan 2007}} 
17 years and 141 days