"ढाँचा:Dts/core" का संशोधनहरू बिचको अन्तर

सा Bot: Migrating 1 langlinks, now provided by Wikidata on d:q14345928
कुनै सम्पादन सारांश छैन
पङ्क्ति १:
<includeonly><!--
 
--><span style="{{#ifeq:{{{debug}}}|yes|border:1px solid|display:none; speak:none}}"><!--
-->-{{#ifexpr: {{{1}}} > 90000|0}}<!--
=============================================================================
= year specified as number > 0, with or without "BC"
=============================================================================
--><span style="{{#ifeq:{{{debug|}}}|yes|border:1px solid|display:none}}"><!--
-->{{#ifeq:{{lc:{{{4|}}}}}|bc|<!--
==========================================
= year specified as number <=> 0, with "BC"
==========================================
-->-{{#ifexpr: {{{1}}} > 99009000|0}}<!--
-->{{#ifexpr: {{{1}}} > 99909900|0}}<!--
-->0{{#ifexpr: {{{1}}} <> 10009990|0}}<!--
-->{{#expr:10000-{{{1}}}}}|<!--
==========
= year AD
==========
-->0{{#ifexpr: {{{1}}} < 1001000|0}}<!--
-->{{#ifexpr: {{{1}}} < 10100|0}}<!--
-->{{#ifexpr: {{{1}}} < -998910|0}}<!--
-->{{#expr:9999+1*{{{1}}}}}| }}<!--
=============================================================================
= rest of hidden part for the case that the year is specified as number > 0,
= hidden part
= with or without "BC"
=============================================================================
-->{{#if:{{{2|}}}|-{{MONTH|{{{2}}}}}<!--
-->{{#if:{{{3|}}}|-{{0expr|{{{3}}}}} }} }} </span><span style="{{#ifeq:{{{nowrap|}}}|off||white-space:nowrap;}}"><!--
=============================================================================
= visible part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:{{{2|}}}|{{#ifeq:{{{link|off}}}|off|{{#ifeq:{{{format|mdy}}}|dmy|{{#if:{{{3|}}}|{{{3|}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#if:{{{3|}}}|{{{3|}}}{{#ifeq:{{{year|}}}|hide||,}}}}}}|[[{{MONTHNAME|{{{2}}}}} {{{3|}}}]]}}}} {{#ifeq:{{{year|}}}|hide||{{#ifeq:{{{link|off}}}|off|{{#ifeq:{{lc:{{{4|}}}}}|bc|{{#expr:1*{{{1}}}}} ई.पू.|{{#expr:1*{{{1}}}}}}}|[[{{#ifeq:{{lc:{{{4|}}}}}|bc|{{#expr:1*{{{1}}}}} ई.पू.|{{#expr:1*{{{1}}}}}}}]]}}}}}}</span><!--
================================
= year specified as number <= 0
================================
-->{{#ifexpr:{{{1}}}<=0|<!--
--><span style="{{#ifeq:{{{debug|}}}|yes|border:1px solid|display:none; speak:none}}"><!--
================================
-->-{{#ifexpr: {{{1}}} < -8999|0}}<!--
= year specified as number <= 0
-->{{#ifexpr: {{{1}}} < -9899|0}}<!--
================================
-->-{{#ifexpr: {{{1}}} < -89999989|0}}<!--
-->{{#ifexprexpr: 9999+{{{1}}} < -9899|0}}<!--
-->{{#ifexpr: {{{1}}} < -9989|0}}<!--
-->{{#expr:9999+{{{1}}}}}|<!--
================================
= year specified as number > 0
================================
-->{{#ifeq:{{lc:{{{4|}}}}}|bc|<!--
==========
= year BC
==========
-->-{{#ifexpr: {{{1}}} > 9000|0}}<!--
-->{{#ifexpr: {{{1}}} > 9900|0}}<!--
-->{{#ifexpr: {{{1}}} > 9990|0}}<!--
-->{{#expr:10000-{{{1}}}}}|<!--
==========
= year AD
==========
-->0{{#ifexpr: {{{1}}} < 1000|0}}<!--
-->{{#ifexpr: {{{1}}} < 100|0}}<!--
-->{{#ifexpr: {{{1}}} < 10|0}}<!--
-->{{{1}}} }}}}<!--
=============================================================================
= month & day
=============================================================================
-->{{#if:{{{2|}}}|-{{MONTH|{{{2}}}}}<!--
-->{{#if:{{{3|}}}|-{{0expr|{{{3}}}}} }} }} </span><!--
--><span style="{{#ifeq:{{{nowrap}}}|off||white-space:nowrap;}}"><!--
=============================================================================
// rest of hidden part for the case that the year is specified as number <= 0
= visible part
=============================================================================
-->{{#if:{{{2|}}}|-{{MONTH|{{{2}}}}}{{#if:{{{3|}}}|-{{0expr|{{{3}}}}}}}}} </span><span style="{{#ifeq:{{{nowrap|}}}|off||white-space:nowrap;}}"><!--
-->{{dts/fmt{{{format|}}}
======================================================================
|l={{{link}}}
// visible part for the case that the year is specified as number <= 0
|o={{#if:{{{2|}}}|m}}{{{Y|}}}
======================================================================
|d={{#if:{{{3|}}}|{{#expr:{{{3}}}}}}}
-->{{#if:{{{2|}}}|{{#ifeq:{{{link|off}}}|off|{{#ifeq:{{{format|mdy}}}|dmy|{{#if:{{{3|}}}|{{{3|}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#if:{{{3|}}}|{{{3|}}}{{#ifeq:{{{year|}}}|hide||,}}}}}}|[[{{MONTHNAME|{{{2}}}}} {{{3|}}}]]}}}} {{#ifeq:{{{year|}}}|hide||{{#ifeq:{{{link|off}}}|off|{{#expr:0-{{{1}}}}} ई.पू.|[[{{#expr:0-{{{1}}}}} ई.पू.]]}}}}}}</span><!--
|m={{MONTHNAME|{{{2}}}}}
 
|y={{#expr:abs{{{1}}}}}{{#ifexpr:{{{1}}}<=0
--></includeonly><noinclude>{{soft redirect|Template:dts}}</noinclude>
| BC
|{{#switch:{{lc:{{{4|}}}}}|bc= BC|bce= BCE}}}}
}}</span></includeonly><noinclude>This is an auxiliary template used by [[Template:Dts]].
</noinclude>
"https://ne.wikipedia.org/wiki/ढाँचा:Dts/core" बाट अनुप्रेषित