CINXE.COM
Plantilla:Two maps block/Build map - Viquipèdia, l'enciclopèdia lliure
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="ca" dir="ltr"> <head> <meta charset="UTF-8"> <title>Plantilla:Two maps block/Build map - Viquipèdia, l'enciclopèdia lliure</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )cawikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],"wgRequestId":"9ef8390d-2461-45af-9945-dc1c5f3c8be3","wgCanonicalNamespace":"Template","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":10,"wgPageName":"Plantilla:Two_maps_block/Build_map","wgTitle":"Two maps block/Build map","wgCurRevisionId":34028864,"wgRevisionId":34028864,"wgArticleId":2049568,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Articles mancats de coordenades","Plantilles de mapes"],"wgPageViewLanguage":"ca","wgPageContentLanguage":"ca","wgPageContentModel":"wikitext","wgRelevantPageName":"Plantilla:Two_maps_block/Build_map","wgRelevantArticleId":2049568,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true, "wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"ca","pageLanguageDir":"ltr","pageVariantFallbacks":"ca"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":6000,"wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q123421855","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready", "ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","wikibase.client.data-bridge.externalModifiers":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.UkensKonkurranse","ext.gadget.refToolbar","ext.gadget.charinsert","ext.gadget.AltresViccionari","ext.gadget.purgetab","ext.gadget.DocTabs","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface", "ext.cx.eventlogging.campaigns","wikibase.client.vector-2022","wikibase.client.data-bridge.init","ext.checkUser.clientHints","oojs-ui.styles.icons-media","oojs-ui-core.icons","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=ca&modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.data-bridge.externalModifiers%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=ca&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=ca&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Plantilla:Two maps block/Build map - Viquipèdia, l'enciclopèdia lliure"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//ca.m.wikipedia.org/wiki/Plantilla:Two_maps_block/Build_map"> <link rel="alternate" type="application/x-wiki" title="Modifica" href="/w/index.php?title=Plantilla:Two_maps_block/Build_map&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Viquipèdia (ca)"> <link rel="EditURI" type="application/rsd+xml" href="//ca.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://ca.wikipedia.org/wiki/Plantilla:Two_maps_block/Build_map"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.ca"> <link rel="alternate" type="application/atom+xml" title="Canal de sindicació Atom Viquipèdia" href="/w/index.php?title=Especial:Canvis_recents&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-10 ns-subject mw-editable page-Plantilla_Two_maps_block_Build_map rootpage-Plantilla_Two_maps_block skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Vés al contingut</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Lloc"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Menú principal" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Menú principal</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Menú principal</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">amaga</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navegació </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Portada" title="Visiteu la pàgina principal [z]" accesskey="z"><span>Portada</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Especial:Article_aleatori" title="Carrega una pàgina a l’atzar [x]" accesskey="x"><span>Article a l'atzar</span></a></li><li id="n-Articles-de-qualitat" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Articles_de_qualitat"><span>Articles de qualitat</span></a></li> </ul> </div> </div> <div id="p-Comunitat" class="vector-menu mw-portlet mw-portlet-Comunitat" > <div class="vector-menu-heading"> Comunitat </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Portal" title="Sobre el projecte, què podeu fer, on trobareu les coses"><span>Portal viquipedista</span></a></li><li id="n-Agenda-d'actes" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Trobades"><span>Agenda d'actes</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Especial:Canvis_recents" title="Una llista dels canvis recents al wiki [r]" accesskey="r"><span>Canvis recents</span></a></li><li id="n-La-taverna" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:La_taverna"><span>La taverna</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Contacte"><span>Contacte</span></a></li><li id="n-Xat" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Canals_IRC"><span>Xat</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Ajuda" title="El lloc per a saber més coses"><span>Ajuda</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Portada" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Viquipèdia" src="/static/images/mobile/copyright/wikipedia-wordmark-ca.svg" style="width: 7.5em; height: 1.4375em;"> <img class="mw-logo-tagline" alt="l'Enciclopèdia Lliure" src="/static/images/mobile/copyright/wikipedia-tagline-ca.svg" width="120" height="14" style="width: 7.5em; height: 0.875em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Especial:Cerca" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Cerca a la Viquipèdia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Cerca</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Cerca a Viquipèdia" aria-label="Cerca a Viquipèdia" autocapitalize="sentences" title="Cerca a la Viquipèdia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Especial:Cerca"> </div> <button class="cdx-button cdx-search-input__end-button">Cerca</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Eines personals"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Aparença"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Aparença" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Aparença</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_ca.wikipedia.org&uselang=ca" class=""><span>Donatius</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Especial:Crea_compte&returnto=Plantilla%3ATwo+maps+block%2FBuild+map" title="Us animem a crear un compte i iniciar una sessió, encara que no és obligatori" class=""><span>Crea un compte</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Especial:Registre_i_entrada&returnto=Plantilla%3ATwo+maps+block%2FBuild+map" title="Us animem a registrar-vos, però no és obligatori [o]" accesskey="o" class=""><span>Inicia la sessió</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Més opcions" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Eines personals" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Eines personals</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menú d'usuari" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_ca.wikipedia.org&uselang=ca"><span>Donatius</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Especial:Crea_compte&returnto=Plantilla%3ATwo+maps+block%2FBuild+map" title="Us animem a crear un compte i iniciar una sessió, encara que no és obligatori"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Crea un compte</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Especial:Registre_i_entrada&returnto=Plantilla%3ATwo+maps+block%2FBuild+map" title="Us animem a registrar-vos, però no és obligatori [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Inicia la sessió</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pàgines per a editors no registrats <a href="/wiki/Ajuda:Introducci%C3%B3" aria-label="Vegeu més informació sobre l'edició"><span>més informació</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Especial:Contribucions_pr%C3%B2pies" title="Una llista de les modificacions fetes des d'aquesta adreça IP [y]" accesskey="y"><span>Contribucions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Especial:Discussi%C3%B3_personal" title="Discussió sobre les edicions per aquesta adreça ip. [n]" accesskey="n"><span>Discussió per aquest IP</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Lloc"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contingut" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contingut</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">amaga</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Inici</div> </a> </li> <li id="toc-Descripció" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Descripció"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Descripció</span> </div> </a> <ul id="toc-Descripció-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Funcionalitats_previstes" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Funcionalitats_previstes"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Funcionalitats previstes</span> </div> </a> <ul id="toc-Funcionalitats_previstes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Sintaxi" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Sintaxi"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Sintaxi</span> </div> </a> <ul id="toc-Sintaxi-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contingut" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Commuta la taula de continguts." > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Commuta la taula de continguts.</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Plantilla</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Two maps block/Build map</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Vés a un article en una altra llengua. Disponible en 3 llengües" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-3" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">3 llengües</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/Teimpl%C3%A9ad:Two_maps_block/Build_map" title="Teimpléad:Two maps block/Build map - irlandès" lang="ga" hreflang="ga" data-title="Teimpléad:Two maps block/Build map" data-language-autonym="Gaeilge" data-language-local-name="irlandès" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Modelo:Two_maps_block/Build_map" title="Modelo:Two maps block/Build map - gallec" lang="gl" hreflang="gl" data-title="Modelo:Two maps block/Build map" data-language-autonym="Galego" data-language-local-name="gallec" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Templat:Blok_dua_peta/Bina_peta" title="Templat:Blok dua peta/Bina peta - malai" lang="ms" hreflang="ms" data-title="Templat:Blok dua peta/Bina peta" data-language-autonym="Bahasa Melayu" data-language-local-name="malai" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q123421855#sitelinks-wikipedia" title="Modifica enllaços interlingües" class="wbc-editpage">Modifica els enllaços</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Espais de noms"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-template" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Plantilla:Two_maps_block/Build_map" title="Vegeu la plantilla [c]" accesskey="c"><span>Plantilla</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Plantilla_Discussi%C3%B3:Two_maps_block/Build_map&action=edit&redlink=1" rel="discussion" class="new" title="Discussió sobre el contingut d'aquesta pàgina (encara no existeix) [t]" accesskey="t"><span>Discussió</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Canvia la variant de llengua" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">català</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Vistes"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Plantilla:Two_maps_block/Build_map"><span>Mostra</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map&action=edit" title="Modifica el codi font d'aquesta pàgina [e]" accesskey="e"><span>Modifica el codi</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map&action=history" title="Versions antigues d'aquesta pàgina [h]" accesskey="h"><span>Mostra l'historial</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Eines de la pàgina"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Eines" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Eines</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Eines</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">amaga</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Més opcions" > <div class="vector-menu-heading"> Accions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Plantilla:Two_maps_block/Build_map"><span>Mostra</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map&action=edit" title="Modifica el codi font d'aquesta pàgina [e]" accesskey="e"><span>Modifica el codi</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map&action=history"><span>Mostra l'historial</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Especial:Enlla%C3%A7os/Plantilla:Two_maps_block/Build_map" title="Una llista de totes les pàgines wiki que enllacen amb aquesta [j]" accesskey="j"><span>Què hi enllaça</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Especial:Seguiment/Plantilla:Two_maps_block/Build_map" rel="nofollow" title="Canvis recents a pàgines enllaçades des d'aquesta pàgina [k]" accesskey="k"><span>Canvis relacionats</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Especial:P%C3%A0gines_especials" title="Llista totes les pàgines especials [q]" accesskey="q"><span>Pàgines especials</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map&oldid=34028864" title="Enllaç permanent a aquesta revisió de la pàgina"><span>Enllaç permanent</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map&action=info" title="Més informació sobre aquesta pàgina"><span>Informació de la pàgina</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Especial:UrlShortener&url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FPlantilla%3ATwo_maps_block%2FBuild_map"><span>Obtén una URL abreujada</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Especial:QrCode&url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FPlantilla%3ATwo_maps_block%2FBuild_map"><span>Descarrega el codi QR</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> Imprimeix/exporta </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Especial:DownloadAsPdf&page=Plantilla%3ATwo_maps_block%2FBuild_map&action=show-download-screen"><span>Baixa com a PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="Versió per a impressió d'aquesta pàgina [p]" accesskey="p"><span>Versió per a impressora</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> En altres projectes </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q123421855" title="Enllaç a l'element del repositori de dades connectat [g]" accesskey="g"><span>Element a Wikidata</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Eines de la pàgina"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Aparença"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Aparença</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">amaga</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">De la Viquipèdia, l'enciclopèdia lliure</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><div class="subpages">< <bdi dir="ltr"><a href="/wiki/Plantilla:Two_maps_block" title="Plantilla:Two maps block">Plantilla:Two maps block</a></bdi></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="ca" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r33760873">.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box}.mw-parser-output .ombox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .ombox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .ombox-delete{border:2px solid #b32424}.mw-parser-output .ombox-content{border:1px solid #f28500}.mw-parser-output .ombox-style{border:1px solid #fc3}.mw-parser-output .ombox-move{border:1px solid #9932cc}.mw-parser-output .ombox-protection{border:2px solid #a2a9b1}.mw-parser-output .ombox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .ombox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .ombox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .ombox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .ombox{margin:4px 10%}.mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ombox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ombox-speedy{background-color:#310402}}</style><table class="plainlinks ombox ombox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/40px-Information_icon4.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/60px-Information_icon4.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/80px-Information_icon4.svg.png 2x" data-file-width="620" data-file-height="620" /></span></span></td><td class="mbox-text">Versió global de <a href="/wiki/Plantilla:Munta_mapa" title="Plantilla:Munta mapa">plantilla:Munta_mapa</a></td></tr></tbody></table> <div style="float:left;"></div><div style="float:left;"></div><style data-mw-deduplicate="TemplateStyles:r33711414">.mw-parser-output .template-documentation{clear:both;margin:1em 0 0 0;border:1px solid #aaa;background-color:#ecfcf4;padding:1em}@media screen{html.skin-theme-clientpref-night .mw-parser-output .template-documentation{background-color:#0b1e1c}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .template-documentation{background-color:#0b1e1c}}</style> <div id="template-documentation" class="template-documentation iezoomfix"><div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><span style="font-weight: bold; font-size: 125%"><span typeof="mw:File"><span><img alt="Icona de documentació de mòdul" src="//upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/50px-Test_Template_Info-Icon.svg.png" decoding="async" width="50" height="22" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/75px-Test_Template_Info-Icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/100px-Test_Template_Info-Icon.svg.png 2x" data-file-width="1792" data-file-height="800" /></span></span> Documentació de la plantilla</span><span class="plainlinks" id="doc_editlinks"> [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=view">mostra</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=edit">modifica el codi</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=history">mostra l'historial</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map&action=purge">refresca</a> ]</span></div> <div class="mw-heading mw-heading2"><h2 id="Descripció"><span id="Descripci.C3.B3"></span>Descripció</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=edit&section=T-1" title="Modifica la secció: Descripció"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Aquesta plantilla permet recollir de forma senzilla les dades necessàries per muntar un mapa dinàmic. Fa les funcions de "formulari previ" a <span style="white-space:nowrap;">{{<a href="/wiki/Plantilla:Map_draw" title="Plantilla:Map draw">Map draw</a>}}</span> a qui invoca directament. </p><p>La diferència rau en que, mentre <i>Map draw</i> permet totes les combinacions i sovint no resulta obvi el seu funcionament per a usuaris poc experts, aquesta ja té preconfigurades les situacions més habituals que utilitzen les infotaules. </p><p>Si algú vol fer alguna funcionalitat no contemplada en aquesta plantilla, haurà de fer servir directament <span style="white-space:nowrap;">{{<a href="/wiki/Plantilla:Map_draw" title="Plantilla:Map draw">Map draw</a>}}</span>. La seva construcció ha estat feta per simplificar el codi de <span style="white-space:nowrap;">{{<a href="/wiki/Plantilla:Two_maps_block" title="Plantilla:Two maps block">Two maps block</a>}}</span>, si bé pot ser d'utilitat per altres funcions. </p> <div class="mw-heading mw-heading2"><h2 id="Funcionalitats_previstes">Funcionalitats previstes</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=edit&section=T-2" title="Modifica la secció: Funcionalitats previstes"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li>El mapa dinàmic pot mostrar:</li></ul> <dl><dd><ul><li>un <i><b>geomask</b></i> o perímetre provinent de l'<a href="/wiki/OpenStreetMap" title="OpenStreetMap">OpenStreetMap</a> de diferent tonalitat per ressaltar el perímetre on s'ubica la informació interessant. S'ubicarà com <i>geotype<b>1</b></i> quan invoqui <i>Map draw</i>.</li> <li>fins a 3 capes tipus <b>.map</b> de <i>Commons</i> amb traçats més complexos, com ara, una línia que descriu el recorregut de l'element, polígons amb subdivisions territorials, un conjunt de punts (parades d'una línia, etapes d'una ruta, ..), etc. L'ús d'aquestes capes anul·la la informació perimetral provinent de l'OpenStreetMap (el <b>geomask</b>).</li></ul> <dl><dd>La informació sobre com crear aquestes capes que es defineixen en JSON i s'emmagatzemen a <i>Commons</i> es troba a <a class="external text" href="https://www.mediawiki.org/wiki/Help:Map_Data">format Map Data</a>.</dd> <dd>Per tal de vincular aquesta mena d'informació amb l'item corresponent, es fa servir la <a href="https://www.wikidata.org/wiki/Property:P3896" class="extiw" title="d:Property:P3896">Forma geogràfica <small>(P3896)</small></a>. . S'ubicarà com <i>geotype<b>1</b>, <b>2</b>, <b>3</b></i> quan invoqui <i>Map draw</i>.</dd></dl> <ul><li>una <i><b>geoline</b></i>, línia importada des d'OSM que mostra la forma d'uns objectes concrets. Actualment ponts i embassaments. Aquesta funcionalitat és automàtica, si es donen les condicions. S'ubicarà com <i>geotype<b>4</b></i> quan invoqui <i>Map draw</i>.</li> <li>un <i><b>multipoint</b></i> amb <u>informació comuna</u> per tots els punts. S'ubicarà com <i>geotype<b>5</b></i> quan invoqui <i>Map draw</i>.</li> <li><b>un o dos <i>point</i></b> <u>principals</u>(punt central de l'element, inici-final d'un recorregut, etc) amb <b>informació pròpia</b> de cada punt (nom, descripció, icona i imatge). S'ubicarà com <i>geotype<b>6</b>, <b>7</b></i> quan invoqui <i>Map draw</i>.</li></ul></dd></dl> <p></noinclude> </p> <div class="mw-heading mw-heading2"><h2 id="Sintaxi">Sintaxi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=edit&section=T-3" title="Modifica la secció: Sintaxi"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <pre>{{Two_maps_block/Build_map <!-- Dades bàsiques --> |item={{{item|}}} | v_item_territory = {{{v_item_territory|}}} <!-- Paràmetres dels dos punts principals --> | v_marker ={{{v_marker|}}} | v_marker_name ={{{v_marker_name|}}} | v_marker_2= {{{v_marker_2|}}} | v_marker_name_2 ={{{v_marker_name_2|}}} | v_p625_lat_lon = {{{v_p625_lat_lon|}}} | v_p625_lat_lon_2 = {{{v_p625_lat_lon_2|}}} <!-- Paràmetres de la sèrie de punts amb informació comuna --> | v_marker_name_5={{{v_marker_name_5|}}} | v_coordinate_serie_5 = {{{v_coordinate_serie_5|}}} | v_draw_layer= {{{v_draw_layer|}}} |lang={{{lang|}}} <!-- Altres paràmetres complementaris --> | v_marker_color= {{{v_marker_color|}}} | v_marker_size={{{v_marker_size|}}} | v_marker_description={{{v_marker_description|}}} | v_marker_image={{{v_marker_image|}}} | v_marker_color_2= {{{v_marker_color_2|}}} | v_marker_description_2={{{v_marker_description_2|}}} | v_marker_image_2={{{v_marker_image_2|}}} | v_marker_5={{{v_marker_5|}}}| v_marker_description_5={{{v_marker_description_5|}}} | v_marker_color_5={{{v_marker_color_5|}}} | v_marker_size_5={{{v_marker_size_5|}}} | v_zoom_map= {{{v_zoom_map|}}} |v_size_map= {{{v_size_map|}}} |v_stroke-width_4= {{{v_stroke-width_4|}}} }}</pre> <dl><dt>Descripció paràmetres bàsics</dt> <dd></dd></dl> <ul><li><code>item </code>= ID de l'item que volem mostrar. item={{{item|}}} ens mostrarà l'article actiu. És necessari per determinats automatismes (zoom, icona del marcador, detecció per activar el <i>geoline</i>, etc.)</li> <li><code>v_item_territory</code> = per dibuixar el <i>geomask</i> fa servir la P131 <code>item</code> que li indica la unitat administrativa superior. Si volem que apliqui un altre perímetre (habitualment superior), se li indica a <code>v_item_territory</code></li></ul> <p>Corresponents als dos punts principals: </p> <ul><li><code>v_marker</code> i <code>v_marker_2 </code>= poden tenir una lletra, un nombre o una icona que es mostrarà dins el "marcador" que mostra la coordenada al mapa. (veure més detalls a Plantilla:Map_draw#Sintaxi)</li> <li><code>v_marker_name</code> i <code>v_marker_name_2</code> = és un text curt que es mostrarà quan es clica el marcador</li> <li><code>v_p625_lat_lon</code> i <code>v_p625_lat_lon_2</code> = coordenades dels dos punts principals en format decimal separats per una coma (<i>latitud,longitud</i>)</li></ul> <p>Corresponents a la sèrie de punts: </p> <ul><li><code>v_marker_name_5</code> = és un text curt que es mostrarà quan es clica el marcador de qualsevol dels punts. Cal tenir present que es mostrarà el mateix contingut a tots els punts d'aquesta sèrie.</li> <li><code>v_coordinate_serie_5</code> = és una col·lecció de coordenades en format <code>latitud,longitud;latitud,longitud;...</code>.</li></ul> <dl><dd><dl><dd>Un exemple de com recuperar una llista de coordenades: <code>{{getLatLon|P2825|list=firstrank|item={{{item|}}} }}</code></dd></dl></dd></dl> <ul><li><code>v_draw_layer</code> = Fins a 3 noms del fitxer (data:xxxxxx.map) on hi ha el codi JSON per representar continguts al mapa dinàmic. Entre els noms de cada fitxer cal col·locar un separador ###.</li></ul> <dl><dd><dl><dd>Exemple de com recuperar <code>{{#invoke:Wikidades | claim |formatting = table |property=P3896 |qualifier=P518|rowformat = $0 |separator=### | item={{{item|}}}}}</code></dd></dl></dd></dl> <ul><li>Aquests paràmetres bàsics es comporten amb uns valors per defecte pel que fa al color i mida que poden ser alterats mitjançant: <code>v_marker_color</code>, <code>v_marker_size</code>, <code>v_marker_color_2</code>, <code>v_marker_size_2</code>, <code>v_marker_color_5</code>, <code>v_marker_size_5</code>.</li> <li>A més del <code>v_marker_name_<i>n</i></code>, també existeix una <code>v_marker_description_<i>n</i></code></li> <li>Hi ha dos paràmetres més, <code>v_size_map</code> i <code>v_stroke-width_4</code> que permeten canviar la mida del mapa (per defecte és 150x150 px) i el gruix de la línia del <i>geomask</i>.</li></ul></div><div id="documentation-meta-data" class="template-documentation plainlinks" style="font-style: italic; padding: 0 1em;"> La <a href="/wiki/Viquip%C3%A8dia:Documentaci%C3%B3_de_plantilles" title="Viquipèdia:Documentació de plantilles">documentació</a> de més amunt està transclosa de <a href="/wiki/Plantilla:Two_maps_block/Build_map/%C3%BAs" title="Plantilla:Two maps block/Build map/ús">Plantilla:Two maps block/Build map/ús</a>. <small style="font-style: normal">(<a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=edit">modifica</a> | <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map/%C3%BAs&action=history">historial</a>)</small> <br />Els editors poden fer <a href="/wiki/Viquip%C3%A8dia:Proves_de_plantilles" title="Viquipèdia:Proves de plantilles">proves amb aquesta plantilla</a> al seu espai de proves <small style="font-style: normal">(<a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Especial:Mypage/proves/Plantilla:Two_maps_block/Build_map&action=edit&preload=Plantilla%3ATwo+maps+block%2FBuild+map&summary=Versi%C3%B3+per+a+proves+de+%5B%5BPlantilla%3ATwo+maps+block%2FBuild+map%5D%5D&editintro=Plantilla%3A%C3%9As+de+la+plantilla%2Fav%C3%ADs+d%27edici%C3%B3">crea</a> | <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Especial:Mypage/proves/Plantilla:Two_maps_block/Build_map&action=edit">modifica</a>)</small><br />Afegiu categories en la subpàgina <a href="/wiki/Plantilla:Two_maps_block/Build_map/%C3%BAs" title="Plantilla:Two maps block/Build map/ús">/ús</a>. Vegeu les <a href="/wiki/Especial:Cerca_per_prefix/Plantilla:Two_maps_block/Build_map/" title="Especial:Cerca per prefix/Plantilla:Two maps block/Build map/">subpàgines d'aquesta plantilla</a>, <a class="external text" href="https://iw.toolforge.org/templatetiger/template-parameter.php?template=Two_maps_block/Build_map&lang=cawiki">utilització de paràmetres</a>.</div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐6dfcdd5ff5‐ddgk9 Cached time: 20241203225051 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1] CPU time usage: 0.117 seconds Real time usage: 0.152 seconds Preprocessor visited node count: 820/1000000 Post‐expand include size: 42077/2097152 bytes Template argument size: 1121/2097152 bytes Highest expansion depth: 15/100 Expensive parser function count: 2/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 3973/5000000 bytes Lua time usage: 0.052/10.000 seconds Lua memory usage: 1168960/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 135.370 1 -total 41.38% 56.022 2 Plantilla:Left 31.84% 43.099 1 Plantilla:Munta_mapa 30.13% 40.791 1 Plantilla:If_both 29.97% 40.571 1 Plantilla:Documentation 28.41% 38.464 1 Plantilla:Avís 27.50% 37.224 1 Plantilla:Metacaixa_d'avís 25.23% 34.150 1 Plantilla:Metacaixa_d'avís_projecte 24.29% 32.878 1 Plantilla:Metacaixa_d'avís_projecte/core 12.32% 16.676 1 Plantilla:Two_maps_block/Build_map/ús --> <!-- Saved in parser cache with key cawiki:pcache:2049568:|#|:idhash:canonical and timestamp 20241203225051 and revision id 34028864. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Obtingut de «<a dir="ltr" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map&oldid=34028864">https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map&oldid=34028864</a>»</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Especial:Categorias" title="Especial:Categorias">Categoria</a>: <ul><li><a href="/wiki/Categoria:Plantilles_de_mapes" title="Categoria:Plantilles de mapes">Plantilles de mapes</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Categoria oculta: <ul><li><a href="/wiki/Categoria:Articles_mancats_de_coordenades" title="Categoria:Articles mancats de coordenades">Articles mancats de coordenades</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> La pàgina va ser modificada per darrera vegada el 26 set 2024 a les 12:28.</li> <li id="footer-info-copyright">El text està disponible sota la <a href="/wiki/Viquip%C3%A8dia:Text_de_la_llic%C3%A8ncia_de_Creative_Commons_Reconeixement-Compartir_Igual_4.0_No_adaptada" title="Viquipèdia:Text de la llicència de Creative Commons Reconeixement-Compartir Igual 4.0 No adaptada"> Llicència de Creative Commons Reconeixement i Compartir-Igual</a>; es poden aplicar termes addicionals. Vegeu les <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use/ca">Condicions d'ús</a>. Wikipedia® (Viquipèdia™) és una <a href="/wiki/Marca_comercial" title="Marca comercial">marca registrada</a> de <a rel="nofollow" class="external text" href="https://www.wikimediafoundation.org">Wikimedia Foundation, Inc</a>.<br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Política de privadesa</a></li> <li id="footer-places-about"><a href="/wiki/Viquip%C3%A8dia:Quant_a_la_Viquip%C3%A8dia">Quant al projecte Viquipèdia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Viquip%C3%A8dia:Av%C3%ADs_d%27exempci%C3%B3_de_responsabilitat">Descàrrec de responsabilitat</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Codi de conducta</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Desenvolupadors</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/ca.wikipedia.org">Estadístiques</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Declaració de cookies</a></li> <li id="footer-places-mobileview"><a href="//ca.m.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/Build_map&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Versió per a mòbils</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-6dfcdd5ff5-ddgk9","wgBackendResponseTime":281,"wgPageParseReport":{"limitreport":{"cputime":"0.117","walltime":"0.152","ppvisitednodes":{"value":820,"limit":1000000},"postexpandincludesize":{"value":42077,"limit":2097152},"templateargumentsize":{"value":1121,"limit":2097152},"expansiondepth":{"value":15,"limit":100},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":3973,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 135.370 1 -total"," 41.38% 56.022 2 Plantilla:Left"," 31.84% 43.099 1 Plantilla:Munta_mapa"," 30.13% 40.791 1 Plantilla:If_both"," 29.97% 40.571 1 Plantilla:Documentation"," 28.41% 38.464 1 Plantilla:Avís"," 27.50% 37.224 1 Plantilla:Metacaixa_d'avís"," 25.23% 34.150 1 Plantilla:Metacaixa_d'avís_projecte"," 24.29% 32.878 1 Plantilla:Metacaixa_d'avís_projecte/core"," 12.32% 16.676 1 Plantilla:Two_maps_block/Build_map/ús"]},"scribunto":{"limitreport-timeusage":{"value":"0.052","limit":"10.000"},"limitreport-memusage":{"value":1168960,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-6dfcdd5ff5-ddgk9","timestamp":"20241203225051","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>