"ढाँचा:Dts/core" का संशोधनहरू बिचको अन्तर
Content deleted Content added
सा Bot: Migrating 1 langlinks, now provided by Wikidata on d:q14345928 |
कुनै सम्पादन सारांश छैन |
||
पङ्क्ति १:
<includeonly><!--
--><span style="{{#ifeq:{{{debug}}}|yes|border:1px solid|display:none; speak:none}}"><!--▼
--><span style="{{#ifeq:{{{debug|}}}|yes|border:1px solid|display:none}}"><!--
=============================================================================
= rest of hidden part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#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|<!--
▲ ================================
-->-{{#ifexpr: {{{1}}} < -8999|0}}<!--
▲ = year specified as number <= 0
-->{{#ifexpr: {{{1}}} < -9899|0}}<!--
▲ ================================
▲ -->{{#ifexpr: {{{1}}} < -9989|0}}<!--
▲ -->{{#expr:9999+{{{1}}}}}|<!--
▲ ================================
▲ = year specified as number > 0
▲ ================================
▲ -->{{#ifeq:{{lc:{{{4|}}}}}|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}}<!--
▲ =============================================================================
▲ =============================================================================
▲ -->{{#if:{{{2|}}}|-{{MONTH|{{{2}}}}}<!--
▲--><span style="{{#ifeq:{{{nowrap}}}|off||white-space:nowrap;}}"><!--
=============================================================================
// rest of hidden part for the case that the year is specified as number <= 0
=============================================================================
-->{{#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
======================================================================
-->{{#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><!--
--></includeonly><noinclude>{{soft redirect|Template:dts}}</noinclude>
|