Templat:Dts/core: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Hary T. (bicara | kontrib)
←Membuat halaman berisi '<includeonly><!-- -->{{#ifexpr:{{{1}}}>0|<!-- ===================================================== = year specified as number > 0, with or without "BC" ================...'
 
Borgx (bicara | kontrib)
k .
Baris 26:
=============================================================================
-->{{#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}}}}} BC|{{#expr:1*{{{1}}}}}}}|[[{{#ifeq:{{lc:{{{4|}}}}}|bc|{{#expr:1*{{{1}}}}} BC|{{#expr:1*{{{1}}}}}}}]]}}}}}}</span><!--
================================
= year specified as number <= 0
Baris 44:
// 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}}}}} BC|[[{{#expr:0-{{{1}}}}} BC]]}}}}}}</span><!--
 
--></includeonly><noinclude>{{soft redirect|Template:dts}}</noinclude>
[[Kategori:Templat matematika]]
[[en:Template:Dts/core]]</noinclude>