CINXE.COM

Vide 'a sorgende pe Modulo:Mappa di localizzazione - Wikipedia

<!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-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available" lang="nap-x-tara" dir="ltr"> <head> <meta charset="UTF-8"> <title>Vide 'a sorgende pe Modulo:Mappa di localizzazione - Wikipedia</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-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )roa_tarawikimwclientpreferences=([^;]+)/);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":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"f8ffb1f1-13c8-4b1a-88c9-0b7daaa135ef","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"Modulo:Mappa_di_localizzazione","wgTitle":"Mappa di localizzazione","wgCurRevisionId":146177,"wgRevisionId":0,"wgArticleId":19538,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"Modulo:Mappa_di_localizzazione","wgRelevantArticleId":19538,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["autoconfirmed"],"wgRestrictionMove":["autoconfirmed"],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true, "wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgCodeEditorCurrentLanguage":"lua","wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false,"wgSiteNoticeId":"2.0"};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready", "ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.codeEditor.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.charinsert.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["ext.codeEditor","ext.scribunto.edit","mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.urlShortener.toolbar","ext.centralauth.centralautologin","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","ext.checkUser.clientHints","wikibase.sidebar.tracking","ext.dismissableSiteNotice"] ;</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=roa-tara&amp;modules=ext.charinsert.styles%7Cext.codeEditor.styles%7Cext.dismissableSiteNotice.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=roa-tara&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=roa-tara&amp;modules=site.styles&amp;only=styles&amp;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="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Vide &#039;a sorgende pe Modulo:Mappa di localizzazione - Wikipedia"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//roa-tara.m.wikipedia.org/wiki/Modulo:Mappa_di_localizzazione"> <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="Wikipedia (roa-tara)"> <link rel="EditURI" type="application/rsd+xml" href="//roa-tara.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://roa-tara.wikipedia.org/wiki/Modulo:Mappa_di_localizzazione"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.roa-tara"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom Feed" href="/w/index.php?title=Speciale:UrtemeCangiaminde&amp;feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="codeeditor-loading skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-828 ns-subject page-Modulo_Mappa_di_localizzazione rootpage-Modulo_Mappa_di_localizzazione skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">Zumbe a &#039;u condenute</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="Sito"> <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="Menu prengepàle" > <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">Menu prengepàle</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">Menu prengepàle</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">sposta nella barra laterale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">scunne</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Naveghesce </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Pagene_Prengep%C3%A1le" title="Visite &#039;a pàgena prengepàle [z]" accesskey="z"><span>Pàgene Prengepàle</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Speciale:UrtemeCangiaminde" title="&#039;A liste de le cangiaminde recende jndr&#039;à uicchi. [r]" accesskey="r"><span>Urteme cangiaminde</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Speciale:PaginaCasuale" title="Careche &#039;na pàgene a uecchje [x]" accesskey="x"><span>'Na pàgene 'a uecchje</span></a></li><li id="n-nearby-pages-title" class="mw-list-item"><a href="/wiki/Speciale:NelleVicinanze"><span>Jndr'à le vicinanze</span></a></li><li id="n-help" class="mw-list-item"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" title="&#039;Nu poste da scuprì"><span>Vuè 'na màne?</span></a></li> </ul> </div> </div> <div id="p-Communitate" class="vector-menu mw-portlet mw-portlet-Communitate" > <div class="vector-menu-heading"> Communitate </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Portale_d%27a_Comunitate" title="Parkanne d&#039;u proggette, ce puà fà, addò puè acchjà le cose."><span>Purtale d'a communitate</span></a></li><li id="n-wikipediano" class="mw-list-item"><a href="/wiki/Wikipedia:Uicchip%C3%A8diane"><span>'U Uicchipèdiane</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Pagene_Prengep%C3%A1le" 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="Uicchipèdie" src="/static/images/mobile/copyright/wikipedia-wordmark-roa_tara.svg" style="width: 7.5em; height: 1.1875em;"> <img class="mw-logo-tagline" alt="" src="/static/images/mobile/copyright/wikipedia-tagline-roa_tara.svg" width="120" height="13" style="width: 7.5em; height: 0.8125em;"> </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/Speciale:Ricerca" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Cirche Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Cirche</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="Cirche Wikipedia" aria-label="Cirche Wikipedia" autocapitalize="sentences" title="Cirche Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Speciale:Ricerca"> </div> <button class="cdx-button cdx-search-input__end-button">Cirche</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Struminde personele"> <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="Aspetto"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Modifica la dimensione, la larghezza e il colore del testo" > <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="Aspetto" > <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">Aspetto</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&amp;utm_medium=sidebar&amp;utm_campaign=C13_roa-tara.wikipedia.org&amp;uselang=roa-tara" class=""><span>Done</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=Speciale:CreaUtenza&amp;returnto=Modulo%3AMappa+di+localizzazione&amp;returntoquery=action%3Dedit" title="Te ste &#039;ngoragge pe ccrejà &#039;nu cunde e trasè; comungue, non g&#039;è obbligatorie" class=""><span>Ccreje &#039;nu cunde utende</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=Speciale:Entra&amp;returnto=Modulo%3AMappa+di+localizzazione&amp;returntoquery=action%3Dedit" title="Tu si &#039;ncoraggiete a cullegarte, jidde non g&#039;è &#039;n&#039;obblighe. [o]" accesskey="o" class=""><span>Tràse</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="Cchiù opziune" > <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="Struminde personele" > <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">Struminde personele</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menu utente" > <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&amp;utm_medium=sidebar&amp;utm_campaign=C13_roa-tara.wikipedia.org&amp;uselang=roa-tara"><span>Done</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciale:CreaUtenza&amp;returnto=Modulo%3AMappa+di+localizzazione&amp;returntoquery=action%3Dedit" title="Te ste &#039;ngoragge pe ccrejà &#039;nu cunde e trasè; comungue, non g&#039;è obbligatorie"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Ccreje 'nu cunde utende</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciale:Entra&amp;returnto=Modulo%3AMappa+di+localizzazione&amp;returntoquery=action%3Dedit" title="Tu si &#039;ncoraggiete a cullegarte, jidde non g&#039;è &#039;n&#039;obblighe. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Tràse</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àggene pe le cangiature non trasute <a href="/wiki/Aiuto:%27Ndroduzione" aria-label="&#039;Mbare de cchiù sus a le cangiaminde"><span>'mbare de cchiù</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/Speciale:MieiContributi" title="Un elenco delle modifiche fatte da questo indirizzo IP [y]" accesskey="y"><span>Condrebbute</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Speciale:MieDiscussioni" title="&#039;Ngazzamende sus a le cangiaminde da stu indirizze IP [n]" accesskey="n"><span>'Ngazzaminde</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"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E[\u003Ca tabindex=\"0\" role=\"button\"\u003Eachiude\u003C/a\u003E]\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"sitenotice\" lang=\"nap-x-tara\" dir=\"ltr\"\u003E\u003Cdiv class=\"noprint\" style=\"text-align:center; font-size:110%; line-height:1.4\"\u003EStàme a ccréje 'na \u003Ca href=\"/wiki/%27ngeclopedije\" class=\"mw-redirect\" title=\"\u0026#39;ngeclopedije\"\u003E'ngeclopedije\u003C/a\u003E \u003Ca href=\"/wiki/GNU_Free_Documentation_License\" title=\"GNU Free Documentation License\"\u003Elìbbere\u003C/a\u003E e \u003Ca href=\"https://meta.wikimedia.org/wiki/List_of_Wikipedias\" class=\"extiw\" title=\"meta:List of Wikipedias\"\u003Emmultelènghe\u003C/a\u003E addò cengàte pô scrìvere. Dànne 'na màne!\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></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="Sito"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">Vide 'a sorgende pe Modulo:Mappa di localizzazione</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="Questa voce esiste solo in questa lingua. Aggiungi la voce per altre lingue" > <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-0" 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">Aggiunge le lènghe</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespace"> <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-module" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Modulo:Mappa_di_localizzazione" title="Vedi la pagina del modulo [c]" accesskey="c"><span>Modulo</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Discussioni_modulo:Mappa_di_localizzazione&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="&#039;Ngazzaminde sus &#039;a pàgene de le condenute (non g&#039;esiste - addà essere scritte) [t]" accesskey="t"><span>'Ngazzaminde</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="Cange &#039;a variande d&#039;a lènghe" > <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">English</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="Visite"> <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="vector-tab-noicon mw-list-item"><a href="/wiki/Modulo:Mappa_di_localizzazione"><span>Ligge</span></a></li><li id="ca-viewsource" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modulo:Mappa_di_localizzazione&amp;action=edit" title="Sta pàgene jè prutette.&#10;Puè vedè sulamende &#039;u sorgende. [e]" accesskey="e"><span>'Ndruche 'a sorgende</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modulo:Mappa_di_localizzazione&amp;action=history" title="Versiune passete de sta pàgene [h]" accesskey="h"><span>Vide 'u cunde</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Strumenti pagine"> <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="Struminde" > <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">Struminde</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">Strumiende</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">sposta nella barra laterale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">scunne</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Altre opzioni" > <div class="vector-menu-heading"> Azioni </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/Modulo:Mappa_di_localizzazione"><span>Ligge</span></a></li><li id="ca-more-viewsource" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modulo:Mappa_di_localizzazione&amp;action=edit"><span>'Ndruche 'a sorgende</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modulo:Mappa_di_localizzazione&amp;action=history"><span>Vide 'u cunde</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Generale </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Speciale:PuntanoQui/Modulo:Mappa_di_localizzazione" title="Liste de tutte le pàggene de Uicchi ca appondene aqquà [j]" accesskey="j"><span>Appondene aqquà</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Speciale:ModificheCorrelate/Modulo:Mappa_di_localizzazione" rel="nofollow" title="Cangiaminde recende jndr&#039;à le pàggene appundete da sta pàgene [k]" accesskey="k"><span>Cangiaminde culleghete</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=roa-tara" title="Careche le file [u]" accesskey="u"><span>Careche 'u file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Speciale:PagineSpeciali" title="Liste de tutte le pàggene speciale [q]" accesskey="q"><span>Pàggene speciele</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Modulo:Mappa_di_localizzazione&amp;action=info" title="Cchiù &#039;mbormaziune sus a sta pàgene"><span>'Mbormaziune d'a pagene</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Speciale:UrlShortener&amp;url=https%3A%2F%2Froa-tara.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DModulo%3AMappa_di_localizzazione%26action%3Dedit"><span>Pigghie l'URL curte</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Speciale:QrCode&amp;url=https%3A%2F%2Froa-tara.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DModulo%3AMappa_di_localizzazione%26action%3Dedit"><span>Scarica codice QR</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"> Jndr&#039;à otre pruggette </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/Q15934920" title="Appuende a &#039;a vôsce de l&#039;archivije date collegate [g]" accesskey="g"><span>Vôsce de 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="Strumenti pagine"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Aspetto"> <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">Aspetto</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">sposta nella barra laterale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">scunne</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> <div id="contentSub"><div id="mw-content-subtitle">← <a href="/wiki/Modulo:Mappa_di_localizzazione" title="Modulo:Mappa di localizzazione">Modulo:Mappa di localizzazione</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>Tu non ge tine 'u permesse pe cange sta pàgene, pe ste mutive: </p> <ul class="permissions-errors"><li class="mw-permissionerror-protectedpagetext">Sta pàgene ha state prutette pe no fa fà cangiaminde o otre aziune a uecchje.</li><li class="mw-permissionerror-globalblocking-blockedtext-range"><b>Il tuo indirizzo IP è in un intervallo che è stato <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">bloccato su tutti i wiki della Wikimedia Foundation</a>.</b> Il blocco è stato eseguito da <a href="/wiki/Utente:Jon_Kolbert" title="Utente:Jon Kolbert">‪Jon Kolbert‬</a>. La motivazione fornita è <i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>. <ul><li>Inizio del blocco: 16:12, 27 Agú 2023</li> <li>Fine del blocco: 16:12, 27 Agú 2028</li></ul> Il tuo indirizzo IP attuale è 8.222.208.146. L'intervallo bloccato è 8.222.128.0/17. Pe piacere 'nglude tutte le dettaglie de sus jndr'à ogne inderrogazione ca tu face. Se ritieni di essere stato bloccato per errore, puoi trovare ulteriori informazioni e istruzioni nella policy globale <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">Niente proxy aperti</a>. Altrimenti, per discutere del blocco <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">inserisci una richiesta di riesame su Meta-Wiki</a>. Puoi anche inviare un'e-mail alla coda <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">stewards</a> <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a> all'indirizzo <kbd>stewards@wikimedia.org</kbd> includendo tutti i dettagli di cui sopra.</li></ul><hr /> <p>Tu puè 'ndrucà e cupià 'a sorgente de sta pàgene. </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">--[[ * Modulo che implementa le funzionalità dei template: * {{Mappe de localizzazione}}, {{Mappe de localizzazione~}} e {{Mappe de localizzazione+}}. * * Il modulo è stato importato da: * http://en.wikipedia.org/w/index.php?title=Module:Location_map&amp;oldid=656514684 ]] require('strict') local p = {} local getArgs = require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map, frame) if not map then error('Mappa non specificata', 2) end -- Gestione mappe tramite sottopagine del modulo, non utilizzato al momento in itwiki --[[ local moduletitle = mw.title.new('Modulo:Mappa di localizzazione/data/' .. map) if not moduletitle then error('"' .. map .. '" non è un nome di mappa valido', 2) elseif moduletitle.exists then local mapData = mw.loadData('Modulo:Mappa di localizzazione/data/' .. map) return function(name, params) if name == nil then return 'Modulo:Mappa di localizzazione/data/' .. map elseif mapData[name] == nil then return '' elseif params then return mw.message.newRawMessage(tostring(mapData[name]), unpack(params)):plain() else return mapData[name] end end ]]-- local maptitle = mw.title.new('Template:Mappe de localizzazione/' .. map) if not maptitle then error('"' .. map .. '" non è un nome di mappa valido', 2) elseif maptitle.exists then local cache = {} if type(frame) ~= 'table' or type(frame.expandTemplate) ~= 'function' then error('frame.expandTemplate non disponibile') end return function(name, params) if params then return frame:expandTemplate{title = 'Mappe de localizzazione/' .. map, args = { name, unpack(params) }} else if name == nil then return 'Template:Mappe de localizzazione/' .. map elseif cache[name] == nil then cache[name] = frame:expandTemplate{title = 'Mappe de localizzazione/' .. map, args = { name }} end return cache[name] end end else error('Mappe none disponibbele (' .. map .. ')', 2) end end --[[ -- non utilizzata in roa-tara.wiki function p.data(frame, args, map) if not args then args = getArgs(frame, {frameOnly = true}) end if not map then map = p.getMapParams(args[1], frame) end local params = {} for k,v in ipairs(args) do if k > 2 then params[k-2] = v end end return map(args[2], #params ~= 0 and params) end ]] local hemisphereMultipliers = { longitudine = { W = -1, w = -1, E = 1, e = 1 }, latitudine = { S = -1, s = -1, N = 1, n = 1 } } local function decdeg(degrees, minutes, seconds, hemisphere, decimal, direction) if decimal then if degrees then error('I gradi decimali e DMS non vanno utilizzati insieme per la ' .. direction, 2) elseif minutes then error('I minuti vanno utilizzati insieme ai gradi DMS per la ' .. direction, 2) elseif seconds then error('I secondi vanno utilizzati insieme ai gradi DMS per la ' .. direction, 2) elseif hemisphere then error('L\'emisfero va utilizzato insieme ai gradi DMS per la ' .. direction, 2) end local retval = tonumber(decimal) if retval then return retval end error('I gradi "' .. decimal .. '" di ' .. direction .. ' non sono validi', 2) elseif seconds and not minutes then error('I secondi di ' .. direction .. ' sono utilizzati senza i minuti', 2) elseif not degrees then if minutes then error('I minuti di ' .. direction .. ' sono utilizzati senza i gradi', 2) elseif hemisphere then error('L\'emisfero di ' .. direction .. ' è utilizzato senza i gradi', 2) end return nil end decimal = tonumber(degrees) if not decimal then error('I gradi "' .. degrees .. '" di ' .. direction .. ' non sono validi', 2) elseif minutes and not tonumber(minutes) then error('I minuti "' .. minutes .. '" di ' .. direction .. ' non sono validi', 2) elseif seconds and not tonumber(seconds) then error('I secondi "' .. seconds .. '" di ' .. direction .. ' non sono validi', 2) end decimal = decimal + (minutes or 0)/60 + (seconds or 0)/3600 if hemisphere then local multiplier = hemisphereMultipliers[direction][hemisphere] if not multiplier then error('L\'emisfero "' .. hemisphere .. '" di ' .. direction .. ' non è valido', 2) end decimal = decimal * multiplier end return decimal end -- effectively make removeBlanks false for caption and maplink, and true for everything else -- if useWikidata is present but blank, convert it to false instead of nil -- p.top, p.bottom, and their callers need to use this function p.valueFunc(key, value) if value then value = mw.text.trim(value) end if value ~= '' or key == 'caption' or key == 'maplink' then return value elseif key == 'useWikidata' then return false end end local function getContainerImage(args, map) if args.AlternativeMap then return args.AlternativeMap elseif (args.relief or args.fisica) and map('image1') ~= '' then return map('image1') else return map('image') end end local function getWidth(args, map) local width = args.width or 240 return (tonumber(args.max_height) and tonumber(map('ratio'))) and math.min(tonumber(width), round(tonumber(args.max_height) / tonumber(map('ratio')))) or width end function p.top(frame, args, map) if not args then args = getArgs(frame, {frameOnly = true, valueFunc = p.valueFunc}) end if not map then map = p.getMapParams(args[1], frame) end -- it.wiki ha in più il parametro max_height nel template e ratio nelle mappe local width = getWidth(args, map) --[[ if not args.width then width = round((args.default_width or 240) * (tonumber(map('defaultscale')) or 1)) elseif mw.ustring.sub(args.width, -2) == 'px' then width = mw.ustring.sub(args.width, 1, -3) else width = args.width end ]] local retval = args.float == 'center' and '&lt;div class="center">' or '' if args.caption and args.caption ~= '' then retval = retval .. '&lt;div class="noviewer thumb ' if args.float == '"left"' or args.float == 'left' then retval = retval .. 'tleft' elseif args.float == '"center"' or args.float == 'center' or args.float == '"none"' or args.float == 'none' then retval = retval .. 'tnone' else retval = retval .. 'tright' end retval = retval .. '">&lt;div class="thumbinner" style="width:' .. (width + 2) .. 'px' if args.border == 'none' then retval = retval .. ';border:none' elseif args.border then retval = retval .. ';border-color:' .. args.border end retval = retval .. '">&lt;div style="position:relative;width:' .. width .. 'px' .. (args.border ~= 'none' and ';border:1px solid lightgray">' or '">') else retval = retval .. '&lt;div style="width:' .. width .. 'px;' if args.float == '"left"' or args.float == 'left' then retval = retval .. 'float:left;clear:left' elseif args.float == '"center"' or args.float == 'center' then retval = retval .. 'float:none;clear:both;margin-left:auto;margin-right:auto' elseif args.float == '"none"' or args.float == 'none' then retval = retval .. 'float:none;clear:none' else retval = retval .. 'float:right;clear:right' end retval = retval .. '">&lt;div style="width:' .. width .. 'px;padding:0">&lt;div style="position:relative;width:' .. width .. 'px">' end local image = getContainerImage(args, map) retval = string.format( '%s[[File:%s|%spx|%s|link=%s]]', retval, image, width, args.alt or 'Mappe de localizzazione: ' .. map('name'), args.maplink or '' ) if args.overlay_image then return retval .. '&lt;div style="position:absolute;top:0;left:0">[[File:' .. args.overlay_image .. '|' .. width .. 'px]]&lt;/div>' else return retval end end function p.bottom(frame, args, map) if not args then args = getArgs(frame, {frameOnly = true, valueFunc = p.valueFunc}) end if not map then map = p.getMapParams(args[1], frame) end local retval = '&lt;/div>' if not args.caption then retval = retval .. '&lt;div style="font-size:90%;padding-top:3px">' .. ((args.label or mw.title.getCurrentTitle().text) .. ' (' .. map('name') .. ')') .. '&lt;/div>' elseif args.caption ~= '' then -- This is not the pipe trick. We're creating a link with no text on purpose, so that CSS can give us a nice image retval = retval .. '&lt;div class="thumbcaption">&lt;div class="magnify">[[:File:' .. getContainerImage(args, map) .. '| ]]&lt;/div>' .. args.caption .. '&lt;/div>' end --[[ -- Switcher non utilizzato in it.wiki if args.switcherLabel then retval = retval .. '&lt;span class="switcher-label" style="display:none">' .. args.switcherLabel .. '&lt;/span>' elseif args.autoSwitcherLabel then retval = retval .. '&lt;span class="switcher-label" style="display:none">Show map of ' .. map('name') .. '&lt;/span>' end ]] retval = retval .. '&lt;/div>&lt;/div>' --[[ -- Parametro non esistente in it.wiki if args.caption_undefined then mw.log('Removed parameter caption_undefined used.') local parent = frame:getParent() if parent then mw.log('Parent is ' .. parent:getTitle()) end mw.logObject(args, 'args') retval = retval .. '[ [Category:Location maps with possible errors|Page using removed parameter] ]' end ]] if args.float == 'center' then retval = retval .. '&lt;/div>' end return retval end local function markOuterDiv(x, y, imageDiv, labelDiv) return mw.html.create('div') :cssText('position:absolute;top:' .. round(y, 3) .. '%;left:' .. round(x, 3) .. '%;height:0;width:0;margin:0;padding:0') :node(imageDiv) :node(labelDiv) end local function markImageDiv(mark, marksize, label, link, alt, title) local builder = mw.html.create('div') :cssText('position:absolute;text-align:center;left:-' .. round(marksize / 2) .. 'px;top:-' .. round(marksize / 2) .. 'px;width:' .. marksize .. 'px;font-size:' .. marksize .. 'px;line-height:0') :attr('title', title) if marksize ~= 0 then builder:wikitext(string.format( '[[File:%s|%dx%dpx|%s|link=%s%s]]', mark, marksize, marksize, label, link, alt and ('|alt=' .. alt) or '' )) end return builder end local function markLabelDiv(label, label_size, label_width, position, background, x, marksize) local builder = mw.html.create('div') :cssText('font-size:' .. label_size .. '%;line-height:110%;position:absolute;width:' .. label_width .. 'em') local distance = round(marksize / 2 + 1) local spanCss if position == 'top' then -- specified top builder:cssText('bottom:' .. distance .. 'px;left:' .. (-label_width / 2) .. 'em;text-align:center') elseif position == 'bottom' then -- specified bottom builder:cssText('top:' .. distance .. 'px;left:' .. (-label_width / 2) .. 'em;text-align:center') elseif position == 'topleft' then builder:cssText('bottom:' .. distance .. 'px;right:' .. distance .. 'px;text-align:right') spanCss = 'float:right' elseif position == 'topright' then builder:cssText('bottom:' .. distance .. 'px;left:' .. distance .. 'px;text-align:left') spanCss = 'float:left' elseif position == 'bottomleft' then builder:cssText('top:' .. distance .. 'px;right:' .. distance .. 'px;text-align:right') spanCss = 'float:right' elseif position == 'bottomright' then builder:cssText('top:' .. distance .. 'px;left:' .. distance .. 'px;text-align:left') spanCss = 'float:left' elseif position == 'left' or (tonumber(x) > 70 and position ~= 'right') then -- specified left or autodetected to left builder:cssText('top:-0.75em;right:' .. distance .. 'px;text-align:right') spanCss = 'float:right' else -- specified right or autodetected to right builder:cssText('top:-0.75em;left:' .. distance .. 'px;text-align:left') spanCss = 'float:left' end builder = builder:tag('span') :cssText('padding:1px') :cssText(spanCss) :wikitext(label) if background then builder:cssText('background-color:' .. background) end return builder:done() end local function getX(longitude, left, right) local width = (right - left) % 360 if width == 0 then width = 360 end local distanceFromLeft = (longitude - left) % 360 -- the distance needed past the map to the right equals distanceFromLeft - width. the distance needed past the map to the left equals 360 - distanceFromLeft. to minimize page stretching, go whichever way is shorter if distanceFromLeft - width / 2 >= 180 then distanceFromLeft = distanceFromLeft - 360 end return 100 * distanceFromLeft / width end local function getY(latitude, top, bottom) return 100 * (top - latitude) / (top - bottom) end -- Collegamento a servizio cartografico esterno -- Per ora usa openstreetmap.org. Livelli di zoom disponibili: http://wiki.openstreetmap.org/wiki/Zoom_levels local function getLink(lat, lon, map) local ampiezza, fascia, zoom if map('top') == '' then zoom = 5 -- Se non ha gli estremi della mappa (mappe di tipo X/Y) usa un valore medio else ampiezza = math.max(map('top') - map('bottom'), map('right') - map('left')) fascia = 180 zoom = 1 while ampiezza &lt; fascia do zoom = zoom + 1 fascia = fascia / 2 end end return 'http://www.openstreetmap.org/?mlat=' .. lat .. '&amp;mlon=' .. lon .. '&amp;zoom=' .. zoom end local function mark(frame, args, map) if not args then args = getArgs(frame, {wrappers = 'Template:Mappe de localizzazione~'}) end if not map then map = p.getMapParams(args[1], frame) end -- nomi parametri in it.wiki args.lat_deg = args.lat_deg or args.latitudineGradi args.lat_min = args.lat_min or args.latitudinePrimi args.lat_sec = args.lat_sec or args.latitudineSecondi args.lat_dir = args.lat_dir or args.latitudineNS args.lon_deg = args.lon_deg or args.longitudineGradi args.lon_min = args.lon_min or args.longitudinePrimi args.lon_sec = args.lon_sec or args.longitudineSecondi args.lon_dir = args.lon_dir or args.longitudineEW local x, y, longitude, latitude longitude = decdeg(args.lon_deg, args.lon_min, args.lon_sec, args.lon_dir, args.long, 'longitudine') latitude = decdeg(args.lat_deg, args.lat_min, args.lat_sec, args.lat_dir, args.lat, 'latitudine') if not longitude and not latitude and args.useWikidata then -- If they didn't provide either coordinate, try Wikidata. If they provided one but not the other, don't. local entity = mw.wikibase.getEntity() if entity and entity.claims and entity.claims.P625 and entity.claims.P625[1].mainsnak.snaktype == 'value' then local value = entity.claims.P625[1].mainsnak.datavalue.value longitude, latitude = value.longitude, value.latitude end end if not longitude then error('Longitudine non specificata') end if not latitude then error('Latitudine non specificata') end local builder = mw.html.create() --[[ -- Categorie non esistenti in it.wiki if (not args.lon_deg) ~= (not args.lat_deg) then builder:wikitext('[ [Category:Location maps with different longitude and latitude precisions|Degrees] ]') elseif (not args.lon_min) ~= (not args.lat_min) then builder:wikitext('[ [Category:Location maps with different longitude and latitude precisions|Minutes] ]') elseif (not args.lon_sec) ~= (not args.lat_sec) then builder:wikitext('[ [Category:Location maps with different longitude and latitude precisions|Seconds] ]') elseif (not args.lon_dir) ~= (not args.lat_dir) then builder:wikitext('[ [Category:Location maps with different longitude and latitude precisions|Hemisphere] ]') elseif (not args.long) ~= (not args.lat) then builder:wikitext('[ [Category:Location maps with different longitude and latitude precisions|Decimal] ]') end ]]-- --[[ -- Parametri non esistenti in it.wiki o obsoleti if args.skew or args.lon_shift or args.markhigh then mw.log('Removed parameter used in invocation.') local parent = frame:getParent() if parent then mw.log('Parent is ' .. parent:getTitle()) end mw.logObject(args, 'args') builder:wikitext('[ [Category:Location maps with possible errors|Page using removed parameter] ]') end if map('skew') ~= '' or map('lat_skew') ~= '' or map('crosses180') ~= '' or map('type') ~= '' then mw.log('Removed parameter used in map definition ' .. map()) builder:wikitext('[ [Category:Location maps with possible errors|Map using removed parameter] ]') end ]] if map('x') ~= '' then x = tonumber(mw.ext.ParserFunctions.expr(map('x', { latitude, longitude }))) else x = tonumber(getX(longitude, map('left'), map('right'))) end if map('y') ~= '' then y = tonumber(mw.ext.ParserFunctions.expr(map('y', { latitude, longitude }))) else y = tonumber(getY(latitude, map('top'), map('bottom'))) end if (x &lt; 0 or x > 100 or y &lt; 0 or y > 100) and not args.outside then error('Coordinate al di fuori della mappa') --[[ -- in it.wiki non c'è la categoria mw.log('Mark placed outside map boundaries without outside flag set. x = ' .. x .. ', y = ' .. y) local parent = frame:getParent() if parent then mw.log('Parent is ' .. parent:getTitle()) end mw.logObject(args, 'args') builder:wikitext('[ [Category:Location maps with possible errors|Outside flag not set with mark outside map] ]') ]] end local mark = args.mark or map('mark') if mark == '' then mark = 'Red pog.svg' end local marksize = tonumber(args.marksize) or tonumber(map('marksize')) or 8 if args.link == nil then args.link = getLink(latitude, longitude, map) end local imageDiv = markImageDiv(mark, marksize, args.label or mw.title.getCurrentTitle().text, args.link or '', args.alt, args[2]) local labelDiv if args.label and args.position ~= 'none' then labelDiv = markLabelDiv(args.label, args.label_size or 90, args.label_width or 6, args.position, args.background, x, marksize) end return builder:node(markOuterDiv(x, y, imageDiv, labelDiv)) end local function container(frame, args, map) if not args then args = getArgs(frame, {wrappers = 'Template:Mappe de localizzazione+', valueFunc = p.valueFunc}) end if not map then map = p.getMapParams(args[1], frame) end return p.top(frame, args, map) .. (args.places or '') .. p.bottom(frame, args, map) end local function main(frame, args, map) if not args then args = getArgs(frame, {wrappers = 'Template:Mappe de localizzazione', valueFunc = p.valueFunc}) end if args.useWikidata == nil then args.useWikidata = true end if not map then map = p.getMapParams(args[1], frame) end -- il parametro "sinottico" serve a impostare dei valori dei parametri e dei default -- adatti all'utilizzo della mappa di localizzazione in un sinottico if args.sinottico then args.position = 'center' args.float = 'center' args.caption = '' args.width = args.width or 260 args.max_height = args.max_height or 400 end return p.top(frame, args, map) .. tostring( mark(frame, args, map) ) .. p.bottom(frame, args, map) end -- Error handler per xpcall, formatta l'errore e aggiunge la categoria local function errhandler(msg) local errmsg = msg:match(': (.+)$') local args = mw.getCurrentFrame():getParent().args local cat = '' local cat2 = '' if args.noerr then cat2 = ' - errore nascosto' end if mw.title.getCurrentTitle().namespace == 0 then if errmsg:match('^Mappe none disponibbele') or errmsg:match('none jè nu nome de mappe valide$') then cat = '[[Categoria:Paggène cu mappe de localizzazione none esistende' .. cat2 .. ']]' elseif errmsg == 'Coordinate al di fuori della mappa' then cat = (args.cat_fuorimappa and args.cat_fuorimappa ~= '') and string.format('[[Categoria:%s]]', args.cat_fuorimappa) or ('[[Categoria:Pagine con coordinate al di fuori della mappa di localizzazione' .. cat2 .. ']]') else cat = '[[Categoria:Errori di compilazione del template Mappa di localizzazione' .. cat2 .. ']]' end end return args.noerr and cat or string.format('&lt;div class="toccolours error" style="width:200px; text-align:center; margin-left:auto; margin-right:auto;">%s&lt;/div>%s', errmsg, cat) end ------------------------------------------------------------------------------- -- API ------------------------------------------------------------------------------- -- Rispetto alla versione originaria di en.wiki, in it.wiki gli entry-point -- sono chiamati tramite xpcall per intercettare le eccezioni, così da -- non categorizzare nella generica [[:Categoria:Pagine con errori di script]] -- ma in categorie specifiche e poter formattare l'errore. -- Entry-point per {{Mappe de localizzazione~}} function p.mark(frame, args, map) return select(2, xpcall(function() return mark(frame, args, map) end, errhandler)) end -- Entry-point per {{Mappe de localizzazione+}} -- Nota: unito da [[:en:Module:Location map/multi]] in quanto il resto del modulo serviva per [[:en:Template:Location map many]] non presente in it.wiki function p.container(frame, args, map) return select(2, xpcall(function() return container(frame, args, map) end, errhandler)) end -- Entry-point per {{Mappe de localizzazione}} function p.main(frame, args, map) return select(2, xpcall(function() return main(frame, args, map) end, errhandler)) end return p </textarea><div id="mw-scribunto-console"></div><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>Template ausate sus 'a sta pàgene: </p></div><ul> <li><a href="/wiki/Template:," title="Template:,">Template:,</a> (<a href="/w/index.php?title=Template:,&amp;action=edit" title="Template:,">vide &#039;u sorgende</a>) (mmienze protette)</li><li><a href="/wiki/Template:Big" title="Template:Big">Template:Big</a> (<a href="/w/index.php?title=Template:Big&amp;action=edit" title="Template:Big">cange</a>) </li><li><a href="/wiki/Template:Man/styles.css" title="Template:Man/styles.css">Template:Man/styles.css</a> (<a href="/w/index.php?title=Template:Man/styles.css&amp;action=edit" title="Template:Man/styles.css">vide &#039;u sorgende</a>) (mmienze protette)</li><li><a href="/wiki/Template:Man_modulo" title="Template:Man modulo">Template:Man modulo</a> (<a href="/w/index.php?title=Template:Man_modulo&amp;action=edit" title="Template:Man modulo">vide &#039;u sorgende</a>) (mmienze protette)</li><li><a href="/wiki/Template:Protetta" class="mw-redirect" title="Template:Protetta">Template:Protetta</a> (<a href="/w/index.php?title=Template:Protetta&amp;action=edit" class="mw-redirect" title="Template:Protetta">cange</a>) </li><li><a href="/wiki/Template:Prutette" title="Template:Prutette">Template:Prutette</a> (<a href="/w/index.php?title=Template:Prutette&amp;action=edit" title="Template:Prutette">vide &#039;u sorgende</a>) (mmienze protette)</li><li><a href="/wiki/Template:Tl" title="Template:Tl">Template:Tl</a> (<a href="/w/index.php?title=Template:Tl&amp;action=edit" title="Template:Tl">cange</a>) </li><li><a href="/wiki/Template:%C2%B7" class="mw-redirect" title="Template:·">Template:·</a> (<a href="/w/index.php?title=Template:%C2%B7&amp;action=edit" class="mw-redirect" title="Template:·">cange</a>) </li><li><a href="/wiki/Modulo:Arguments" title="Modulo:Arguments">Modulo:Arguments</a> (<a href="/w/index.php?title=Modulo:Arguments&amp;action=edit" title="Modulo:Arguments">vide &#039;u sorgende</a>) (mmienze protette)</li><li><a href="/wiki/Modulo:Mappa_di_localizzazione/man" title="Modulo:Mappa di localizzazione/man">Modulo:Mappa di localizzazione/man</a> (<a href="/w/index.php?title=Modulo:Mappa_di_localizzazione/man&amp;action=edit" title="Modulo:Mappa di localizzazione/man">cange</a>) </li><li><a href="/wiki/Modulo:Protezione" title="Modulo:Protezione">Modulo:Protezione</a> (<a href="/w/index.php?title=Modulo:Protezione&amp;action=edit" title="Modulo:Protezione">vide &#039;u sorgende</a>) (mmienze protette)</li><li><a href="/wiki/Modulo:Protezione/Configurazione" title="Modulo:Protezione/Configurazione">Modulo:Protezione/Configurazione</a> (<a href="/w/index.php?title=Modulo:Protezione/Configurazione&amp;action=edit" title="Modulo:Protezione/Configurazione">vide &#039;u sorgende</a>) (mmienze protette)</li></ul></div><p id="mw-returnto">Tuerne a <a href="/wiki/Modulo:Mappa_di_localizzazione" title="Modulo:Mappa di localizzazione">Modulo:Mappa di localizzazione</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&amp;useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Pigghjete da "<a dir="ltr" href="https://roa-tara.wikipedia.org/wiki/Modulo:Mappa_di_localizzazione">https://roa-tara.wikipedia.org/wiki/Modulo:Mappa_di_localizzazione</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy/it">Reghele p'a privacy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:Sus_a">Sus a Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:Scareca_uarrile">No ne sacce ninde</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Codece de Condotte</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Sviluppature</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/roa-tara.wikipedia.org">Statisteche</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Dichiarazione sus a le cookie</a></li> <li id="footer-places-mobileview"><a href="//roa-tara.m.wikipedia.org/w/index.php?title=Modulo:Mappa_di_localizzazione&amp;action=edit&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Viste d'u mobile</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-5857dfdcd6-z5mw4","wgBackendResponseTime":166,"wgPageParseReport":{"limitreport":{"cputime":"0.004","walltime":"0.005","ppvisitednodes":{"value":18,"limit":1000000},"postexpandincludesize":{"value":777,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":2,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 0.000 1 -total"]},"cachereport":{"origin":"mw-web.codfw.main-5857dfdcd6-z5mw4","timestamp":"20241203063553","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10