Difference between revisions of "Template:ISOdate"
From Self-sufficiency
(←Created page with '{{#if: {{{1|}}} | {{#ifeq: {{#expr: {{{1}}} }} | {{{1}}} | {{date|{{{1}}}}} | {{#iferror: {{#time: Y-m-d | {{{1|}}} }} | {{#iferror: {{#time: Y-m-d | 19{{{...') |
|||
Line 2: | Line 2: | ||
| {{#ifeq: {{#expr: {{{1}}} }} | {{{1}}} | | {{#ifeq: {{#expr: {{{1}}} }} | {{{1}}} | ||
| {{date|{{{1}}}}} | | {{date|{{{1}}}}} | ||
− | | {{#iferror: {{# | + | | {{#iferror: {{#expr: {{{1}}} }} |
− | | | + | | {{{1|}}} |
− | + | | {{#iferror: {{#time: Y-m-d | {{{1|}}} }} | |
− | + | | {{#iferror: {{#time: Y-m-d | 19{{{1|}}} }} | |
− | + | ||
| {{{1|}}} | | {{{1|}}} | ||
+ | | {{#ifeq: {{#time: d | 19{{{1|}}} }} | {{#time: d }} | ||
+ | | {{date| {{#expr: {{#time: Y | 19{{{1}}} }} - 1900 }} | {{#time: n | 19{{{1}}} }} }} | ||
+ | | {{{1|}}} | ||
+ | }} | ||
}} | }} | ||
− | + | | {{#ifeq: "{{{1}}}" | "{{#time: Y-m-d | {{{1|}}} }}" | |
− | + | | {{date|{{#time: Y | {{{1}}} }}|{{#time: n | {{{1}}} }}|{{#time: j | {{{1}}} }}}} | |
− | + | | {{#ifexpr: {{#expr: {{{1}}} }} < 100 | |
− | + | | {{date| {{#expr: {{#time: Y | {{{1}}} }} - 1900 }} |{{#time: n | {{{1}}} }}|{{#time: j | {{{1}}} }}}} | |
− | + | | {{date|{{#time: Y | {{{1}}} }}|{{#time: n | {{{1}}} }}}} | |
− | + | }} | |
}} | }} | ||
}} | }} |
Revision as of 12:54, 25 January 2009
[edit]
Documentation