Difference between revisions of "Template:Days ago"

From Team Fortress Wiki
Jump to: navigation, search
(English is a requirement. :P)
(sigh, doesn't work at all.)
Line 1: Line 1:
{{#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}})}}}}|}}
+
{{#ifexpr:{{LOCALMONTH}}={{{1|}}}|{{#ifexpr:{{LOCALDAY}}={{{2|}}}|(Today)|{{#ifexpr:{{LOCALDAY}}-{{{2|}}}=1|(Yesterday)|({{#expr:{{LOCALDAY}}-{{{2|}}}}} days ago)}}}}|}}

Revision as of 23:47, 6 August 2010

Expression error: Missing operand for =.