Difference between revisions of "Template:Days ago"

From Team Fortress Wiki
Jump to: navigation, search
(Changed back to server time.)
(multiple langs)
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|cs=dny|de=Tagen|pl=dni temu}})}}}}|}}

Revision as of 23:38, 6 August 2010

Expression error: Missing operand for =.