|
|
| Строка 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}}}]]}
| | | [[{{{location}}}]] |
| |- | | |- |
| ! 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;" | Противоборствующие стороны |
| Строка 23: |
Строка 22: |
| '''Сторонники''' | | '''Сторонники''' |
| * '''Активные сторонники:''' | | * '''Активные сторонники:''' |
| ** {{#if:{{{active_supporters|}}}| [[{{{active_supporters}}}]]}} | | ** [[{{{active_supporters}}}]] |
| ** {{#if:{{{active_supporters_2|}}}| [[{{{active_supporters_2}}}]]}} | | ** [[{{{active_supporters_2}}}]] |
| ** {{#if:{{{active_supporters_3|}}}| [[{{{active_supporters_3}}}]]}} | | ** [[{{{active_supporters_3}}}]] |
| ** {{#if:{{{active_supporters_4|}}}| [[{{{active_supporters_4}}}]]}} | | ** [[{{{active_supporters_4}}}]] |
| ** {{#if:{{{active_supporters_5|}}}| [[{{{active_supporters_5}}}]]}} | | ** [[{{{active_supporters_5}}}]] |
| * '''Пассивные сторонники:''' | | * '''Пассивные сторонники:''' |
| ** {{#if:{{{passive_supporters|}}}| [[{{{passive_supporters}}}]]}} | | ** [[{{{passive_supporters}}}]] |
| ** {{#if:{{{passive_supporters_2|}}}| [[{{{passive_supporters_2}}}]]}} | | ** [[{{{passive_supporters_2}}}]] |
| ** {{#if:{{{passive_supporters_3|}}}| [[{{{passive_supporters_3}}}]]}} | | ** [[{{{passive_supporters_3}}}]] |
| ** {{#if:{{{passive_supporters_4|}}}| [[{{{passive_supporters_4}}}]]}} | | ** [[{{{passive_supporters_4}}}]] |
| ** {{#if:{{{passive_supporters_5|}}}| [[{{{passive_supporters_5}}}]]}} | | ** [[{{{passive_supporters_5}}}]] |
| | 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|}}}| [[{{{active_opponents}}}]]}} | | ** [[{{{active_opponents}}}]] |
| ** {{#if:{{{active_opponents_2|}}}| [[{{{active_opponents_2}}}]]}} | | ** [[{{{active_opponents_2}}}]] |
| ** {{#if:{{{active_opponents_3|}}}| [[{{{active_opponents_3}}}]]}} | | ** [[{{{active_opponents_3}}}]] |
| ** {{#if:{{{active_opponents_4|}}}| [[{{{active_opponents_4}}}]]}} | | ** [[{{{active_opponents_4}}}]] |
| ** {{#if:{{{active_opponents_5|}}}| [[{{{active_opponents_5}}}]]}} | | ** [[{{{active_opponents_5}}}]] |
| * '''Пассивные противники:''' | | * '''Пассивные противники:''' |
| ** {{#if:{{{passive_opponents|}}}| [[{{{passive_opponents}}}]]}} | | ** [[{{{passive_opponents}}}]] |
| ** {{#if:{{{passive_opponents_2|}}}| [[{{{passive_opponents_2}}}]]}} | | ** [[{{{passive_opponents_2}}}]] |
| ** {{#if:{{{passive_opponents_3|}}}| [[{{{passive_opponents_3}}}]]}} | | ** [[{{{passive_opponents_3}}}]] |
| ** {{#if:{{{passive_opponents_4|}}}| [[{{{passive_opponents_4}}}]]}} | | ** [[{{{passive_opponents_4}}}]] |
| ** {{#if:{{{passive_opponents_5|}}}| [[{{{passive_opponents_5}}}]]}} | | ** [[{{{passive_opponents_5}}}]] |
| |- | | |- |
| ! 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": "Инфобокс события с автокатегоризацией и вики-гиперссылками, поддержкой до 5 сторонников и противников.",
| |
| "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": "Активный сторонник 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" },
| |
| "passive_supporters": { "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" },
| |
| "active_opponents": { "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" },
| |
| "passive_opponents": { "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" },
| |
| "outcome": {
| |
| "label": "Итог",
| |
| "type": "string"
| |
| }
| |
| }
| |
| }
| |
| </templatedata>
| |
| </noinclude>
| |