Difference between revisions of "Template:Date"
From Self-sufficiency
(really fix this time :)) |
(simplify) |
||
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{{#ifeq:{{{form|}}}|gen|-gen}}|{{{2|}}}|pl}} }} {{{1|}}} | |pl ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} {{I18n month-gen|{{{2|}}}|pl}} | {{I18n month{{#ifeq:{{{form|}}}|gen|-gen}}|{{{2|}}}|pl}} }} {{{1|}}} | ||
− | |pt ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} de | + | |pt ={{#if: {{{3|}}} | {{#expr: {{{3}}} }} de }}{{#if: {{{2|}}} | {{I18n month|{{{2|}}}|pt}} 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 }} }} | {{#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 }} }} }} |
Revision as of 15:59, 15 June 2009
[edit]
Documentation