Шаблон:Календарь на месяц/Неделя — различия между версиями
Материал из Н.Ф. Федоров
Petrov (обсуждение | вклад) |
Petrov (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly>{{ #ifexpr: {{{day}}}+6 > 0 and {{{day}}} <= {{{monthdays}}} | | <includeonly>{{ #ifexpr: {{{day}}}+6 > 0 and {{{day}}} <= {{{monthdays}}} | | ||
{{!-}} | {{!-}} | ||
− | {{!}} {{ #ifexpr: {{{day}}} > 0 and {{{day}}} <= {{{monthdays}}} | [[{{{day}}} {{#time: xg| {{{date}}} }}|{{{day}}} | + | {{!}} {{ #ifexpr: {{{day}}} > 0 and {{{day}}} <= {{{monthdays}}} | [[{{{day}}} {{#time: xg| {{{date}}} }}|{{{day}}} ]] | }} |
{{!}} {{ #ifexpr: {{{day}}} + 1 > 0 and {{{day}}} + 1 <= {{{monthdays}}} | [[{{ #expr: {{{day}}} + 1 }} {{#time: xg| {{{date}}} }}|{{ #expr: {{{day}}} + 1 }}]] | }} | {{!}} {{ #ifexpr: {{{day}}} + 1 > 0 and {{{day}}} + 1 <= {{{monthdays}}} | [[{{ #expr: {{{day}}} + 1 }} {{#time: xg| {{{date}}} }}|{{ #expr: {{{day}}} + 1 }}]] | }} | ||
{{!}} {{ #ifexpr: {{{day}}} + 2 > 0 and {{{day}}} + 2 <= {{{monthdays}}} | [[{{ #expr: {{{day}}} + 2 }} {{#time: xg| {{{date}}} }}|{{ #expr: {{{day}}} + 2 }}]] | }} | {{!}} {{ #ifexpr: {{{day}}} + 2 > 0 and {{{day}}} + 2 <= {{{monthdays}}} | [[{{ #expr: {{{day}}} + 2 }} {{#time: xg| {{{date}}} }}|{{ #expr: {{{day}}} + 2 }}]] | }} |