summaryrefslogtreecommitdiff
path: root/pages/Template/Template:Gathering.mw
blob: ed78d2d26dd6744aee2b808372515fa4871904c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<noinclude>
This is the "Gathering" template.
It should be called in the following format:
<pre>
{{Gathering
|gathering:id=
|gathering:description=
|gathering:place=
|gathering:place-country=
|gathering:place-state=
|gathering:place-city=
|gathering:place-street=
|gathering:info-start=
|gathering:info-end=
|gathering:info-type=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>
<div class="intro-copete">
[[Gathering:description::{{{gathering:description|}}}]]{{#description2:{{{gathering:description|}}}}}
</div>
<div style='padding-left: 0 !important;' class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>
{| class="wikitable"
|+ {{#if: {{{gathering:place|}}} | {{#display_map:{{{gathering:place|}}}|width=100%|enablefullscreen=yes|height=300|service=leaflet}} }}<span class="map-address">{{#if: {{{gathering:place-street|}}} | [[Gathering:place-street::{{{gathering:place-street|}}}]] }}, {{#if: {{{gathering:place-city|}}} | [[Gathering:place-city::{{{gathering:place-city|}}}]] }}, {{#if: {{{gathering:place-state|}}} | [[Gathering:place-state::{{{gathering:place-state|}}}]] }}, {{#if: {{{gathering:place-country|}}} | {{int:rv-country-{{{gathering:place-country|}}}}} <span style="display:none">[[Gathering:place-country::{{{gathering:place-country|}}}]]</span> }}</span>
|- {{#if: {{{gathering:info-start|}}} | | style="display:none;" }}
! {{int:rv-gathering:info-start}}
| [[Gathering:info-start::{{{gathering:info-start|}}}]]
|- {{#if: {{{gathering:info-end|}}} | | style="display:none;" }}
! {{int:rv-gathering:info-end}}
| [[Gathering:info-end::{{{gathering:info-end|}}}]]
|- {{#if: {{{gathering:info-type|}}} | | style="display:none;" }}
! {{int:rv-gathering:info-type}}
| [[Gathering:info-type::{{{gathering:info-type|}}}]]
|}
</div>
<div style="display:none;">{{#if: {{{gathering:imagen-destacada|}}} | {{#setmainimage:{{{gathering:imagen-destacada|}}}}} | {{#setmainimage:{{#replace:https://api.mapbox.com/v4/mapbox.satellite/{{#explode:{{{gathering:place|}}}|, |1}},{{#explode:{{{gathering:place|}}}|, |0}},{{#if: {{{gathering:imagen-destacada-zoom|}}} | {{{gathering:imagen-destacada-zoom|}}} | 9 }}/1000x400@2x.png?access_token=pk.eyJ1IjoiaWFjb21lbGxhIiwiYSI6ImNpdWJ3OHJoYTAwOHgyb3BneWd1NG16bjgifQ.8uFt1oMO57yDT9Xzb_ScAw}}| ||}}}}
[[Gathering:place::{{{gathering:place|}}}]]
[[Gathering:id::{{{gathering:id|}}}]]
</div>__NOTOC__

{{#ask:
 [[Ecoversity:info-gatherings::{{PAGENAME}}]]
 |format=table
 |?Ecoversity:description|Description
}}

[[Category:Gathering]]
<div class="clean-p"></div>
</includeonly>