Шаблон:Calendar/event: различия между версиями

Строка 6: Строка 6:
 
{{#if: {{{ymd--2|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--2}}} |--actual}}"></div>}}{{#if: {{{ymd--3|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--3}}} |--actual}}"></div>}}{{#if: {{{ymd--4|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--4}}} |--actual}}"></div>}}{{#if: {{{ymd--5|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--5}}} |--actual}}"></div>}}{{#if: {{{ymd--6|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--6}}} |--actual}}"></div>}}{{#if: {{{ymd--7|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--7}}} |--actual}}"></div>}}
 
{{#if: {{{ymd--2|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--2}}} |--actual}}"></div>}}{{#if: {{{ymd--3|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--3}}} |--actual}}"></div>}}{{#if: {{{ymd--4|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--4}}} |--actual}}"></div>}}{{#if: {{{ymd--5|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--5}}} |--actual}}"></div>}}{{#if: {{{ymd--6|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--6}}} |--actual}}"></div>}}{{#if: {{{ymd--7|}}} |<div class="calendar__event-progress-step{{#ifexpr: {{#timel: ymd }} <= {{{ymd--7}}} |--actual}}"></div>}}
 
</div>
 
</div>
<div class="calendar__event-tooltip">
+
<div class="calendar__event-tooltip {{#if: {{{tooltip-right|}}} |calendar__event-tooltip--right}}">
 
<div class="calendar__event-tooltip-inner">
 
<div class="calendar__event-tooltip-inner">
 
<div class="calendar__event-tooltip-title">{{{title|}}}</div>
 
<div class="calendar__event-tooltip-title">{{{title|}}}</div>
Строка 22: Строка 22:
 
  | link-text =  
 
  | link-text =  
 
  | data =  
 
  | data =  
 +
| tooltip-right = true
 
  | before = true
 
  | before = true
 
  | after = true
 
  | after = true

Версия 11:13, 21 апреля 2021

{{calendar/event
 | icon = {{ui/icon| mod =  }}
 | title = 
 | description = 
 | link = 
 | link-text = 
 | data = 
 | tooltip-right = true
 | before = true
 | after = true
 | ymd--1 = 
 | ymd--2 = 
 | ymd--3 = 
 | ymd--4 = 
 | ymd--5 = 
 | ymd--6 = 
 | ymd--7 = 
}}