Difference between revisions of "Template:Date"

From Self-sufficiency
Jump to: navigation, search
m (fix default form (when passed through other functions, e.g. {{ISOdate}}))
m (77 revisions from commons:Template:Date)
 
(13 intermediate revisions by 10 users not shown)
Line 19: Line 19:
 
|hi      ={{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|hi|sep=1}} }} {{I18n month|{{{2|}}}|hi}} {{formatnum|{{{1|}}}|hi|sep=1}}
 
|hi      ={{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|hi|sep=1}} }} {{I18n month|{{{2|}}}|hi}} {{formatnum|{{{1|}}}|hi|sep=1}}
 
|hr      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}.}} {{I18n month|{{{2|}}}|hr}} {{#if: {{{1|}}} | {{#expr: {{{1|}}} }}.}}
 
|hr      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}.}} {{I18n month|{{{2|}}}|hr}} {{#if: {{{1|}}} | {{#expr: {{{1|}}} }}.}}
|hu      ={{#if: {{{1|}}} | {{#expr: {{{1|}}} }}. }} {{I18n month|{{{2|}}}|hu}} {{#if: {{{3|}}} | {{#expr: {{{3}}} }}.}}
+
|hu      ={{#if: {{{1|}}} | {{#expr: {{{1|}}} }}. }} {{I18n month|{{{2|}}}|hu}} {{#if: {{{3|}}} | {{#expr: {{{3}}} }}{{#if: {{{form|}}} | | . }} }}
 
|ja      ={{#if: {{{1|}}} | {{#expr:{{{1|}}}}}年}}{{I18n month|{{{2|}}}|ja}}{{#if: {{{3|}}} |{{#expr:{{{3|}}}}}日}}
 
|ja      ={{#if: {{{1|}}} | {{#expr:{{{1|}}}}}年}}{{I18n month|{{{2|}}}|ja}}{{#if: {{{3|}}} |{{#expr:{{{3|}}}}}日}}
 
|kn      ={{I18n month|{{{2|}}}|kn}} {{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|kn|sep=1}} }}, {{formatnum|{{{1|}}}|kn|sep=1}}
 
|kn      ={{I18n month|{{{2|}}}|kn}} {{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|kn|sep=1}} }}, {{formatnum|{{{1|}}}|kn|sep=1}}
Line 33: Line 33:
 
|pl      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} {{I18n month|{{{2|}}}|pl|form=gen}} | {{I18n month|{{{2|}}}|pl|form={{#if:{{{form|}}}|{{{form|}}}}}}} }} {{{1|}}}
 
|pl      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} {{I18n month|{{{2|}}}|pl|form=gen}} | {{I18n month|{{{2|}}}|pl|form={{#if:{{{form|}}}|{{{form|}}}}}}} }} {{{1|}}}
 
|pt      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} de }} {{#if: {{{2|}}} | {{I18n month|{{{2|}}}|pt}} de }} {{{1|}}}
 
|pt      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} de }} {{#if: {{{2|}}} | {{I18n month|{{{2|}}}|pt}} de }} {{{1|}}}
|ru      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} }} {{I18n month|{{{2|}}}|ru|form=gen}} {{{1|}}}
+
|pt-BR  ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} de }} {{#if: {{{2|}}} | {{lc:{{I18n month|{{{2|}}}|pt}}}} de }} {{{1|}}}
 +
|ru      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} }} {{#if: {{{3|}}} | {{I18n month|{{{2|}}}|ru|form=gen}} | {{I18n month|{{{2|}}}|ru}} }} {{{1|}}}
 
|sr      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}. }} {{I18n month|{{{2|}}}|sr|}} {{#expr: {{{1|}}} }}.  
 
|sr      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }}. }} {{I18n month|{{{2|}}}|sr|}} {{#expr: {{{1|}}} }}.  
 
|th      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} }} {{I18n month|{{{2|}}}|th}} {{#if: {{{1|}}} | {{#ifexpr: {{{1}}} <= 1940 | {{#if: {{{2|}}} | {{#ifexpr: {{{2|}}} < 4 | พ.ศ. {{#expr: {{{1}}} + 542 }} | พ.ศ. {{#expr: {{{1}}} + 543 }} }} | {{#expr: {{{1}}} + 542 }} หรือ {{#expr: {{{1}}} + 543 }} }} | พ.ศ. {{#expr: {{{1}}} + 543 }} }} }}
 
|th      ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} }} {{I18n month|{{{2|}}}|th}} {{#if: {{{1|}}} | {{#ifexpr: {{{1}}} <= 1940 | {{#if: {{{2|}}} | {{#ifexpr: {{{2|}}} < 4 | พ.ศ. {{#expr: {{{1}}} + 542 }} | พ.ศ. {{#expr: {{{1}}} + 543 }} }} | {{#expr: {{{1}}} + 542 }} หรือ {{#expr: {{{1}}} + 543 }} }} | พ.ศ. {{#expr: {{{1}}} + 543 }} }} }}

Latest revision as of 20:59, 20 September 2010