Difference between revisions of "Template:Days ago"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Temp fix for FR. I fear that the syntax that I would use for "Days ago" in french would be different from what Daff or Muculus would use so I'm looking up for something else.)
Line 1: Line 1:
 
{{#ifexpr:{{LOCALMONTH}} = {{{1|}}}
 
{{#ifexpr:{{LOCALMONTH}} = {{{1|}}}
 
|{{#ifexpr:{{LOCALDAY}} = {{{2|}}}
 
|{{#ifexpr:{{LOCALDAY}} = {{{2|}}}
   |({{lang|en=Today|cs=Dnes|de=Heute|pl=dzisiaj}})
+
   |({{lang|en=Today|cs=Dnes|de=Heute|pl=dzisiaj|fr=Aujourd'hui}})
 
   |{{#ifexpr:{{LOCALDAY}} - {{{2|}}} = 1  
 
   |{{#ifexpr:{{LOCALDAY}} - {{{2|}}} = 1  
     |({{lang|en=Yesterday|cs=Včera|de=Gestern|pl=wczoraj}})
+
     |({{lang|en=Yesterday|cs=Včera|de=Gestern|pl=wczoraj|fr=Hier}})
     |({{lang|en=|cs=před |de=vor }}{{#expr:{{LOCALDAY}} - {{{2|}}}}} {{lang|en=days ago|cs=dny|de=Tagen|pl=dni temu}})
+
     |({{lang|en=|cs=před |de=vor }}{{#expr:{{LOCALDAY}} - {{{2|}}}}} {{lang|en=days ago|cs=dny|de=Tagen|pl=dni temu|fr=jours}})
 
     }}
 
     }}
 
   }}
 
   }}
 
|}}
 
|}}

Revision as of 00:31, 7 August 2010

Expression error: Missing operand for =.