summaryrefslogtreecommitdiff
path: root/pages/Template/Template:Webinar.mw
blob: 383ee0b34f50348f01f0f07e08a47b4098eb0584 (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
<noinclude>
This is the "Webinar" template.
It should be called in the following format:
<pre>
{{Webinar
|webinar:description=
|webinar:place=
|webinar:info-date=
|webinar:info-url=
|webinar:info-video=
|webinar:info-image=
|webinar:info-participants=
}}
</pre>
</noinclude><includeonly>
<div class="intro-copete">
[[Webinar:description::{{{webinar:description|}}}]]{{#description2:{{{webinar:description|}}}}}
</div>
<div class="intro-links">
{{#if: {{{webinar:info-url|}}} | <span id="intro-links-url"><span class="glyphicon glyphicon-link"></span> [{{{webinar:info-url|}}} {{int:rv-webinar:info-url}}] </span>}}{{#if: {{{webinar:info-video|}}} | <nowiki> | </nowiki> <span id="intro-links-video"><span class="glyphicon glyphicon-facetime-video"></span> [https://archive.org/details/{{{webinar:info-video|}}} {{int:rv-webinar:info-video}}] </span>}}
</div><div style='padding-left: 0 !important;' class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>
{| class="wikitable"
|+ {{#if: {{{webinar:place|}}} | {{#display_map:{{{webinar:place|}}}|width=100%|enablefullscreen=yes|height=300|zoom=3|service=leaflet|layers=CartoDB.PositronNoLabels}} }}<span class="map-address"></span>
|- {{#if: {{{webinar:info-date|}}} | | style="display:none;" }}
! {{int:rv-webinar:info-date}}
| {{{webinar:info-date|}}}
|- {{#if: {{{webinar:info-topics|}}} | | style="display:none;" }}
! {{int:rv-webinar:info-topics}}
| {{#arraymap:{{{webinar:info-topics|}}}|,|@|[[:Category:@|@]] |<nowiki>, </nowiki>}}<span style='display:none;'>[[Webinar:info-topics::{{{webinar:info-topics|}}}]]</span>
|- {{#if: {{{webinar:info-participants|}}} | | style="display:none;" }}
! {{int:rv-webinar:info-participants}}
| {{{webinar:info-participants|}}}
|}
</div>

<html><iframe src="https://archive.org/embed/</html>{{{webinar:info-video|}}}<html>" width="720" height="480" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe></html>

<img src="{{{webinar:info-image|}}}" />

<div style="display:none;">{{#if: {{{webinar:imagen-destacada|}}} | {{#setmainimage:{{{webinar:imagen-destacada|}}}}} | {{#setmainimage:{{#replace:https://api.mapbox.com/styles/v1/mapbox/satellite-v9/static/{{#explode:{{{webinar:place|}}}|, |1}},{{#explode:{{{webinar:place|}}}|, |0}},{{#if: {{{webinar:banner-zoom|}}} | {{{webinar:banner-zoom|}}} | 9 }}/1000x400@2x?access_token=pk.eyJ1IjoiaWFjb21lbGxhIiwiYSI6ImNpdWJ3OHJoYTAwOHgyb3BneWd1NG16bjgifQ.8uFt1oMO57yDT9Xzb_ScAw}}| ||}}}}
[[Webinar:place::{{{webinar:place|}}}]]
[[Webinar:info-date::{{{webinar:info-date|}}}]]
[[Webinar:info-participants::{{{webinar:info-participants|}}}]]
[[Webinar:info-url::{{{webinar:info-url|}}}]]
[[Webinar:info-video::{{{webinar:info-video|}}}]]
[[Webinar:info-image::{{{webinar:info-image|}}}]]

</div>__NOTOC__
{{#arraymap:{{{webinar:info-topics|}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
[[Category:Webinar]]
[[Category:Map]]
{{#if: {{{banner-altura|}}} | {{#css: .bannerimage {background-position: 0px {{{banner-altura|}}}% !important;} }} }}
<div class="clean-p"></div>
</includeonly>