Шаблон:Место — различия между версиями
DileSoft (обсуждение | вклад) |
|||
| (не показано 30 промежуточных версий 2 участников) | |||
| Строка 1: | Строка 1: | ||
| − | {{#arraydefine:themes| {{{themes|}}} }} | + | <includeonly>[[Категория:Место]]{{#default_form:Место}}{{#arraydefine:themes| {{{themes|}}} }}{{#arraydefine:communities| {{{communities|}}} }}{{#arraydefine:partners| {{{partners|}}} }}{{#arraydefine:type| {{{type|}}} }}[[Место Название::{{PAGENAME}}|]]{{#set:Адрес текст={{{address|}}}}}{{Infobox |
| − | {{#arraydefine:communities| {{{communities|}}} }} | + | |name = Место |
| + | |bodystyle = padding:3px;background:#f7f7f7;border:1px solid #ccc;vertical-align:top;width:300px;float:right;font-size:small | ||
| + | |class =wikitable | ||
| − | + | |titlestyle = background:#489d72;font-weight:bold;text-align:center;font-size:130%;color:#fff;padding:5px | |
| − | | | + | |abovestyle = |
| − | | | + | |subheaderstyle = |
| − | | | + | |title = {{PAGENAME}} |
| − | | | + | |above = |
| − | + | |subheader = | |
| − | | | + | |subheader2 = |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | + | |headerstyle = background:#ccf; | |
| + | |labelstyle = | ||
| + | |datastyle = | ||
| + | |imagestyle =text-align:center;border-top-style:none;padding:5px; | ||
| + | |captionstyle = | ||
| + | | image = {{#ifexist:File:{{{image|}}}|[[File:{{{image}}}|300px]]|}} | ||
| + | |caption = | ||
| + | |||
| + | | label1 = Тип | ||
| + | | data1 = {{#arrayprint:type |, |@@@@ |[[Место Тип::@@@@|@@@@]] }} | ||
| + | |label2 = Адрес: | ||
| + | | data2 = [[Адрес::{{#geocode:{{{address|}}}}}|{{{address|}}}|service=google]] {{AddressLinks|{{{address|}}}}} | ||
| + | |label3 = Тематика: | ||
| + | | data3 = {{#arrayprint:themes |, |@@@@ |[[Тематика::@@@@|@@@@]] }} | ||
| + | |label4 = Дата начала: | ||
| + | | data4 = {{{datestart|}}} | ||
| + | |label5 = Дата закрытия: | ||
| + | | data5 = {{{dateend|}}} | ||
| + | |label6 = Участники: | ||
| + | | data6 = {{#ask: | ||
| + | [[Участник::{{PAGENAME}}]] | ||
| + | |format=list}} | ||
| + | |label7 = '''Группа Вк:''' | ||
| + | | data7 = {{{vk|}}} | ||
| + | |label8 = '''Число в группе Вк:''' | ||
| + | | data8 = {{#if: {{{vk_id|}}} | {{Шаблон:Пользователей_в_группе|{{{vk_id|}}} }} | }} | ||
| + | |label9 = Партнеры: | ||
| + | |data9 = {{#arrayprint:partners |, |@@@@ |[[Партнер::@@@@|@@@@]] }} {{#ask: | ||
| + | [[Партнер::{{PAGENAME}}]] | ||
| + | |format=list | ||
| + | }} | ||
| + | |label10 = Сообщества: | ||
| + | |data10 = {{#arrayprint:communities |, |@@@@ |[[Сообщество::@@@@|@@@@]] }} {{#ask: | ||
| + | [[Сообщество::{{PAGENAME}}]] | ||
| + | |format=list | ||
| + | }} | ||
| + | |||
| + | |belowstyle = | ||
| + | |below = {{#ask:[[{{PAGENAME}}]] | ||
| + | | ?Адрес=Координаты | ||
| + | | ?Адрес текст#=Адрес | ||
| + | | ?Тематика#=Тематика | ||
| + | | format=map | ||
| + | | zoom = 16 | ||
| + | | center = {{#geocode:{{{address|}}}}}|{{{address|}}} | ||
| + | |height=300 | ||
| + | |width=300 | ||
| + | |limit=10000 | ||
| + | | enablefullscreen=yes | ||
| + | }} | ||
| + | }} | ||
| + | {{#set:Адрес_Город={{GeoCity|coordinates={{#geocode:{{{address|}}}|format=float|directional=no}}}}}}</includeonly> | ||
<noinclude> | <noinclude> | ||
| − | [[ | + | {{documentation}} |
| + | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Текущая версия на 22:50, 17 декабря 2020
{{Место
|image =
|type=
|address =
|datestart=
|dateend=
|communities=
|vk =
|vk_id =
}}
| The above documentation is transcluded from Шаблон:Место/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |