Difference between revisions of "Template:Date"
From Self-sufficiency
(2nd el) |
(+pt) |
||
Line 29: | Line 29: | ||
|pa ={{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|pa|sep=1}} }} {{I18n month|{{{2|}}}|pa}} {{formatnum|{{{1|}}}|pa|sep=1}} | |pa ={{#if: {{{3|}}} | {{formatnum|{{#expr: {{{3}}} }}|pa|sep=1}} }} {{I18n month|{{{2|}}}|pa}} {{formatnum|{{{1|}}}|pa|sep=1}} | ||
|pl ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} {{I18n month-gen|{{{2|}}}|pl}} | {{I18n month|{{{2|}}}|pl}} }} {{{1|}}} | |pl ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} {{I18n month-gen|{{{2|}}}|pl}} | {{I18n month|{{{2|}}}|pl}} }} {{{1|}}} | ||
+ | |pt ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} de {{I18n month-gen|{{{2|}}}|pt}} | {{I18n month|{{{2|}}}|pl}} }} de {{{1|}}} | ||
|ru ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} }} {{I18n month-gen|{{{2|}}}|ru}} {{{1|}}} | |ru ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} }} {{I18n month-gen|{{{2|}}}|ru}} {{{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 }} }} | {{other date|or|{{#expr: {{{1}}} + 542 }}|{{#expr: {{{1}}} + 543 }}|th}} }} | พ.ศ. {{#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 }} }} | {{other date|or|{{#expr: {{{1}}} + 542 }}|{{#expr: {{{1}}} + 543 }}|th}} }} | พ.ศ. {{#expr: {{{1}}} + 543 }} }} }} |
Revision as of 09:29, 11 June 2009
[edit]
Documentation