Шаблон:Место — различия между версиями

Материал из ВикиПротопии
Перейти к: навигация, поиск
 
(не показаны 4 промежуточные версии 2 участников)
Строка 1: Строка 1:
<includeonly>[[Категория:Место]]{{#default_form:Место}}</includeonly>{{#arraydefine:themes| {{{themes|}}} }}{{#arraydefine:communities| {{{communities|}}} }}{{#arraydefine:partners| {{{partners|}}} }}{{#arraydefine:type| {{{type|}}} }}[[Место Название::{{PAGENAME}}|]]{{#set:Адрес текст={{{address|}}}}}{{Infobox
+
<includeonly>[[Категория:Место]]{{#default_form:Место}}{{#arraydefine:themes| {{{themes|}}} }}{{#arraydefine:communities| {{{communities|}}} }}{{#arraydefine:partners| {{{partners|}}} }}{{#arraydefine:type| {{{type|}}} }}[[Место Название::{{PAGENAME}}|]]{{#set:Адрес текст={{{address|}}}}}{{Infobox
 
  |name        = Место
 
  |name        = Место
 
  |bodystyle    = padding:3px;background:#f7f7f7;border:1px solid #ccc;vertical-align:top;width:300px;float:right;font-size:small
 
  |bodystyle    = padding:3px;background:#f7f7f7;border:1px solid #ccc;vertical-align:top;width:300px;float:right;font-size:small
Строка 18: Строка 18:
 
  |imagestyle  =text-align:center;border-top-style:none;padding:5px;
 
  |imagestyle  =text-align:center;border-top-style:none;padding:5px;
 
  |captionstyle =  
 
  |captionstyle =  
  |  image      = [[File:{{{image}}}|300px]]
+
  |  image      = {{#ifexist:File:{{{image|}}}|[[File:{{{image}}}|300px]]|}}
 
  |caption      =  
 
  |caption      =  
  
Строка 27: Строка 27:
 
  |label3 = Тематика:
 
  |label3 = Тематика:
 
  |  data3 = {{#arrayprint:themes  |,&#32;|@@@@ |[[Тематика::@@@@|@@@@]] }}
 
  |  data3 = {{#arrayprint:themes  |,&#32;|@@@@ |[[Тематика::@@@@|@@@@]] }}
  |label4 = '''Группа Вк:'''
+
  |label4 = Дата начала:
  |  data4 =  {{{vk|}}}
+
|  data4 = {{{datestart|}}}
  |label5 = '''Число в группе Вк:'''
+
|label5 = Дата закрытия:
  |  data5 =  {{#if: {{{vk_id|}}} | {{Шаблон:Пользователей_в_группе|{{{vk_id|}}} }} | }}
+
|  data5 = {{{dateend|}}}
 +
|label6 = Участники:
 +
|  data6 = {{#ask:
 +
[[Участник::{{PAGENAME}}]]
 +
|format=list}}
 +
|label7 = '''Группа Вк:'''
 +
  |  data7 =  {{{vk|}}}
 +
  |label8 = '''Число в группе Вк:'''
 +
  |  data8 =  {{#if: {{{vk_id|}}} | {{Шаблон:Пользователей_в_группе|{{{vk_id|}}} }} | }}
 
  |label9 = Партнеры:
 
  |label9 = Партнеры:
 
  |data9 = {{#arrayprint:partners  |,&#32;|@@@@ |[[Партнер::@@@@|@@@@]] }} {{#ask:
 
  |data9 = {{#arrayprint:partners  |,&#32;|@@@@ |[[Партнер::@@@@|@@@@]] }} {{#ask:
Строка 36: Строка 44:
 
   |format=list
 
   |format=list
 
   }}
 
   }}
  |label6 = Участники:
+
  |label10 = Сообщества:
  |  data6 = {{#ask:
+
  |data10 = {{#arrayprint:communities |,&#32;|@@@@ |[[Сообщество::@@@@|@@@@]] }} {{#ask:
[[Участник::{{PAGENAME}}]]  
+
  [[Сообщество::{{PAGENAME}}]]  
|format=list
+
  |format=list
}}
+
  }}
  
 
  |belowstyle =
 
  |belowstyle =
Строка 56: Строка 64:
 
}}
 
}}
 
}}
 
}}
{{#set:Адрес_Город={{GeoCity|coordinates={{#geocode:{{{address|}}}|format=float|directional=no}}}}}}
+
{{#set:Адрес_Город={{GeoCity|coordinates={{#geocode:{{{address|}}}|format=float|directional=no}}}}}}</includeonly>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Текущая версия на 22:50, 17 декабря 2020


Template documentation[view] [edit] [history] [purge]
{{Место
|image =
|type=
|address = 
|datestart=
|dateend=
|communities=
|vk = 
|vk_id = 
}}