Difference between revisions of "Template:Date"

From Self-sufficiency
Jump to: navigation, search
(switch for language-dependant formatting)
(some 'if' to correctly fail)
Line 1: Line 1:
 +
{{#if: {{{1|}}}{{{2|}}}{{{3|}}} |
 
{{#switch: {{int:lang}}
 
{{#switch: {{int:lang}}
|de|nds={{{3|<noinclude>{{CURRENTDAY}}</noinclude>}}}. {{I18n month|{{{2|<noinclude>{{CURRENTMONTH}}</noinclude>}}}}} {{{1|<noinclude>{{CURRENTYEAR}}</noinclude>}}}
+
|de|nds={{#if: {{{3|}}} | {{{3}}}. | <noinclude>{{CURRENTDAY}}</noinclude> }} {{I18n month|{{{2|<noinclude>{{CURRENTMONTH}}</noinclude>}}}}} {{{1|<noinclude>{{CURRENTYEAR}}</noinclude>}}}
 
|#default={{{3|<noinclude>{{CURRENTDAY}}</noinclude>}}} {{I18n month|{{{2|<noinclude>{{CURRENTMONTH}}</noinclude>}}}}} {{{1|<noinclude>{{CURRENTYEAR}}
 
|#default={{{3|<noinclude>{{CURRENTDAY}}</noinclude>}}} {{I18n month|{{{2|<noinclude>{{CURRENTMONTH}}</noinclude>}}}}} {{{1|<noinclude>{{CURRENTYEAR}}
 
</noinclude>}}}
 
</noinclude>}}}
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}

Revision as of 07:06, 24 January 2009