diff options
Diffstat (limited to 'pages/Template/Template:Gathering.mw')
-rw-r--r-- | pages/Template/Template:Gathering.mw | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pages/Template/Template:Gathering.mw b/pages/Template/Template:Gathering.mw new file mode 100644 index 0000000..ed78d2d --- /dev/null +++ b/pages/Template/Template:Gathering.mw @@ -0,0 +1,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> |