|
|
| Строка 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;" |
| |- | | |- |
| Строка 7: |
Строка 6: |
| |- | | |- |
| ! style="width: 100px;" | Дата | | ! style="width: 100px;" | Дата |
| | {{#if:{{{date|}}}| style="width: 200px;" | {{{date}}}}
| | | style="width: 200px;" | {{{date}}} |
| |- | | |- |
| ! style="width: 100px;" | Причины | | ! style="width: 100px;" | Причины |
| | {{#if:{{{causes|}}}| {{{causes}}}}
| | | {{{causes}}} |
| |- | | |- |
| ! style="width: 100px;" | Площадка | | ! style="width: 100px;" | Площадка |
| | {{#if:{{{location|}}}| | | | [[{{{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}}]]}}
| |
| {{ #if:{{#explode:{{{location}}}|,|5}}|, [[{{#explode:{{{location}}}|,|5}}]]}}
| |
| {{ #if:{{#explode:{{{location}}}|,|6}}|, [[{{#explode:{{{location}}}|,|6}}]]}}
| |
| {{ #if:{{#explode:{{{location}}}|,|7}}|, [[{{#explode:{{{location}}}|,|7}}]]}}
| |
| }}
| |
| |- | | |- |
| ! style="width: 100px;" | Тезис | | ! style="width: 100px;" | Тезис |
| | {{#if:{{{thesis|}}}| {{{thesis}}}}
| | | {{{thesis}}} |
| |- | | |- |
| ! colspan="2" style="text-align: center; background-color: #eef6fc;" | Противоборствующие стороны | | ! colspan="2" style="text-align: center; background-color: #eef6fc;" | Противоборствующие стороны |
| Строка 32: |
Строка 22: |
| '''Сторонники''' | | '''Сторонники''' |
| * '''Активные сторонники:''' | | * '''Активные сторонники:''' |
| ** {{#if:{{{active_supporters_1|}}}|[[{{{active_supporters_1}}}]]}} | | ** [[{{{active_supporters}}}]] |
| ** {{#if:{{{active_supporters_2|}}}|[[{{{active_supporters_2}}}]]}}
| |
| ** {{#if:{{{active_supporters_3|}}}|[[{{{active_supporters_3}}}]]}}
| |
| ** {{#if:{{{active_supporters_4|}}}|[[{{{active_supporters_4}}}]]}}
| |
| ** {{#if:{{{active_supporters_5|}}}|[[{{{active_supporters_5}}}]]}}
| |
| ** {{#if:{{{active_supporters_6|}}}|[[{{{active_supporters_6}}}]]}}
| |
| ** {{#if:{{{active_supporters_7|}}}|[[{{{active_supporters_7}}}]]}}
| |
| ** {{#if:{{{active_supporters_8|}}}|[[{{{active_supporters_8}}}]]}}
| |
| * '''Пассивные сторонники:''' | | * '''Пассивные сторонники:''' |
| ** {{#if:{{{passive_supporters_1|}}}|[[{{{passive_supporters_1}}}]]}} | | ** [[{{{passive_supporters}}}]] |
| ** {{#if:{{{passive_supporters_2|}}}|[[{{{passive_supporters_2}}}]]}}
| |
| ** {{#if:{{{passive_supporters_3|}}}|[[{{{passive_supporters_3}}}]]}}
| |
| ** {{#if:{{{passive_supporters_4|}}}|[[{{{passive_supporters_4}}}]]}}
| |
| ** {{#if:{{{passive_supporters_5|}}}|[[{{{passive_supporters_5}}}]]}}
| |
| ** {{#if:{{{passive_supporters_6|}}}|[[{{{passive_supporters_6}}}]]}}
| |
| ** {{#if:{{{passive_supporters_7|}}}|[[{{{passive_supporters_7}}}]]}}
| |
| ** {{#if:{{{passive_supporters_8|}}}|[[{{{passive_supporters_8}}}]]}}
| |
| | style="text-align: left; vertical-align: top; width: 50%; background-color: #f2f2f2;" | | | | style="text-align: left; vertical-align: top; width: 50%; background-color: #f2f2f2;" | |
| '''Противники''' | | '''Противники''' |
| * '''Активные противники:''' | | * '''Активные противники:''' |
| ** {{#if:{{{active_opponents_1|}}}|[[{{{active_opponents_1}}}]]}} | | ** [[{{{active_opponents}}}]] |
| ** {{#if:{{{active_opponents_2|}}}|[[{{{active_opponents_2}}}]]}}
| |
| ** {{#if:{{{active_opponents_3|}}}|[[{{{active_opponents_3}}}]]}}
| |
| ** {{#if:{{{active_opponents_4|}}}|[[{{{active_opponents_4}}}]]}}
| |
| ** {{#if:{{{active_opponents_5|}}}|[[{{{active_opponents_5}}}]]}}
| |
| ** {{#if:{{{active_opponents_6|}}}|[[{{{active_opponents_6}}}]]}}
| |
| ** {{#if:{{{active_opponents_7|}}}|[[{{{active_opponents_7}}}]]}}
| |
| ** {{#if:{{{active_opponents_8|}}}|[[{{{active_opponents_8}}}]]}}
| |
| * '''Пассивные противники:''' | | * '''Пассивные противники:''' |
| ** {{#if:{{{passive_opponents_1|}}}|[[{{{passive_opponents_1}}}]]}} | | ** [[{{{passive_opponents}}}]] |
| ** {{#if:{{{passive_opponents_2|}}}|[[{{{passive_opponents_2}}}]]}}
| |
| ** {{#if:{{{passive_opponents_3|}}}|[[{{{passive_opponents_3}}}]]}}
| |
| ** {{#if:{{{passive_opponents_4|}}}|[[{{{passive_opponents_4}}}]]}}
| |
| ** {{#if:{{{passive_opponents_5|}}}|[[{{{passive_opponents_5}}}]]}}
| |
| ** {{#if:{{{passive_opponents_6|}}}|[[{{{passive_opponents_6}}}]]}}
| |
| ** {{#if:{{{passive_opponents_7|}}}|[[{{{passive_opponents_7}}}]]}}
| |
| ** {{#if:{{{passive_opponents_8|}}}|[[{{{passive_opponents_8}}}]]}}
| |
| |- | | |- |
| ! colspan="2" style="text-align: center; background-color: #eef6fc;" | Итог | | ! colspan="2" style="text-align: center; background-color: #eef6fc;" | Итог |
| |- | | |- |
| | colspan="2" style="text-align: center;" | {{#if:{{{outcome|}}}| {{{outcome}}}} | | | colspan="2" style="text-align: center;" | {{{outcome}}} |
| |} | | |} |
| [[Категория:События]]
| |
| </includeonly>
| |
|
| |
| <noinclude>
| |
| <templatedata>
| |
| {
| |
| "description": "Инфобокс события с автокатегоризацией и вики-гиперссылками, поддержкой до 8 сторонников, противников и нескольких площадок.",
| |
| "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_1": { "label": "Активный сторонник 1", "type": "string" },
| |
| "active_supporters_2": { "label": "Активный сторонник 2", "type": "string" },
| |
| "active_supporters_3": { "label": "Активный сторонник 3", "type": "string" },
| |
| "active_supporters_4": { "label": "Активный сторонник 4", "type": "string" },
| |
| "active_supporters_5": { "label": "Активный сторонник 5", "type": "string" },
| |
| "active_supporters_6": { "label": "Активный сторонник 6", "type": "string" },
| |
| "active_supporters_7": { "label": "Активный сторонник 7", "type": "string" },
| |
| "active_supporters_8": { "label": "Активный сторонник 8", "type": "string" },
| |
| "passive_supporters_1": { "label": "Пассивный сторонник 1", "type": "string" },
| |
| "passive_supporters_2": { "label": "Пассивный сторонник 2", "type": "string" },
| |
| "passive_supporters_3": { "label": "Пассивный сторонник 3", "type": "string" },
| |
| "passive_supporters_4": { "label": "Пассивный сторонник 4", "type": "string" },
| |
| "passive_supporters_5": { "label": "Пассивный сторонник 5", "type": "string" },
| |
| "passive_supporters_6": { "label": "Пассивный сторонник 6", "type": "string" },
| |
| "passive_supporters_7": { "label": "Пассивный сторонник 7", "type": "string" },
| |
| "passive_supporters_8": { "label": "Пассивный сторонник 8", "type": "string" },
| |
| "active_opponents_1": { "label": "Активный противник 1", "type": "string" },
| |
| "active_opponents_2": { "label": "Активный противник 2", "type": "string" },
| |
| "active_opponents_3": { "label": "Активный противник 3", "type": "string" },
| |
| "active_opponents_4": { "label": "Активный противник 4", "type": "string" },
| |
| "active_opponents_5": { "label": "Активный противник 5", "type": "string" },
| |
| "active_opponents_6": { "label": "Активный противник 6", "type": "string" },
| |
| "active_opponents_7": { "label": "Активный противник 7", "type": "string" },
| |
| "active_opponents_8": { "label": "Активный противник 8", "type": "string" },
| |
| "passive_opponents_1": { "label": "Пассивный противник 1", "type": "string" },
| |
| "passive_opponents_2": { "label": "Пассивный противник 2", "type": "string" },
| |
| "passive_opponents_3": { "label": "Пассивный противник 3", "type": "string" },
| |
| "passive_opponents_4": { "label": "Пассивный противник 4", "type": "string" },
| |
| "passive_opponents_5": { "label": "Пассивный противник 5", "type": "string" },
| |
| "passive_opponents_6": { "label": "Пассивный противник 6", "type": "string" },
| |
| "passive_opponents_7": { "label": "Пассивный противник 7", "type": "string" },
| |
| "passive_opponents_8": { "label": "Пассивный противник 8", "type": "string" },
| |
| "outcome": {
| |
| "label": "Итог",
| |
| "type": "string"
| |
| }
| |
| }
| |
| }
| |
| </templatedata>
| |
| </noinclude>
| |