Шаблон:Дискуссия: различия между версиями
Материал из Протест.wiki
Нет описания правки |
Нет описания правки |
||
| (не показано 30 промежуточных версий 2 участников) | |||
| Строка 1: | Строка 1: | ||
<includeonly> | |||
{| class="infobox" style="width: fit-content; max-width: 420px; border: 1px solid #aaa; font-size: 90%; text-align: left; background-color: #f9f9f9; word-wrap: break-word; overflow-wrap: break-word; table-layout: fixed;" | {| class="infobox" style="width: fit-content; max-width: 420px; border: 1px solid #aaa; font-size: 90%; text-align: left; background-color: #f9f9f9; word-wrap: break-word; overflow-wrap: break-word; table-layout: fixed;" | ||
|- | |- | ||
| Строка 6: | Строка 7: | ||
|- | |- | ||
! style="width: 100px;" | Дата | ! style="width: 100px;" | Дата | ||
| style="width: | | {{#if:{{{date|}}}| {{{date}}} | ||
|- | |||
! style="width: 100px;" | Причины | |||
| {{#if:{{{causes|}}}| {{{causes}}} | |||
|- | |- | ||
! style="width: 100px;" | Площадка | ! style="width: 100px;" | Площадка | ||
| {{{location}}} | | {{#if:{{{location|}}}| | ||
{{#if:{{#explode:{{{location}}}|,|0}}| [[{{#explode:{{{location}}}|,|0}}]] }}{{#if:{{#explode:{{{location}}}|,|1}}|, [[{{#explode:{{{location}}}|,|1}}]] }}{{#if:{{#explode:{{{location}}}|,|2}}|, [[{{#explode:{{{location}}}|,|2}}]] }}{{#if:{{#explode:{{{location}}}|,|3}}|, [[{{#explode:{{{location}}}|,|3}}]] }}{{#if:{{#explode:{{{location}}}|,|4}}|, [[{{#explode:{{{location}}}|,|4}}]] }} | |||
}} | |||
|- | |- | ||
! style="width: 100px;" | Тезис | ! style="width: 100px;" | Тезис | ||
| {{{thesis}}} | | {{#if:{{{thesis|}}}| {{{thesis}}} | ||
|- | |- | ||
! colspan="2" style="text-align: center; background-color: #eef6fc;" | Противоборствующие стороны | ! colspan="2" style="text-align: center; background-color: #eef6fc;" | Противоборствующие стороны | ||
| Строка 19: | Строка 25: | ||
'''Сторонники''' | '''Сторонники''' | ||
* '''Активные сторонники:''' | * '''Активные сторонники:''' | ||
** {{{active_supporters}}} | ** {{#if:{{#explode:{{{active_supporters}}}|,|0}}| | ||
{{#if:{{#explode:{{{active_supporters_articles|}}}|,|0}} | |||
| [[{{#explode:{{{active_supporters_articles}}}|,|0}}|{{#explode:{{{active_supporters}}}|,|0}}]] | |||
| {{#explode:{{{active_supporters}}}|,|0}} | |||
}} | |||
}} | |||
** {{#if:{{#explode:{{{active_supporters}}}|,|1}}|, | |||
{{#if:{{#explode:{{{active_supporters_articles|}}}|,|1}} | |||
| [[{{#explode:{{{active_supporters_articles}}}|,|1}}|{{#explode:{{{active_supporters}}}|,|1}}]] | |||
| {{#explode:{{{active_supporters}}}|,|1}} | |||
}} | |||
}} | |||
* '''Пассивные сторонники:''' | * '''Пассивные сторонники:''' | ||
** {{{passive_supporters}}} | ** {{#if:{{#explode:{{{passive_supporters}}}|,|0}}| | ||
{{#if:{{#explode:{{{passive_supporters_articles|}}}|,|0}} | |||
| [[{{#explode:{{{passive_supporters_articles}}}|,|0}}|{{#explode:{{{passive_supporters}}}|,|0}}]] | |||
| {{#explode:{{{passive_supporters}}}|,|0}} | |||
}} | |||
}} | |||
** {{#if:{{#explode:{{{passive_supporters}}}|,|1}}|, | |||
{{#if:{{#explode:{{{passive_supporters_articles|}}}|,|1}} | |||
| [[{{#explode:{{{passive_supporters_articles}}}|,|1}}|{{#explode:{{{passive_supporters}}}|,|1}}]] | |||
| {{#explode:{{{passive_supporters}}}|,|1}} | |||
}} | |||
}} | |||
| style="text-align: left; vertical-align: top; width: 50%; background-color: #f2f2f2;" | | | style="text-align: left; vertical-align: top; width: 50%; background-color: #f2f2f2;" | | ||
'''Противники''' | '''Противники''' | ||
* '''Активные противники:''' | * '''Активные противники:''' | ||
** {{{active_opponents}}} | ** {{#if:{{#explode:{{{active_opponents}}}|,|0}}| | ||
{{#if:{{#explode:{{{active_opponents_articles|}}}|,|0}} | |||
| [[{{#explode:{{{active_opponents_articles}}}|,|0}}|{{#explode:{{{active_opponents}}}|,|0}}]] | |||
| {{#explode:{{{active_opponents}}}|,|0}} | |||
}} | |||
}} | |||
** {{#if:{{#explode:{{{active_opponents}}}|,|1}}|, | |||
{{#if:{{#explode:{{{active_opponents_articles|}}}|,|1}} | |||
| [[{{#explode:{{{active_opponents_articles}}}|,|1}}|{{#explode:{{{active_opponents}}}|,|1}}]] | |||
| {{#explode:{{{active_opponents}}}|,|1}} | |||
}} | |||
}} | |||
* '''Пассивные противники:''' | * '''Пассивные противники:''' | ||
** {{{passive_opponents}}} | ** {{#if:{{#explode:{{{passive_opponents}}}|,|0}}| | ||
{{#if:{{#explode:{{{passive_opponents_articles|}}}|,|0}} | |||
| [[{{#explode:{{{passive_opponents_articles}}}|,|0}}|{{#explode:{{{passive_opponents}}}|,|0}}]] | |||
| {{#explode:{{{passive_opponents}}}|,|0}} | |||
}} | |||
}} | |||
** {{#if:{{#explode:{{{passive_opponents}}}|,|1}}|, | |||
{{#if:{{#explode:{{{passive_opponents_articles|}}}|,|1}} | |||
| [[{{#explode:{{{passive_opponents_articles}}}|,|1}}|{{#explode:{{{passive_opponents}}}|,|1}}]] | |||
| {{#explode:{{{passive_opponents}}}|,|1}} | |||
}} | |||
}} | |||
|- | |- | ||
! colspan="2" style="text-align: center; background-color: #eef6fc;" | Итог | ! colspan="2" style="text-align: center; background-color: #eef6fc;" | Итог | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | {{{outcome}}} | | colspan="2" style="text-align: center;" | {{{outcome}}}. {{{outcome}}} | ||
|} | |} | ||
[[Категория:События]] | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Инфобокс события с автокатегоризацией и ссылками для сторонников и противников.", | |||
"params": { | |||
"name": {"label": "Название события", "type": "string", "required": true}, | |||
"image": {"label": "Изображение", "type": "string"}, | |||
"date": {"label": "Дата", "type": "string"}, | |||
"causes": {"label": "Причины", "type": "string"}, | |||
"location": {"label": "Площадка", "type": "string"}, | |||
"thesis": {"label": "Тезис", "type": "string"}, | |||
"active_supporters": {"label": "Активные сторонники (через запятую)", "type": "string"}, | |||
"active_supporters_articles": {"label": "Активные сторонники (альтернативные статьи)", "type": "string"}, | |||
"passive_supporters": {"label": "Пассивные сторонники (через запятую)", "type": "string"}, | |||
"passive_supporters_articles": {"label": "Пассивные сторонники (альтернативные статьи)", "type": "string"}, | |||
"active_opponents": {"label": "Активные противники (через запятую)", "type": "string"}, | |||
"active_opponents_articles": {"label": "Активные противники (альтернативные статьи)", "type": "string"}, | |||
"passive_opponents": {"label": "Пассивные противники (через запятую)", "type": "string"}, | |||
"passive_opponents_articles": {"label": "Пассивные противники (альтернативные статьи)", "type": "string"}, | |||
"outcome": {"label": "Итог", "type": "string"} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Текущая версия от 12:02, 19 декабря 2025
Инфобокс события с автокатегоризацией и ссылками для сторонников и противников.
| Параметр | Описание | Тип | Статус | |
|---|---|---|---|---|
| Название события | name | без описания | Строковый (без форматирования) | обязательный |
| Изображение | image | без описания | Строковый (без форматирования) | необязательный |
| Дата | date | без описания | Строковый (без форматирования) | необязательный |
| Причины | causes | без описания | Строковый (без форматирования) | необязательный |
| Площадка | location | без описания | Строковый (без форматирования) | необязательный |
| Тезис | thesis | без описания | Строковый (без форматирования) | необязательный |
| Активные сторонники (через запятую) | active_supporters | без описания | Строковый (без форматирования) | необязательный |
| Активные сторонники (альтернативные статьи) | active_supporters_articles | без описания | Строковый (без форматирования) | необязательный |
| Пассивные сторонники (через запятую) | passive_supporters | без описания | Строковый (без форматирования) | необязательный |
| Пассивные сторонники (альтернативные статьи) | passive_supporters_articles | без описания | Строковый (без форматирования) | необязательный |
| Активные противники (через запятую) | active_opponents | без описания | Строковый (без форматирования) | необязательный |
| Активные противники (альтернативные статьи) | active_opponents_articles | без описания | Строковый (без форматирования) | необязательный |
| Пассивные противники (через запятую) | passive_opponents | без описания | Строковый (без форматирования) | необязательный |
| Пассивные противники (альтернативные статьи) | passive_opponents_articles | без описания | Строковый (без форматирования) | необязательный |
| Итог | outcome | без описания | Строковый (без форматирования) | необязательный |