Шаблон:Организация: различия между версиями
Материал из Протест.wiki
(Отмена правки 649, сделанной Commissionerenginego (обсуждение)) Метка: отмена |
PTRLS (обсуждение | вклад) Нет описания правки |
||
| (не показано 19 промежуточных версий 2 участников) | |||
| Строка 1: | Строка 1: | ||
<includeonly> | <includeonly><div class="infobox" style="float:right; max-width:300px; margin:0 0 1em 1em;"> | ||
<div class="infobox" style="max-width: 300px; margin: | |||
<h3 class="infobox-title" style="text-align: center; margin: 0;">{{{name}}}</h3> | <h3 class="infobox-title" style="text-align: center; margin: 0;">{{{name}}}</h3> | ||
<div class="infobox-image" style="text-align: center; padding: 5px;"> | <div class="infobox-image" style="text-align: center; padding: 5px;"> | ||
[[File:{{{image}}}|200px|center|link=]] | [[File:{{{image}}}|200px|center|link=]] | ||
</div> | </div> | ||
<div class="infobox-content"> | <div class="infobox-content"> | ||
{{#if:{{{status|}}}|<p><strong>Статус:</strong> {{{status}}}</p>}} | {{#if:{{{status|}}}|<p><strong>Статус:</strong> {{{status}}}</p>}} | ||
{{#if:{{{ | {{#if:{{{organization_type|}}}|<p><strong>Тип организации:</strong> {{{organization_type}}}</p>}} | ||
{{#if:{{{ | {{#if:{{{ideology|}}}|<p><strong>Идеология:</strong> {{{ideology}}}</p>}} | ||
{{#if:{{{tags|}}}|<p><strong>Теги:</strong> {{#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}}]]}}</p>}} | {{#if:{{{region|}}}|<p><strong>Регион:</strong> [[:Категория:{{{region}}}|{{{region}}}]]</p>}} | ||
{{#if:{{{ | {{#if:{{{influence|}}}|<p><strong>Влияние:</strong> {{{influence}}}</p>}} | ||
{{#if:{{{ | |||
{{#if:{{{ | <!-- Теги --> | ||
{{#if:{{{ | {{#if:{{{tags|}}}| | ||
{{#if:{{{ | <p><strong>Теги:</strong> | ||
{{#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}}]]}} | |||
</p>}} | |||
{{#if:{{{creation_date|}}}|<p><strong>Дата создания:</strong> {{{creation_date}}}</p>}} | |||
{{#if:{{{end_of_activity|}}}|<p><strong>Дата прекращения активности:</strong> {{{end_of_activity}}}</p>}} | |||
<!-- Причины прекращения активности --> | |||
{{#if:{{{reasons_for_cessation|}}}| | |||
<p><strong>Причины прекращения активности:</strong> | |||
{{#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}}]]}} | |||
</p>}} | |||
<!-- Лица --> | |||
{{#if:{{{persons|}}}| | |||
<p><strong>Лица:</strong> | |||
{{#if:{{#explode:{{{persons}}}|,|0}}|[[:Категория:{{#explode:{{{persons}}}|,|0}}|{{#explode:{{{persons}}}|,|0}}]]}} | |||
{{#if:{{#explode:{{{persons}}}|,|1}}|, [[:Категория:{{#explode:{{{persons}}}|,|1}}|{{#explode:{{{persons}}}|,|1}}]]}} | |||
{{#if:{{#explode:{{{persons}}}|,|2}}|, [[:Категория:{{#explode:{{{persons}}}|,|2}}|{{#explode:{{{persons}}}|,|2}}]]}} | |||
{{#if:{{#explode:{{{persons}}}|,|3}}|, [[:Категория:{{#explode:{{{persons}}}|,|3}}|{{#explode:{{{persons}}}|,|3}}]]}} | |||
{{#if:{{#explode:{{{persons}}}|,|4}}|, [[:Категория:{{#explode:{{{persons}}}|,|4}}|{{#explode:{{{persons}}}|,|4}}]]}} | |||
</p>}} | |||
{{#if:{{{size|}}}|<p><strong>Численность:</strong> {{{size}}}</p>}} | |||
{{#if:{{{resources|}}}|<p><strong>Ресурсы:</strong> {{{resources}}}</p>}} | {{#if:{{{resources|}}}|<p><strong>Ресурсы:</strong> {{{resources}}}</p>}} | ||
{{#if:{{{ | {{#if:{{{links|}}}|<p><strong>Ссылки:</strong> {{{links}}}</p>}} | ||
{{#if:{{{predecessor|}}}|<p><strong>Предшественник:</strong> {{{predecessor}}}</p>}} | {{#if:{{{predecessor|}}}|<p><strong>Предшественник:</strong> {{{predecessor}}}</p>}} | ||
{{#if:{{{successor|}}}|<p><strong>Преемник:</strong> {{{successor}}}</p>}} | {{#if:{{{successor|}}}|<p><strong>Преемник:</strong> {{{successor}}}</p>}} | ||
| Строка 23: | Строка 51: | ||
</div> | </div> | ||
<!-- | <!-- Автоматическое добавление категорий --> | ||
{{#if:{{{region|}}}|[[Категория:{{{region}}}]]}} | |||
{{#if:{{{tags|}}} | {{#if:{{{tags|}}} | ||
|{{#if:{{#explode:{{{tags}}}|,|0}}|[[Категория:{{#explode:{{{tags}}}|,|0}}]]} } | |{{#if:{{#explode:{{{tags}}}|,|0}}|[[Категория:{{#explode:{{{tags}}}|,|0}}]]}} | ||
{{#if:{{#explode:{{{tags}}}|,|1}}|[[Категория:{{#explode:{{{tags}}}|,|1}}]]} } | {{#if:{{#explode:{{{tags}}}|,|1}}|[[Категория:{{#explode:{{{tags}}}|,|1}}]]}} | ||
{{#if:{{#explode:{{{tags}}}|,|2}}|[[Категория:{{#explode:{{{tags}}}|,|2}}]]} } | {{#if:{{#explode:{{{tags}}}|,|2}}|[[Категория:{{#explode:{{{tags}}}|,|2}}]]}} | ||
{{#if:{{#explode:{{{tags}}}|,|3}}|[[Категория:{{#explode:{{{tags}}}|,|3}}]]}} | |||
{{#if:{{#explode:{{{tags}}}|,|4}}|[[Категория:{{#explode:{{{tags}}}|,|4}}]]}} | |||
}} | }} | ||
{{#if:{{{ | {{#if:{{{reasons_for_cessation|}}} | ||
|{{#if:{{#explode:{{{ | |{{#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:{{{ | {{#if:{{{persons|}}} | ||
|{{#if:{{#explode:{{{ | |{{#if:{{#explode:{{{persons}}}|,|0}}|[[Категория:{{#explode:{{{persons}}}|,|0}}]]}} | ||
{{#if:{{#explode:{{{persons}}}|,|1}}|[[Категория:{{#explode:{{{persons}}}|,|1}}]]}} | |||
{{#if:{{#explode:{{{persons}}}|,|2}}|[[Категория:{{#explode:{{{persons}}}|,|2}}]]}} | |||
{{#if:{{#explode:{{{persons}}}|,|3}}|[[Категория:{{#explode:{{{persons}}}|,|3}}]]}} | |||
{{#if:{{#explode:{{{persons}}}|,|4}}|[[Категория:{{#explode:{{{persons}}}|,|4}}]]}} | |||
}} | }} | ||
[[Категория:Организации]] | |||
</includeonly> | </includeonly> | ||