summaryrefslogtreecommitdiff
path: root/pages/Template/Template:Endorser.mw
blob: 130c2a9d62cbeea96a7249f330b5c14909f955e6 (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
<noinclude>
<pre>
{{Endorser
|endorser:descripcion=

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

|endorser:representative-name=
|endorser:representative-email=

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

|endorser:info-start=
|endorser:info-end=
|endorser:info-type=
|endorser:info-topics=
|endorser:info-languages=
|endorser:info-funding=

# Non semantic

|endorser:oldid=
|endorser:banner-zoom=
|banner-altura=
}}
</pre>
Editar la página para ver el texto de la plantilla.
</noinclude><includeonly>
<div class="intro-copete">
[[Endorser:description::{{{endorser:description|}}}]]{{#description2:{{{endorser:description|}}}}}
</div>
<div class="intro-links">
{{#if: {{{endorser:contact-url|}}} | <span id="intro-links-url"><span class="glyphicon glyphicon-home"></span> [{{{endorser:contact-url|}}} Website] </span>}}{{#if: {{{endorser:contact-email|}}} | <nowiki> | </nowiki> <span id="intro-links-email"><span class="glyphicon glyphicon-envelope"></span> [[Endorser:contact-email::{{{endorser:contact-email|}}}]] </span>}}{{#if: {{{endorser:contact-phone|}}} | <nowiki> | </nowiki> <span id="intro-links-phone"><span class="glyphicon glyphicon-earphone"></span> [[Endorser:contact-phone::{{{endorser: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: {{{endorser:place|}}} | {{#display_map:{{{endorser:place|}}}|width=100%|enablefullscreen=yes|height=300|zoom=3|service=leaflet|layers=CartoDB.PositronNoLabels}} }}<span class="map-address">{{#if: {{{endorser:place-street|}}} | [[Endorser:place-street::{{{endorser:place-street|}}}]] }}, {{#if: {{{endorser:place-city|}}} | [[Endorser:place-city::{{{endorser:place-city|}}}]] }}, {{#if: {{{endorser:place-state|}}} | [[Endorser:place-state::{{{endorser:place-state|}}}]] }}, {{#if: {{{endorser:place-country|}}} | {{int:rv-country-{{{endorser:place-country|}}}}} <span style="display:none">[[Endorser:place-country::{{{endorser:place-country|}}}]]</span> }}</span>
! {{int:rv-endorser:info-start}}
| [[Endorser:info-start::{{{endorser:info-start|}}}]]
|- {{#if: {{{endorser:info-end|}}} | | style="display:none;" }}
! {{int:rv-endorser:info-end}}
| [[Endorser:info-end::{{{endorser:info-end|}}}]]
|- {{#if: {{{endorser:info-topics|}}} | | style="display:none;" }}
! {{int:rv-endorser:info-topics}}
| {{#arraymap:{{{endorser:info-topics|}}}|,|@|[[:Category:@|@]] |<nowiki>, </nowiki>}}<span style='display:none;'>[[Endorser:info-topics::{{{endorser:info-topics|}}}]]</span>
|- {{#if: {{{endorser:info-languages|}}} | | style="display:none;" }}
! {{int:rv-endorser:info-languages}}
| {{#arraymap:{{{endorser:info-languages|}}}|,|@|{{int:rv-language-@}} |<nowiki>, </nowiki>}}<span style='display:none;'>{{#arraymap:{{{endorser:info-languages|}}}|,|x|[[endorser:info-languages::x]]}}</span>
|- {{#if: {{{endorser:info-funding|}}} | | style="display:none;" }}
! {{int:rv-endorser:info-funding}}
| {{#arraymap:{{{endorser:info-funding|}}}|,|@|{{int:rv-endorser:reply-@}} |<nowiki>, </nowiki>}}<span style='display:none;'>{{#arraymap:{{{endorser:info-funding|}}}|,|x|[[endorser:info-funding::x]]}}</span>
|- {{#if: {{{endorser:info-type|}}} | | style="display:none;" }}
! {{int:rv-endorser:info-type}}
| {{int:rv-endorser:reply-{{{endorser:info-type|}}}}}
|- {{#if: {{{endorser:representative-name|}}} | | style="display:none;" }}
! {{int:rv-endorser:representative-name}}
| [mailto:{{{endorser:representative-email|}}} {{{endorser:representative-name|}}}]
|}
</div>
<div style="display:none;">{{#if: {{{endorser:imagen-destacada|}}} | {{#setmainimage:{{{endorser:imagen-destacada|}}}}} | {{#setmainimage:{{#replace:https://api.mapbox.com/styles/v1/mapbox/satellite-v9/static/{{#explode:{{{endorser:place|}}}|, |1}},{{#explode:{{{endorser:place|}}}|, |0}},{{#if: {{{endorser:banner-zoom|}}} | {{{endorser:banner-zoom|}}} | 9 }}/1000x400@2x?access_token=pk.eyJ1IjoiaWFjb21lbGxhIiwiYSI6ImNpdWJ3OHJoYTAwOHgyb3BneWd1NG16bjgifQ.8uFt1oMO57yDT9Xzb_ScAw}}| ||}}}}
[[Endorser:place::{{{endorser:place|}}}]]
[[Endorser:info-languages::{{{endorser:info-languages|}}}]]
[[Endorser:info-participants::{{{endorser:info-participants|}}}]]
[[Endorser:info-type::{{{endorser:info-type|}}}]]
[[Endorser:info-funding::{{{endorser:info-funding|}}}]]
[[Endorser:contact-url::{{{endorser:contact-url|}}}]]
[[Endorser:representative-name::{{{endorser:representative-name|}}}]]
[[Endorser:representative-email::{{{endorser:representative-email|}}}]]
</div>__NOTOC__
{{#arraymap:{{{endorser:info-topics|}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
[[Category:Endorser]]
[[Category:Map]]
{{#if: {{{banner-altura|}}} | {{#css: .bannerimage {background-position: 0px {{{banner-altura|}}}% !important;} }} }}
<div class="clean-p"></div>
</includeonly>