"ढाँचा:Date table sorting" का संशोधनहरू बिचको अन्तर
Content deleted Content added
arranging code |
new code |
||
पङ्क्ति १:
<includeonly>{{#
|{{#if:{{{1|}}}
|{{dts/{{#ifeq:{{#expr:{{{1|}}}0*0}}|0|core|hart}}|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|debug={{{debug|}}}|format={{{format|}}}|link={{#if:{{{link|}}}|off|no}}|nowrap={{{nowrap|}}}|Y=y}}▼
|{{dts/core|{{
|d={{#expr:{{{3}}}}}
|m={{#iferror:{{#expr:{{{2}}}}}|{{{2}}}|{{#time:F|2000-{{padleft:{{{2}}}|2}}-01}}}}
|y={{#expr:abs{{{1}}}}}{{#ifexpr:{{{1}}}<=0| BC|{{#switch:{{lc:{{{4|}}}}}|bc= BC|bce= BCE}}}}
|debug={{{debug|}}}
|nowrap={{{nowrap|}}}
|format={{#switch:{{{format}}}
|dmy={{#if:{{{3|}}}|d}}{{#if:{{{2|}}}|m}}y
|dm={{#if:{{{3|}}}|d}}{{#if:{{{2|}}}|m}}
|md={{#if:{{{2|}}}|m}}{{#if:{{{3|}}}|d}}
|{{#if:{{{2|}}}|m}}{{#if:{{{3|}}}|d}}y
}}
}}
|{{dts/core|{{CURRENTYEAR}}|{{{2|}}}|{{{3|}}}
|d={{#expr:{{{3}}}}}
|m={{#iferror:{{#expr:{{{2}}}}}|{{{2}}}|{{#time:F|2000-{{padleft:{{{2}}}|2}}-01}}}}
|debug={{{debug|}}}
|nowrap={{{nowrap|}}}
|format={{#switch:{{{format}}}
|dmy|dm={{#if:{{{3|}}}|d}}m
|m{{#if:{{{3|}}}|d}}
}}
}}
}}
▲
}}</includeonly><noinclude>
{{documentation}}
|