summaryrefslogtreecommitdiff
path: root/pages/Template/Template:Ecoversity.mw
blob: 9c1f24a0a2626af33d60d7433676adf456d5475e (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<noinclude>
Esta es la plantilla "Ecoversity". Debe llamarse en el siguiente formato:
<pre>
{{Ecoversity
|ecoversity:descripcion=

|ecoversity:contact-url=
|ecoversity:contact-email=
|ecoversity:contact-phone=

|ecoversity:place=
|ecoversity:place-country=
|ecoversity:place-state=
|ecoversity:place-city=
|ecoversity:place-street=

|ecoversity:info-start=
|ecoversity:info-end=
|ecoversity:info-economy=
|ecoversity:info-ages=
|ecoversity:info-participants=
|ecoversity:info-type=
|ecoversity:info-volunteer=

|ecoversity:info-pedagogies=
|ecoversity:info-themes=

|ecoversity:info-gatherings=
|ecoversity:info-regions=
|ecoversity:info-featured=
|ecoversity:info-featured-url=

# Non semantic

|ecoversity:oldid=
|ecoversity:imagen-destacada-zoom=
|banner-altura=
}}
</pre>
Editar la página para ver el texto de la plantilla.
</noinclude><includeonly>{{#if: {{{ecoversity:info-end|}}} |
<div class="alert alert-warning">
{{int:rv-ecoversity:info-end-nota}}[[Category:Finished Ecoversity)]]
</div>
}}
<div class="intro-copete">
[[Ecoversity:description::{{{ecoversity:description|}}}]]{{#description2:{{{ecoversity:description|}}}}}
</div>
<div class="intro-links">
{{#if: {{{ecoversity:contact-url|}}} | <span id="intro-links-url"><span class="glyphicon glyphicon-home"></span> [{{{ecoversity:contact-url|}}} Sitio web] </span>}}{{#if: {{{ecoversity:contact-email|}}} | <nowiki> | </nowiki> <span id="intro-links-email"><span class="glyphicon glyphicon-envelope"></span> [[Ecoversity:contact-email::{{{ecoversity:contact-email|}}}]] </span>}}{{#if: {{{ecoversity:contact-phone|}}} | <nowiki> | </nowiki> <span id="intro-links-phone"><span class="glyphicon glyphicon-earphone"></span> [[Ecoversity:contact-phone::{{{ecoversity:contact-phone|}}}]] </span>}}
</div><div style='padding-left: 0 !important;' class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>
{| class="wikitable"
|+ {{#if: {{{ecoversity:place|}}} | {{#display_map:{{{ecoversity:place|}}}|width=100%|enablefullscreen=yes|height=300|service=leaflet}} }}<span class="map-address">{{#if: {{{ecoversity:place-street|}}} | [[Ecoversity:place-street::{{{ecoversity:place-street|}}}]] }}, {{#if: {{{ecoversity:place-city|}}} | [[Ecoversity:place-city::{{{ecoversity:place-city|}}}]] }}, {{#if: {{{ecoversity:place-state|}}} | [[Ecoversity:place-state::{{{ecoversity:place-state|}}}]] }}, {{#if: {{{ecoversity:place-country|}}} | {{int:rv-country-{{{ecoversity:place-country|}}}}} <span style="display:none">[[Ecoversity:place-country::{{{ecoversity:place-country|}}}]]</span> }}</span>
|- {{#if: {{{ecoversity:info-featured|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-featured}}
| {{int:rv-ecoversity:reply-{{{ecoversity:info-featured|}}}}}
|- {{#if: {{{ecoversity:info-start|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-start}}
| [[Ecoversity:info-start::{{{ecoversity:info-start|}}}]]
|- {{#if: {{{ecoversity:info-end|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-end}}
| [[Ecoversity:info-end::{{{ecoversity:info-end|}}}]]
|- {{#if: {{{ecoversity:info-pedagogies|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-pedagogies}}
| {{#arraymap:{{{ecoversity:info-pedagogies|}}}|,|@|[[:Category:@|@]] |<nowiki>, </nowiki>}}<span style='display:none;'>[[Ecoversity:info-pedagogies::{{{ecoversity:info-pedagogies|}}}]]</span>
|- {{#if: {{{ecoversity:info-enfoques|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-themes}}
| {{#arraymap:{{{ecoversity:info-themes|}}}|,|@|[[:Category:@|@]] |<nowiki>, </nowiki>}}<span style='display:none;'>[[Ecoversity:info-themes::{{{ecoversity:info-themes|}}}]]</span>
|- {{#if: {{{ecoversity:info-economy|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-economy}}
| {{int:rv-ecoversity:reply-{{{ecoversity:info-economy|}}}}}
|- {{#if: {{{ecoversity:info-participants|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-participants}}
| {{{ecoversity:info-participants|}}}
|- {{#if: {{{ecoversity:info-ages|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-ages}}
| {{#arraymap:{{{ecoversity:info-ages|}}}|,|@|{{int:rv-ecoversity:reply-@}} |<nowiki>, </nowiki>}}<span style='display:none;'>{{#arraymap:{{{ecoversity:info-ages|}}}|,|x|[[ecoversity:info-ages::x]]}}</span>
|- {{#if: {{{ecoversity:info-type|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-type}}
| {{int:rv-ecoversity:reply-{{{ecoversity:info-type|}}}}}
|- {{#if: {{{ecoversity:info-volunteer|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-volunteer}}
| {{int:rv-ecoversity:reply-{{{ecoversity:info-virtual|}}}}}
|- {{#if: {{{ecoversity:info-virtual|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-virtual}}
| {{int:rv-ecoversity:reply-{{{ecoversity:info-virtual|}}}}}
|- {{#if: {{{ecoversity:info-gatherings|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-gatherings}}
| {{#arraymap:{{{ecoversity:info-gatherings|}}}|,|@|@|<nowiki>, </nowiki>}}<span style='display:none;'>{{#arraymap:{{{ecoversity:info-gatherings|}}}|,|x|[[ecoversity:info-gatherings::x]]}}</span>
|- {{#if: {{{ecoversity:info-regions|}}} | | style="display:none;" }}
! {{int:rv-ecoversity:info-regions}}
| {{#arraymap:{{{ecoversity:info-regions|}}}|,|@|@|<nowiki>, </nowiki>}}<span style='display:none;'>{{#arraymap:{{{ecoversity:info-regions|}}}|,|x|[[ecoversity:info-regions::x]]}}</span>
|}
</div>
<div style="display:none;">{{#if: {{{ecoversity:imagen-destacada|}}} | {{#setmainimage:{{{ecoversity:imagen-destacada|}}}}} | {{#setmainimage:{{#replace:https://api.mapbox.com/v4/mapbox.satellite/{{#explode:{{{ecoversity:place|}}}|, |1}},{{#explode:{{{ecoversity:place|}}}|, |0}},{{#if: {{{ecoversity:imagen-destacada-zoom|}}} | {{{ecoversity:imagen-destacada-zoom|}}} | 9 }}/1000x400@2x.png?access_token=pk.eyJ1IjoiaWFjb21lbGxhIiwiYSI6ImNpdWJ3OHJoYTAwOHgyb3BneWd1NG16bjgifQ.8uFt1oMO57yDT9Xzb_ScAw}}| ||}}}}
[[Ecoversity:place::{{{ecoversity:place|}}}]]
[[Ecoversity:info-economy::{{{ecoversity:info-economy|}}}]]
[[Ecoversity:info-participants::{{{ecoversity:info-participants|}}}]]
[[Ecoversity:info-type::{{{ecoversity:info-type|}}}]]
[[Ecoversity:info-ages::{{{ecoversity:info-ages|}}}]]
[[Ecoversity:info-volunteer::{{{ecoversity:info-volunteer|}}}]]
[[Ecoversity:info-virtual::{{{ecoversity:info-virtual|}}}]]
[[Ecoversity:contact-url::{{{ecoversity:contact-url|}}}]]
[[Ecoversity:info-featured-url::{{{ecoversity:info-featured-url|}}}]]
</div>__NOTOC__
{{#arraymap:{{{ecoversity:info-pedagogies|}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
{{#arraymap:{{{ecoversity:info-themes|}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
[[Category:Ecoversity]]
{{#if: {{{banner-altura|}}} | {{#css: .bannerimage {background-position: 0px {{{banner-altura|}}}% !important;} }} }}
<div class="clean-p"></div>
</includeonly>