CINXE.COM

Plantilla:GetLabelFix - 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:GetLabelFix - 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":"93c63aab-46c3-49a9-8df3-61ddc9b9d470","wgCanonicalNamespace":"Template","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":10,"wgPageName":"Plantilla:GetLabelFix","wgTitle":"GetLabelFix","wgCurRevisionId":26138544,"wgRevisionId":26138544,"wgArticleId":1598496,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Plantilles de Wikidata"],"wgPageViewLanguage":"ca","wgPageContentLanguage":"ca","wgPageContentModel":"wikitext","wgRelevantPageName":"Plantilla:GetLabelFix","wgRelevantArticleId":1598496,"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":200,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q56056851","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","mediawiki.toc","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&amp;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&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=ca&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=ca&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <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:GetLabelFix - Viquipèdia, l&#039;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:GetLabelFix"> <link rel="alternate" type="application/x-wiki" title="Modifica" href="/w/index.php?title=Plantilla:GetLabelFix&amp;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:GetLabelFix"> <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&amp;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_GetLabelFix rootpage-Plantilla_GetLabelFix 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&#039;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&#039;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&#039;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&amp;utm_medium=sidebar&amp;utm_campaign=C13_ca.wikipedia.org&amp;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&amp;returnto=Plantilla%3AGetLabelFix" 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&amp;returnto=Plantilla%3AGetLabelFix" 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&#039;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&amp;utm_medium=sidebar&amp;utm_campaign=C13_ca.wikipedia.org&amp;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&amp;returnto=Plantilla%3AGetLabelFix" 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&amp;returnto=Plantilla%3AGetLabelFix" 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&#039;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&#039;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-Gestió_de_les_excepcions" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Gestió_de_les_excepcions"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Gestió de les excepcions</span> </div> </a> <ul id="toc-Gestió_de_les_excepcions-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> <button aria-controls="toc-Sintaxi-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Commuta la subsecció Sintaxi</span> </button> <ul id="toc-Sintaxi-sublist" class="vector-toc-list"> <li id="toc-Exemples" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Exemples"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>Exemples</span> </div> </a> <ul id="toc-Exemples-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Manteniment" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Manteniment"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Manteniment</span> </div> </a> <ul id="toc-Manteniment-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">GetLabelFix</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 17 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-17" 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">17 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-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D9%84%D8%A8:GetLabelFix" title="قالب:GetLabelFix - àrab" lang="ar" hreflang="ar" data-title="قالب:GetLabelFix" data-language-autonym="العربية" data-language-local-name="àrab" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/Plant%C3%ADa:GetLabelFix" title="Plantía:GetLabelFix - asturià" lang="ast" hreflang="ast" data-title="Plantía:GetLabelFix" data-language-autonym="Asturianu" data-language-local-name="asturià" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-ban mw-list-item"><a href="https://ban.wikipedia.org/wiki/Mal:GetLabelFix" title="Mal:GetLabelFix - balinès" lang="ban" hreflang="ban" data-title="Mal:GetLabelFix" data-language-autonym="Basa Bali" data-language-local-name="balinès" class="interlanguage-link-target"><span>Basa Bali</span></a></li><li class="interlanguage-link interwiki-bjn mw-list-item"><a href="https://bjn.wikipedia.org/wiki/Citakan:GetLabelFix" title="Citakan:GetLabelFix - Banjar" lang="bjn" hreflang="bjn" data-title="Citakan:GetLabelFix" data-language-autonym="Banjar" data-language-local-name="Banjar" class="interlanguage-link-target"><span>Banjar</span></a></li><li class="interlanguage-link interwiki-dag mw-list-item"><a href="https://dag.wikipedia.org/wiki/T%C9%9Bmplet:GetLabelFix" title="Tɛmplet:GetLabelFix - Dagbani" lang="dag" hreflang="dag" data-title="Tɛmplet:GetLabelFix" data-language-autonym="Dagbanli" data-language-local-name="Dagbani" class="interlanguage-link-target"><span>Dagbanli</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/%C5%9Cablono:GetLabelFix" title="Ŝablono:GetLabelFix - esperanto" lang="eo" hreflang="eo" data-title="Ŝablono:GetLabelFix" data-language-autonym="Esperanto" data-language-local-name="esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Txantiloi:GetLabelFix" title="Txantiloi:GetLabelFix - basc" lang="eu" hreflang="eu" data-title="Txantiloi:GetLabelFix" data-language-autonym="Euskara" data-language-local-name="basc" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/Teimpl%C3%A9ad:GetLabelFix" title="Teimpléad:GetLabelFix - irlandès" lang="ga" hreflang="ga" data-title="Teimpléad:GetLabelFix" 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:GetLabelFix" title="Modelo:GetLabelFix - gallec" lang="gl" hreflang="gl" data-title="Modelo:GetLabelFix" data-language-autonym="Galego" data-language-local-name="gallec" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-guc mw-list-item"><a href="https://guc.wikipedia.org/wiki/Anouktia_sukua%27ipa:GetLabelFix" title="Anouktia sukua&#039;ipa:GetLabelFix - wayú" lang="guc" hreflang="guc" data-title="Anouktia sukua&#039;ipa:GetLabelFix" data-language-autonym="Wayuunaiki" data-language-local-name="wayú" class="interlanguage-link-target"><span>Wayuunaiki</span></a></li><li class="interlanguage-link interwiki-gv mw-list-item"><a href="https://gv.wikipedia.org/wiki/Clowan:GetLabelFix" title="Clowan:GetLabelFix - manx" lang="gv" hreflang="gv" data-title="Clowan:GetLabelFix" data-language-autonym="Gaelg" data-language-local-name="manx" class="interlanguage-link-target"><span>Gaelg</span></a></li><li class="interlanguage-link interwiki-ha mw-list-item"><a href="https://ha.wikipedia.org/wiki/Samfuri:GetLabelFix" title="Samfuri:GetLabelFix - haussa" lang="ha" hreflang="ha" data-title="Samfuri:GetLabelFix" data-language-autonym="Hausa" data-language-local-name="haussa" class="interlanguage-link-target"><span>Hausa</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Templat:GetLabelFix" title="Templat:GetLabelFix - indonesi" lang="id" hreflang="id" data-title="Templat:GetLabelFix" data-language-autonym="Bahasa Indonesia" data-language-local-name="indonesi" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-kab mw-list-item"><a href="https://kab.wikipedia.org/wiki/Tal%C9%A3a:GetLabelFix" title="Talɣa:GetLabelFix - cabilenc" lang="kab" hreflang="kab" data-title="Talɣa:GetLabelFix" data-language-autonym="Taqbaylit" data-language-local-name="cabilenc" class="interlanguage-link-target"><span>Taqbaylit</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Templat:GetLabelFix" title="Templat:GetLabelFix - malai" lang="ms" hreflang="ms" data-title="Templat:GetLabelFix" data-language-autonym="Bahasa Melayu" data-language-local-name="malai" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-oc mw-list-item"><a href="https://oc.wikipedia.org/wiki/Mod%C3%A8l:GetLabelFix" title="Modèl:GetLabelFix - occità" lang="oc" hreflang="oc" data-title="Modèl:GetLabelFix" data-language-autonym="Occitan" data-language-local-name="occità" class="interlanguage-link-target"><span>Occitan</span></a></li><li class="interlanguage-link interwiki-vec mw-list-item"><a href="https://vec.wikipedia.org/wiki/Mode%C5%82o:GetLabelFix" title="Modeło:GetLabelFix - vènet" lang="vec" hreflang="vec" data-title="Modeło:GetLabelFix" data-language-autonym="Vèneto" data-language-local-name="vènet" class="interlanguage-link-target"><span>Vèneto</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/Q56056851#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:GetLabelFix" title="Vegeu la plantilla [c]" accesskey="c"><span>Plantilla</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Plantilla_Discussi%C3%B3:GetLabelFix" rel="discussion" title="Discussió sobre el contingut d&#039;aquesta pàgina [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:GetLabelFix"><span>Mostra</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Plantilla:GetLabelFix&amp;action=edit" title="Modifica el codi font d&#039;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:GetLabelFix&amp;action=history" title="Versions antigues d&#039;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:GetLabelFix"><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:GetLabelFix&amp;action=edit" title="Modifica el codi font d&#039;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:GetLabelFix&amp;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:GetLabelFix" 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:GetLabelFix" rel="nofollow" title="Canvis recents a pàgines enllaçades des d&#039;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:GetLabelFix&amp;oldid=26138544" 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:GetLabelFix&amp;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&amp;url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FPlantilla%3AGetLabelFix"><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&amp;url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FPlantilla%3AGetLabelFix"><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&amp;page=Plantilla%3AGetLabelFix&amp;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&#039;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 class="wb-otherproject-link wb-otherproject-wikidata mw-list-item"><a href="https://www.wikidata.org/wiki/Template:GetLabelFix" hreflang="en"><span>Wikidata</span></a></li><li class="wb-otherproject-link wb-otherproject-wikisource mw-list-item"><a href="https://ca.wikisource.org/wiki/Plantilla:GetLabelFix" hreflang="ca"><span>Viquitexts</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q56056851" title="Enllaç a l&#039;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&#039;enciclopèdia lliure</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></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: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">&#8195;[ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;action=view">mostra</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;action=edit">modifica el codi</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;action=history">mostra l'historial</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:GetLabelFix&amp;action=purge">refresca</a> ]</span></div> <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-content" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Ambox_warning_orange.svg/40px-Ambox_warning_orange.svg.png" decoding="async" width="40" height="34" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Ambox_warning_orange.svg/60px-Ambox_warning_orange.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Ambox_warning_orange.svg/80px-Ambox_warning_orange.svg.png 2x" data-file-width="378" data-file-height="326" /></span></span></td><td class="mbox-text"><b>Aquesta plantilla és utilitzada en <span class="plainlinks"><a class="external text" href="http://tools.wmflabs.org/templatecount/index.php?lang=ca&amp;namespace=10&amp;name=GetLabelFix">més de 400000 pàgines</a>.</span></b><br />Per evitar la interrupció a gran escala i la innecessària càrrega del servidor, qualsevol canvi en aquesta plantilla primer hauria de ser provat en la subpàgina <a href="/wiki/Plantilla:GetLabelFix/proves" title="Plantilla:GetLabelFix/proves">/proves</a>, o en el vostre propi <a href="/wiki/Viquip%C3%A8dia:Proves_de_plantilles" title="Viquipèdia:Proves de plantilles">espai d'usuari</a>. Els canvis assajats després es poden afegir a aquesta pàgina en una sola edició. Si us plau: considereu discutir qualsevol canvi en la <a href="/wiki/Plantilla_Discussi%C3%B3:GetLabelFix" title="Plantilla Discussió:GetLabelFix">pàgina de discussió</a> abans d'implementar-los.</td></tr></tbody></table> <meta property="mw:PageProp/toc" /> <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:GetLabelFix/%C3%BAs&amp;action=edit&amp;section=T-1" title="Modifica la secció: Descripció"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Funció per recuperar els <b>labels</b> de propietats i items WD en la llengua determinada pel paràmetre <code class="nowrap">&#124;lang&#61;</code> per tal de posar-les a les etiquetes de les infotaules.<br /> El retorn té en compte la possible existència d'una excepció al text del label trobat a WD per un altre de més ajustat al que es vol mostrar com a etiqueta d'una infotaula. Per exemple, fer servir un text més curt, sigles o algun sinònim que expressi millor el contingut presentat.<br /> </p><p>Dins la llista d'excepcions s'inclouen també tots aquells textos que, sense tenir una propietat o ítem WD de referència, apareixen a la infotaula i són susceptibles de ser traduïts. Per exemple, els <i>headers</i>, les <i>etiquetes</i> de paràmetres manuals sense WD, o aquells textos que formen part de l'edició de resultats un cop s'han recuperat i tractat (ex.: conversió dels "No value" en un altre significat) <br /> </p><p>En tots dos casos -etiquetes i textos- es pot recuperar indicant el codi de propietat (Pnnnn), el codi d'un ítem la definició del qual s'ajusti al text que ens cal (Qnnnnn) o bé un text especial que gestionarem a la llista d'excepcions (Tnnn).<br /> </p> <div class="mw-heading mw-heading2"><h2 id="Gestió_de_les_excepcions"><span id="Gesti.C3.B3_de_les_excepcions"></span>Gestió de les excepcions</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;action=edit&amp;section=T-2" title="Modifica la secció: Gestió de les excepcions"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>La llista d'excepcions es defineix a <a href="/wiki/M%C3%B2dul:Wikidades/labels" title="Mòdul:Wikidades/labels">Mòdul:Wikidades/labels</a> dins l'apartat <code>infoboxLabelsFromId</code>.<br /> </p><p>Quan algun dels textos de tipus Pnnnn o Qnnnnn que ens retorna no s'ajusten al que esperàvem, per exemple, si el text que es mostra a la llengua que estem tractant és massa llarg o la redacció no és la més adient per a l'etiqueta d'infotaula, es podria solucionar: </p> <ul><li>modificant el label de la propietat/ítem directament a WD. Això no sempre és possible perquè podríem estar alterant el seu sentit i afectaríem a tots els usuaris d'aquest contingut.</li> <li>si no volem o no podem canviar el nom de la propietat/ítem a WD, és pot crear una excepció per aquell cas dins <a href="/wiki/M%C3%B2dul:Wikidades/labels" title="Mòdul:Wikidades/labels">Mòdul:Wikidades/labels</a> i s'aplicarà en substitució del text que ens subministraria WD, sense necessitat de modificar el codi de la infotaula.<br /></li></ul> <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:GetLabelFix/%C3%BAs&amp;action=edit&amp;section=T-3" title="Modifica la secció: Sintaxi"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <pre>{{GetLabelFix|&lt;codi&gt;|lang=&lt;llengua&gt;|linked=yes/no|case=gender/ucfirst,...|itemgender=&lt;itemgender&gt;}}</pre> <dl><dt>Parametres</dt></dl> <ul><li>el <b>primer</b> és posicional: Obligatori. Codi per obtenir el text a partir del label WD en la <code>llengua</code> corresponent. Pots ser: <ul><li><b>Pnnn</b>, per recuperar el label d'una propietat</li> <li><b>Qnnnnnn</b>, per recuperar el label d'un item WD</li> <li><b>Txxx</b>, per recuperar un text definit dins la llista d'excepcions que no prové de WD</li></ul></li> <li><b>lang</b>: opcional. Codi de llengua en que es vol recuperar el label definit en <code>codi</code>. Si no s'informe fa servir la llengua local.</li> <li><b>linked</b>: opcional. "yes" indica que el valor retornat serà un enllaç a l'article de la wiki local o, a l'item WD, cas de no existir article. Si no s'informa, retorna text sense enllaçar.</li> <li><b>case</b>: opcional. Mateixes funcions que s'apliquen a <i>claim</i> de <a href="/wiki/M%C3%B2dul:Wikidades#Paràmetres_generals" title="Mòdul:Wikidades">mòdul:Wikidades</a></li> <li><b>itemgender</b>: opcional. Mateixes funcions que s'apliquen a <i>claim</i> de <a href="/wiki/M%C3%B2dul:Wikidades#Paràmetres_generals" title="Mòdul:Wikidades">mòdul:Wikidades</a>.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Exemples">Exemples</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;action=edit&amp;section=T-4" title="Modifica la secció: Exemples"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><u>Casos basats en <a href="https://www.wikidata.org/wiki/Q37226" class="extiw" title="d:Q37226">Professor&#32;<small>(Q37226)</small></a></u> </p> <ul><li>cap paràmetre: Professor</li> <li>case=plural: Professors</li> <li>itemgender=Qid de dona: Professora</li> <li>case=plural + itemgender=Qid de dona: Professores</li> <li>link=yes: <a href="/wiki/Mestre_d%27escola" title="Mestre d&#39;escola">Professor</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Manteniment">Manteniment</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;action=edit&amp;section=T-5" title="Modifica la secció: Manteniment"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Diferents situacions: </p> <ul><li>Afegir un nou paràmetre (label + data) a la infotaula: <ul><li>Si es recupera un valor WD, simplement cal afegir una crida cap a aquesta plantilla posant com a paràmetre el codi de propietat/ítem del que volem recuperar el label.</li> <li>Si es tracta d'un text de tipus <b>Tnnn</b>, és a dir que no es recuperen de WD, cal fer una nova entrada a <a href="/wiki/M%C3%B2dul:Wikidades/labels" title="Mòdul:Wikidades/labels">Mòdul:Wikidades/labels</a> amb el següent codi "Tnnn" disponible i posar el text que vulguem pel <i>label</i>. A la Infotaula s'afegirà una crida a aquesta plantilla posant com a primer paràmetre el nou codi de "label" creat.</li></ul></li></ul> <ul><li>Crear una excepció per canviar el text resultant d'un crida amb codi tipus <b>Pnnn</b> o <b>Qnnnnn</b>: <ul><li>Afegir una entrada dins <a href="/wiki/M%C3%B2dul:Wikidades/labels" title="Mòdul:Wikidades/labels">Mòdul:Wikidades/labels</a> amb el mateix codi que volem reemplaçar per a què s'agafi el seu valor abans que el de WD.</li></ul></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:GetLabelFix/%C3%BAs" title="Plantilla:GetLabelFix/ús">Plantilla:GetLabelFix/ús</a>. <small style="font-style: normal">(<a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;action=edit">modifica</a> &#124; <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:GetLabelFix/%C3%BAs&amp;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:GetLabelFix&amp;action=edit&amp;preload=Plantilla%3AGetLabelFix&amp;summary=Versi%C3%B3+per+a+proves+de+%5B%5BPlantilla%3AGetLabelFix%5D%5D&amp;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:GetLabelFix&amp;action=edit">modifica</a>)</small><br />Afegiu categories en la subpàgina <a href="/wiki/Plantilla:GetLabelFix/%C3%BAs" title="Plantilla:GetLabelFix/ús">/ús</a>.&#32;Vegeu les <a href="/wiki/Especial:Cerca_per_prefix/Plantilla:GetLabelFix/" title="Especial:Cerca per prefix/Plantilla:GetLabelFix/">subpàgines d'aquesta plantilla</a>, <a class="external text" href="https://iw.toolforge.org/templatetiger/template-parameter.php?template=GetLabelFix&amp;lang=cawiki">utilització de paràmetres</a>.</div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐78cbcd47b5‐2vgpn Cached time: 20241121144218 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.146 seconds Real time usage: 0.200 seconds Preprocessor visited node count: 738/1000000 Post‐expand include size: 43389/2097152 bytes Template argument size: 2852/2097152 bytes Highest expansion depth: 15/100 Expensive parser function count: 3/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 2134/5000000 bytes Lua time usage: 0.063/10.000 seconds Lua memory usage: 1434279/52428800 bytes Number of Wikibase entities loaded: 2/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 180.167 1 -total 100.00% 180.167 1 Plantilla:Documentation 72.21% 130.096 1 Plantilla:GetLabelFix/ús 35.14% 63.318 6 Plantilla:GetLabelFix 28.64% 51.601 1 Plantilla:Risc_elevat 27.40% 49.374 1 Plantilla:Ombox 25.60% 46.123 1 Plantilla:Metacaixa_d'avís_projecte/core 15.07% 27.157 1 Plantilla:Q 6.90% 12.440 1 Plantilla:Ús_de_la_plantilla/caixa-previ 5.65% 10.178 1 Plantilla:Ús_de_la_plantilla/caixa --> <!-- Saved in parser cache with key cawiki:pcache:idhash:1598496-0!canonical and timestamp 20241121144218 and revision id 26138544. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" 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:GetLabelFix&amp;oldid=26138544">https://ca.wikipedia.org/w/index.php?title=Plantilla:GetLabelFix&amp;oldid=26138544</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_Wikidata" title="Categoria:Plantilles de Wikidata">Plantilles de Wikidata</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 25 gen 2021 a les 09:32.</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&#174; (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:GetLabelFix&amp;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-f69cdc8f6-h2npf","wgBackendResponseTime":119,"wgPageParseReport":{"limitreport":{"cputime":"0.146","walltime":"0.200","ppvisitednodes":{"value":738,"limit":1000000},"postexpandincludesize":{"value":43389,"limit":2097152},"templateargumentsize":{"value":2852,"limit":2097152},"expansiondepth":{"value":15,"limit":100},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":2134,"limit":5000000},"entityaccesscount":{"value":2,"limit":400},"timingprofile":["100.00% 180.167 1 -total","100.00% 180.167 1 Plantilla:Documentation"," 72.21% 130.096 1 Plantilla:GetLabelFix/ús"," 35.14% 63.318 6 Plantilla:GetLabelFix"," 28.64% 51.601 1 Plantilla:Risc_elevat"," 27.40% 49.374 1 Plantilla:Ombox"," 25.60% 46.123 1 Plantilla:Metacaixa_d'avís_projecte/core"," 15.07% 27.157 1 Plantilla:Q"," 6.90% 12.440 1 Plantilla:Ús_de_la_plantilla/caixa-previ"," 5.65% 10.178 1 Plantilla:Ús_de_la_plantilla/caixa"]},"scribunto":{"limitreport-timeusage":{"value":"0.063","limit":"10.000"},"limitreport-memusage":{"value":1434279,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-78cbcd47b5-2vgpn","timestamp":"20241121144218","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

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