Difference between revisions of "Template:Days ago"
(sigh, doesn't work at all.) |
|||
Line 1: | Line 1: | ||
− | {{#ifexpr:{{LOCALMONTH}}={{{1|}}}|{{#ifexpr:{{LOCALDAY}}={{{2|}}}|(Today)|{{#ifexpr:{{LOCALDAY}}-{{{2|}}}=1|(Yesterday)|({{#expr:{{LOCALDAY}}-{{{2|}}}}} days ago)}}}}|}} | + | {{#ifexpr:{{LOCALMONTH}} = {{{1|}}} |
+ | | {{#ifexpr:{{LOCALDAY}} = {{{2|}}} | ||
+ | | ({{lang|en=Today|cs=Dnes|de=Heute|pl=dzisiaj}}) | ||
+ | | {{#ifexpr:{{LOCALDAY}} - {{{2|}}} = 1 | ||
+ | | ({{lang|en=Yesterday|cs=Včera|de=Gestern|pl=wczoraj}}) | ||
+ | | ({{lang|en=|cs=před|de=vor}} {{#expr:{{LOCALDAY}} - {{{2|}}}}} {{lang|en=days ago|cs=dny|de=Tagen|pl=dni temu}}) | ||
+ | }} | ||
+ | }} | ||
+ | |}} |
Revision as of 00:09, 7 August 2010
Expression error: Missing operand for =.