Шаблон:HumanizeDate — различия между версиями
(отступы, документация, оформление) |
(оформление) |
||
Строка 5: | Строка 5: | ||
| {{#iferror: {{#time: j | {{{ date | {{{1}}} }}} }} {{#time: m | {{{ date | {{{1}}} }}} }} {{#time: Y | {{{ date | {{{1}}} }}} }} | | {{#iferror: {{#time: j | {{{ date | {{{1}}} }}} }} {{#time: m | {{{ date | {{{1}}} }}} }} {{#time: Y | {{{ date | {{{1}}} }}} }} | ||
| {{{date|{{{1}}}}}} | | {{{date|{{{1}}}}}} | ||
− | | {{TranslateDate|{{#time: Y | {{{ date | {{{1}}} }}} }} | {{#time: m | {{{ date | {{{1}}} }}} }} | {{#time: j | {{{ date | {{{1}}} }}} }} | lang = {{{lang|{{{2|}}} }}} }} | + | | {{TranslateDate|{{#time: Y| {{{ date | {{{1}}} }}} }} | {{#time: m| {{{ date | {{{1}}} }}} }} | {{#time: j| {{{ date | {{{1}}} }}} }} | lang = {{{lang|{{{2|}}} }}} }} |
}} | }} | ||
}} | }} | ||
| {{#iferror: {{#time: m | {{{ date | {{{1}}} }}} }} {{#time: Y | {{{ date | {{{1}}} }}} }} | | {{#iferror: {{#time: m | {{{ date | {{{1}}} }}} }} {{#time: Y | {{{ date | {{{1}}} }}} }} | ||
| {{{date|{{{1}}}}}} | | {{{date|{{{1}}}}}} | ||
− | | {{TranslateDate|{{#time: Y | {{{ date | {{{1}}} }}} }} | {{#time: m | {{{ date | {{{1}}} }}} }} | lang = {{{lang|{{{2|}}} }}} }} | + | | {{TranslateDate|{{#time: Y| {{{ date | {{{1}}} }}} }} | {{#time: m| {{{ date | {{{1}}} }}} }} | lang = {{{lang|{{{2|}}} }}} }} |
}} | }} | ||
}} | }} |