Шаблон:Dts/core: відмінності між версіями
[перевірена версія] | [перевірена версія] |
Вилучено вміст Додано вміст
м Відкинуто редагування Nickispeaki до зробленого Ahonc |
Avatar6 (обговорення | внесок) <span></span> - відкриті теґи, fix |
||
Рядок 1:
<includeonly>
▲-->{{#ifexpr:{{{1}}}>0|<!--
= year specified as number > 0, with or without "BC"
=====================================================
--><span style="{{#ifeq:{{{debug|}}}|yes|border:1px solid|display:none}}">
= year specified as number > 0, with "BC"
==========================================
#ifexpr: {{{1}}} > 9000|0}} = year AD
==========
= rest of hidden part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
#if:{{{2|}}}|-{{МІСЯЦЬ|{{{2}}}}} }} = 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||,}}}}}}|[[{{#if:{{{3|}}}|{{#expr:{{{3}}}}}}} {{MONTHNAME|{{{2}}}}}]]}}}} {{#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}}">
// rest of hidden part for the case that the year is specified as number <= 0
=============================================================================
-->{{#if:{{{2|}}}|-{{МІСЯЦЬ|{{{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||,}}}}}}|[[{{#if:{{{3|}}}|{{#expr:{{{3}}}}}}} {{MONTHNAME|{{{2}}}}}]]}}}} {{#ifeq:{{{year|}}}|hide||{{#ifeq:{{{link|off}}}|off|{{#expr:0-{{{1}}}}} до н. е.|[[{{#expr:0-{{{1}}}}} до н. е.]]}}
▲--></includeonly><noinclude>
[[Категорія:Підшаблони шаблонів]]
|