Difference between revisions of "Template:Days ago"

From Team Fortress Wiki
Jump to: navigation, search
m
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|fr=Aujourd'hui}})
+
   |({{lang
 +
|cs=Dnes
 +
|de=Heute
 +
|en=Today
 +
|fr=Aujourd'hui
 +
|pl=dzisiaj
 +
}})
 
   |{{#ifexpr:{{LOCALDAY}} - {{{2|}}} = 1  
 
   |{{#ifexpr:{{LOCALDAY}} - {{{2|}}} = 1  
     |({{lang|en=Yesterday|cs=Včera|de=Gestern|pl=wczoraj|fr=Hier}})
+
     |({{lang
     |({{lang|en=|cs=před |de=vor }}{{#expr:{{LOCALDAY}} - {{{2|}}}}} {{lang|en=days ago|cs=dny|de=Tagen|pl=dni temu|fr=jours auparavant}})
+
|cs=Včera
 +
|de=Gestern
 +
|en=Yesterday
 +
|fr=Hier
 +
|pl=wczoraj
 +
}})
 +
     |({{lang <!-- Use this if your language uses a different syntax to English. -->
 +
|cs=před&nbsp;
 +
|de=vor&nbsp;
 +
|en=<!-- None -->
 +
}}{{#expr:{{LOCALDAY}} - {{{2|}}}}}&nbsp;{{lang
 +
|cs=dny
 +
|de=Tagen
 +
|en=days ago
 +
|fr=jours auparavant
 +
|pl=dni temu
 +
}})
 
     }}
 
     }}
 
   }}
 
   }}
|}}
+
|}}<noinclude>
 +
* '''Supported languages''': cs, de, en, fr, pl
 +
[[Category:Templates that use translation switching|Days ago]]
 +
</noinclude>

Revision as of 02:52, 8 August 2010

Expression error: Missing operand for =.

  • Supported languages: cs, de, en, fr, pl