Шаблон:Партия: различия между версиями
Материал из Протест.wiki
PTRLS (обсуждение | вклад) Нет описания правки Метка: отменено |
PTRLS (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
||
Строка 9: | Строка 9: | ||
<div class="infobox-content"> | <div class="infobox-content"> | ||
<p><strong>Статус:</strong> {{{status}}}</p> | <p><strong>Статус:</strong> {{{status}}}</p> | ||
<p><strong>Тип организации:</strong> {{{organization_type}}}</p> | |||
<p><strong>Идеология:</strong> {{{ideology}}}</p> | <p><strong>Идеология:</strong> {{{ideology}}}</p> | ||
<p><strong>Регион:</strong> <!-- | |||
-->{{#if:{{{region|}}} | |||
|<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|0}}|[[:Категория:{{#explode:{{{region}}}|,|0}}|{{#explode:{{{region}}}|,|0}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|1}}|, [[:Категория:{{#explode:{{{region}}}|,|1}}|{{#explode:{{{region}}}|,|1}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|2}}|, [[:Категория:{{#explode:{{{region}}}|,|2}}|{{#explode:{{{region}}}|,|2}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|3}}|, [[:Категория:{{#explode:{{{region}}}|,|3}}|{{#explode:{{{region}}}|,|3}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|4}}|, [[:Категория:{{#explode:{{{region}}}|,|4}}|{{#explode:{{{region}}}|,|4}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|5}}|, [[:Категория:{{#explode:{{{region}}}|,|5}}|{{#explode:{{{region}}}|,|5}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|6}}|, [[:Категория:{{#explode:{{{region}}}|,|6}}|{{#explode:{{{region}}}|,|6}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|7}}|, [[:Категория:{{#explode:{{{region}}}|,|7}}|{{#explode:{{{region}}}|,|7}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|8}}|, [[:Категория:{{#explode:{{{region}}}|,|8}}|{{#explode:{{{region}}}|,|8}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|9}}|, [[:Категория:{{#explode:{{{region}}}|,|9}}|{{#explode:{{{region}}}|,|9}}]]}}<!-- | |||
-->}}<!-- | |||
--></p> | |||
<p><strong>Влияние:</strong> {{{influence}}}</p> | <p><strong>Влияние:</strong> {{{influence}}}</p> | ||
<p><strong>Теги:</strong> {{{tags}}}</p> | <p><strong>Теги:</strong> <!-- | ||
-->{{#if:{{{tags|}}} | |||
|<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|0}}|[[:Категория:{{#explode:{{{tags}}}|,|0}}|{{#explode:{{{tags}}}|,|0}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|1}}|, [[:Категория:{{#explode:{{{tags}}}|,|1}}|{{#explode:{{{tags}}}|,|1}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|2}}|, [[:Категория:{{#explode:{{{tags}}}|,|2}}|{{#explode:{{{tags}}}|,|2}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|3}}|, [[:Категория:{{#explode:{{{tags}}}|,|3}}|{{#explode:{{{tags}}}|,|3}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|4}}|, [[:Категория:{{#explode:{{{tags}}}|,|4}}|{{#explode:{{{tags}}}|,|4}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|5}}|, [[:Категория:{{#explode:{{{tags}}}|,|5}}|{{#explode:{{{tags}}}|,|5}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|6}}|, [[:Категория:{{#explode:{{{tags}}}|,|6}}|{{#explode:{{{tags}}}|,|6}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|7}}|, [[:Категория:{{#explode:{{{tags}}}|,|7}}|{{#explode:{{{tags}}}|,|7}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|8}}|, [[:Категория:{{#explode:{{{tags}}}|,|8}}|{{#explode:{{{tags}}}|,|8}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|9}}|, [[:Категория:{{#explode:{{{tags}}}|,|9}}|{{#explode:{{{tags}}}|,|9}}]]}}<!-- | |||
-->}}<!-- | |||
--></p> | |||
<p><strong>Дата создания:</strong> {{{creation_date}}}</p> | <p><strong>Дата создания:</strong> {{{creation_date}}}</p> | ||
<p><strong>Дата прекращения активности:</strong> {{{end_of_activity}}}</p> | <p><strong>Дата прекращения активности:</strong> {{{end_of_activity}}}</p> | ||
<p><strong>Причины прекращения активности:</strong> {{{reasons_for_cessation}}}</p> | <p><strong>Причины прекращения активности:</strong> <!-- | ||
-->{{#if:{{{reasons_for_cessation|}}} | |||
|<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|0}}|[[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|0}}|{{#explode:{{{reasons_for_cessation}}}|,|0}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|1}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|1}}|{{#explode:{{{reasons_for_cessation}}}|,|1}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|2}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|2}}|{{#explode:{{{reasons_for_cessation}}}|,|2}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|3}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|3}}|{{#explode:{{{reasons_for_cessation}}}|,|3}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|4}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|4}}|{{#explode:{{{reasons_for_cessation}}}|,|4}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|5}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|5}}|{{#explode:{{{reasons_for_cessation}}}|,|5}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|6}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|6}}|{{#explode:{{{reasons_for_cessation}}}|,|6}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|7}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|7}}|{{#explode:{{{reasons_for_cessation}}}|,|7}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|8}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|8}}|{{#explode:{{{reasons_for_cessation}}}|,|8}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|9}}|, [[:Категория:{{#explode:{{{reasons_for_cessation}}}|,|9}}|{{#explode:{{{reasons_for_cessation}}}|,|9}}]]}}<!-- | |||
-->}}<!-- | |||
--></p> | |||
<p><strong>Лица:</strong> {{{persons}}}</p> | <p><strong>Лица:</strong> {{{persons}}}</p> | ||
<p><strong>Численность:</strong> {{{size}}}</p> | <p><strong>Численность:</strong> {{{size}}}</p> | ||
Строка 25: | Строка 75: | ||
--></includeonly><!-- | --></includeonly><!-- | ||
================================================================== | |||
--><includeonly>{{#if:{{{region|}}} | |||
|<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|0}}|[[Категория:{{#explode:{{{region}}}|,|0}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|1}}|[[Категория:{{#explode:{{{region}}}|,|1}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|2}}|[[Категория:{{#explode:{{{region}}}|,|2}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|3}}|[[Категория:{{#explode:{{{region}}}|,|3}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|4}}|[[Категория:{{#explode:{{{region}}}|,|4}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|5}}|[[Категория:{{#explode:{{{region}}}|,|5}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|6}}|[[Категория:{{#explode:{{{region}}}|,|6}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|7}}|[[Категория:{{#explode:{{{region}}}|,|7}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|8}}|[[Категория:{{#explode:{{{region}}}|,|8}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{region}}}|,|9}}|[[Категория:{{#explode:{{{region}}}|,|9}}]]}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{tags|}}} | |||
|<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|0}}|[[Категория:{{#explode:{{{tags}}}|,|0}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|1}}|[[Категория:{{#explode:{{{tags}}}|,|1}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|2}}|[[Категория:{{#explode:{{{tags}}}|,|2}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|3}}|[[Категория:{{#explode:{{{tags}}}|,|3}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|4}}|[[Категория:{{#explode:{{{tags}}}|,|4}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|5}}|[[Категория:{{#explode:{{{tags}}}|,|5}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|6}}|[[Категория:{{#explode:{{{tags}}}|,|6}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|7}}|[[Категория:{{#explode:{{{tags}}}|,|7}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|8}}|[[Категория:{{#explode:{{{tags}}}|,|8}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{tags}}}|,|9}}|[[Категория:{{#explode:{{{tags}}}|,|9}}]]}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{reasons_for_cessation|}}} | |||
|<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|0}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|0}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|1}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|1}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|2}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|2}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|3}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|3}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|4}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|4}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|5}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|5}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|6}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|6}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|7}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|7}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|8}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|8}}]]}}<!-- | |||
-->{{#if:{{#explode:{{{reasons_for_cessation}}}|,|9}}|[[Категория:{{#explode:{{{reasons_for_cessation}}}|,|9}}]]}}<!-- | |||
-->}}</includeonly><!-- | |||
--><noinclude><!-- | --><noinclude><!-- | ||
--><templatedata> | --><templatedata> | ||
{ | { | ||
"description": " | "description": "Описание шаблона партия", | ||
"params": { | "params": { | ||
" | "region": { | ||
"label": " | "label": "Регионы", | ||
"description": " | "description": "Регионы присутствия партии, перечисленные через запятую", | ||
"example": "Москва, Смоленск" | |||
}, | }, | ||
" | "reasons_for_cessation": { | ||
"label": " | "label": "Причины прекращения активности" | ||
}, | }, | ||
"tags": { | "tags": { | ||
"label": "Теги | "label": "Теги" | ||
}, | }, | ||
" | "influence": {}, | ||
"creation_date": {}, | |||
"end_of_activity": {}, | |||
"persons": {}, | |||
" | "size": {}, | ||
"resources": {}, | |||
"links": {}, | |||
"predecessor": {}, | |||
" | "successor": {}, | ||
"name": { | |||
"label": "Название" | |||
"persons": { | |||
"size": { | |||
"resources": { | |||
" | |||
" | |||
"label": " | |||
}, | }, | ||
" | "image": {}, | ||
"status": {}, | |||
"organization_type": {}, | |||
} | "ideology": {} | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
" | "region", | ||
" | "reasons_for_cessation", | ||
" | "tags", | ||
"influence", | "influence", | ||
"creation_date", | "creation_date", | ||
"end_of_activity", | "end_of_activity", | ||
"persons", | "persons", | ||
"size", | "size", | ||
Строка 107: | Строка 166: | ||
"links", | "links", | ||
"predecessor", | "predecessor", | ||
"successor" | "successor", | ||
"image", | |||
"status", | |||
"organization_type", | |||
"ideology" | |||
] | ] | ||
} | } | ||
</templatedata><!-- | </templatedata><!-- | ||
--></noinclude> | --></noinclude> |
Версия от 21:58, 15 октября 2025
Описание шаблона партия
Параметр | Описание | Тип | Статус | |
---|---|---|---|---|
Название | name | без описания | Неизвестно | необязательный |
Регионы | region | Регионы присутствия партии, перечисленные через запятую
| Неизвестно | необязательный |
Причины прекращения активности | reasons_for_cessation | без описания | Неизвестно | необязательный |
Теги | tags | без описания | Неизвестно | необязательный |
influence | influence | без описания | Неизвестно | необязательный |
creation_date | creation_date | без описания | Неизвестно | необязательный |
end_of_activity | end_of_activity | без описания | Неизвестно | необязательный |
persons | persons | без описания | Неизвестно | необязательный |
size | size | без описания | Неизвестно | необязательный |
resources | resources | без описания | Неизвестно | необязательный |
links | links | без описания | Неизвестно | необязательный |
predecessor | predecessor | без описания | Неизвестно | необязательный |
successor | successor | без описания | Неизвестно | необязательный |
image | image | без описания | Неизвестно | необязательный |
status | status | без описания | Неизвестно | необязательный |
organization_type | organization_type | без описания | Неизвестно | необязательный |
ideology | ideology | без описания | Неизвестно | необязательный |