|
|
Строка 1: |
Строка 1: |
| <includeonly>
| |
| <div class="infobox" style="max-width:300px; margin:auto;">
| |
| <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">
| | <div class="infobox"> |
| {{#if:{{{type|}}}|<p><strong>Тип:</strong> {{{type}}}</p>}}
| | <h3 class="infobox-title" style="text-align: center;">{{{name}}}</h3> |
| {{#if:{{{status|}}}|<p><strong>Статус:</strong> {{{status}}}</p>}} | | <div class="infobox-image"> |
| {{#if:{{{field|}}}|<p><strong>Сфера деятельности:</strong> {{{field}}}</p>}}
| | [[File:{{{image}}}]] |
| {{#if:{{{country|}}}|<p><strong>Страна:</strong> {{{country}}}</p>}}
| | </div> |
| {{#if:{{{headquarters|}}}|<p><strong>Штаб-квартира:</strong> {{{headquarters}}}</p>}}
| | |
| {{#if:{{{leader|}}}|<p><strong>Руководитель:</strong> {{{leader}}}</p>}}
| | <div class="infobox-content"> |
| {{#if:{{{founders|}}}|<p><strong>Основатели:</strong> {{{founders}}}</p>}}
| | <p><strong>Статус:</strong> {{{status}}}</p> |
| {{#if:{{{founded|}}}|<p><strong>Основана:</strong> {{{founded}}}</p>}}
| | <p><strong>Тип организации:</strong> {{{organization_type}}}</p> |
| {{#if:{{{dissolved|}}}|<p><strong>Прекратила деятельность:</strong> {{{dissolved}}}</p>}}
| | <p><strong>Идеология:</strong> {{{ideology}}}</p> |
| {{#if:{{{members|}}}|<p><strong>Численность:</strong> {{{members}}}</p>}}
| | <p><strong>Регион:</strong> {{{region}}}</p> |
| {{#if:{{{budget|}}}|<p><strong>Бюджет:</strong> {{{budget}}}</p>}}
| | <p><strong>Влияние:</strong> {{{influence}}}</p> |
| {{#if:{{{website|}}}|<p><strong>Сайт:</strong> [{{{website}}} {{{website}}}]</p>}}
| | <p><strong>Теги:</strong> {{{tags}}}</p> |
| {{#if:{{{tags|}}}|<p><strong>Теги:</strong> {{{tags}}}</p>}}
| | <p><strong>Дата создания:</strong> {{{creation_date}}}</p> |
| </div>
| | <p><strong>Дата прекращения активности:</strong> {{{end_of_activity}}}</p> |
| | <p><strong>Причины прекращения активности:</strong> {{{reasons_for_cessation}}}</p> |
| | <p><strong>Лица:</strong> {{{persons}}}</p> |
| | <p><strong>Численность:</strong> {{{size}}}</p> |
| | <p><strong>Ресурсы:</strong> {{{resources}}}</p> |
| | <p><strong>Ссылки:</strong> {{{links}}}</p> |
| | <p><strong>Предшественник:</strong> {{{predecessor}}}</p> |
| | <p><strong>Преемник:</strong> {{{successor}}}</p> |
| | </div> |
| </div> | | </div> |
|
| |
| <!-- Добавление категорий -->
| |
| {{#if:{{{tags|}}}
| |
| |{{#arraymap:{{{tags}}}|,|@@|[[Категория:@@]]|,}}
| |
| }}
| |
|
| |
| </includeonly>
| |
|
| |
| <noinclude>
| |
| <templatedata>
| |
| {
| |
| "description": "Шаблон для отображения информации об организации (компания, НКО, движение и др.) в виде инфобокса.",
| |
| "params": {
| |
| "name": {
| |
| "label": "Название",
| |
| "description": "Полное официальное название организации.",
| |
| "type": "string",
| |
| "required": true,
| |
| "example": "Международная организация труда"
| |
| },
| |
| "image": {
| |
| "label": "Изображение",
| |
| "description": "Имя файла логотипа или фотографии организации.",
| |
| "type": "string",
| |
| "example": "Logo.jpg"
| |
| },
| |
| "type": {
| |
| "label": "Тип",
| |
| "description": "Тип организации (например, компания, НКО, государственный орган).",
| |
| "type": "string",
| |
| "example": "Некоммерческая организация"
| |
| },
| |
| "status": {
| |
| "label": "Статус",
| |
| "description": "Текущий статус (действует, ликвидирована и т.д.).",
| |
| "type": "string",
| |
| "example": "Действует"
| |
| },
| |
| "field": {
| |
| "label": "Сфера деятельности",
| |
| "description": "Основная сфера деятельности организации.",
| |
| "type": "string",
| |
| "example": "Социальная поддержка"
| |
| },
| |
| "country": {
| |
| "label": "Страна",
| |
| "description": "Страна регистрации или основного действия.",
| |
| "type": "string",
| |
| "example": "Россия"
| |
| },
| |
| "headquarters": {
| |
| "label": "Штаб-квартира",
| |
| "description": "Местоположение центрального офиса.",
| |
| "type": "string",
| |
| "example": "Москва"
| |
| },
| |
| "leader": {
| |
| "label": "Руководитель",
| |
| "description": "Имя текущего руководителя или главы организации.",
| |
| "type": "string",
| |
| "example": "Иван Иванов"
| |
| },
| |
| "founders": {
| |
| "label": "Основатели",
| |
| "description": "Список основателей организации.",
| |
| "type": "string",
| |
| "example": "Петр Петров, Мария Смирнова"
| |
| },
| |
| "founded": {
| |
| "label": "Дата основания",
| |
| "description": "Дата создания организации (ДД.ММ.ГГГГ или ГГГГ).",
| |
| "type": "string",
| |
| "example": "1991"
| |
| },
| |
| "dissolved": {
| |
| "label": "Дата прекращения деятельности",
| |
| "description": "Если организация больше не существует — дата ликвидации.",
| |
| "type": "string",
| |
| "example": "2020"
| |
| },
| |
| "members": {
| |
| "label": "Численность",
| |
| "description": "Количество участников, сотрудников или членов.",
| |
| "type": "string",
| |
| "example": "10 000"
| |
| },
| |
| "budget": {
| |
| "label": "Бюджет",
| |
| "description": "Годовой бюджет или финансовые показатели (если применимо).",
| |
| "type": "string",
| |
| "example": "50 млн руб."
| |
| },
| |
| "website": {
| |
| "label": "Сайт",
| |
| "description": "Официальный сайт организации.",
| |
| "type": "string",
| |
| "example": "https://example.org"
| |
| },
| |
| "tags": {
| |
| "label": "Теги",
| |
| "description": "Ключевые слова, категории или сферы, через запятую.",
| |
| "type": "string",
| |
| "example": "Благотворительность, Образование"
| |
| }
| |
| },
| |
| "paramOrder": [
| |
| "name",
| |
| "image",
| |
| "type",
| |
| "status",
| |
| "field",
| |
| "country",
| |
| "headquarters",
| |
| "leader",
| |
| "founders",
| |
| "founded",
| |
| "dissolved",
| |
| "members",
| |
| "budget",
| |
| "website",
| |
| "tags"
| |
| ]
| |
| }
| |
| </templatedata>
| |
| </noinclude>
| |