Difference between revisions of "Template:Date"

From Self-sufficiency
Jump to: navigation, search
(some 'if' to correctly fail)
m (strip the leading zero for 'de|nds')
Line 1: Line 1:
 
{{#if: {{{1|}}}{{{2|}}}{{{3|}}} |
 
{{#if: {{{1|}}}{{{2|}}}{{{3|}}} |
 
{{#switch: {{int:lang}}
 
{{#switch: {{int:lang}}
|de|nds={{#if: {{{3|}}} | {{{3}}}. | <noinclude>{{CURRENTDAY}}</noinclude> }} {{I18n month|{{{2|<noinclude>{{CURRENTMONTH}}</noinclude>}}}}} {{{1|<noinclude>{{CURRENTYEAR}}</noinclude>}}}
+
|de|nds={{#if: {{{3|}}} | {{#expr: {{{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>}}}

Revision as of 12:06, 25 January 2009