diff options
Diffstat (limited to 'pages/Template/Template:Endorser.mw')
-rw-r--r-- | pages/Template/Template:Endorser.mw | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/pages/Template/Template:Endorser.mw b/pages/Template/Template:Endorser.mw new file mode 100644 index 0000000..b8500c8 --- /dev/null +++ b/pages/Template/Template:Endorser.mw @@ -0,0 +1,76 @@ +<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|}}} Sitio web] </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=5|service=leaflet}} }}<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|}}}}} +|} +</div> +<div style="display:none;">{{#if: {{{endorser:imagen-destacada|}}} | {{#setmainimage:{{{endorser:imagen-destacada|}}}}} | {{#setmainimage:{{#replace:https://api.mapbox.com/v4/mapbox.satellite/{{#explode:{{{endorser:place|}}}|, |1}},{{#explode:{{{endorser:place|}}}|, |0}},{{#if: {{{endorser:banner-zoom|}}} | {{{endorser:banner-zoom|}}} | 9 }}/1000x400@2x.png?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]] +{{#if: {{{banner-altura|}}} | {{#css: .bannerimage {background-position: 0px {{{banner-altura|}}}% !important;} }} }} +<div class="clean-p"></div> +</includeonly> |