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