Difference between revisions of "Template:Date"

From Self-sufficiency
Jump to: navigation, search
m (allow to override form in cs)
m (fix default form (when passed through other functions, e.g. {{ISOdate}}))
Line 3: Line 3:
 
|bn      ={{I18n month|{{{2|}}}|bn}} {{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|bn|sep=1}} }}, {{formatnum|{{{1|}}}|bn|sep=1}}
 
|bn      ={{I18n month|{{{2|}}}|bn}} {{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|bn|sep=1}} }}, {{formatnum|{{{1|}}}|bn|sep=1}}
 
|bpy    ={{I18n month|{{{2|}}}|bpy}} {{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|bpy|sep=1}} }}, মারি {{formatnum|{{{1|}}}|bpy|sep=1}}
 
|bpy    ={{I18n month|{{{2|}}}|bpy}} {{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|bpy|sep=1}} }}, মারি {{formatnum|{{{1|}}}|bpy|sep=1}}
|cs      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}. {{I18n month|{{{2|}}}|cs|form={{{form|gen}}}}} | {{I18n month|{{{2|}}}|cs|form={{{form|}}}}} }} {{{1|}}}
+
|cs      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}. {{I18n month|{{{2|}}}|cs|form={{#if:{{{form|}}}|{{{form}}}|gen}}}} | {{I18n month|{{{2|}}}|cs|form={{{form|}}}}} }} {{{1|}}}
 
|da      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}.}} {{I18n month|{{{2|}}}|da}} {{{1|}}}
 
|da      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}.}} {{I18n month|{{{2|}}}|da}} {{{1|}}}
 
|de      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}.}} {{I18n month|{{{2|}}}|de}} {{{1|}}}
 
|de      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}.}} {{I18n month|{{{2|}}}|de}} {{{1|}}}

Revision as of 12:44, 15 December 2009