CINXE.COM
Tekst źródłowy strony Moduł:Infobox – Wikipedia, wolna encyklopedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-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-enabled skin-theme-clientpref-day vector-sticky-header-enabled vector-toc-not-available" lang="pl" dir="ltr"> <head> <meta charset="UTF-8"> <title>Tekst źródłowy strony Moduł:Infobox – Wikipedia, wolna encyklopedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-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-enabled skin-theme-clientpref-day vector-sticky-header-enabled vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )plwikimwclientpreferences=([^;]+)/);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":"a51c0581-dae0-40e0-8db4-b307634c3ee5","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"Moduł:Infobox","wgTitle":"Infobox","wgCurRevisionId":69143982,"wgRevisionId":0,"wgArticleId":3566943,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"Moduł:Infobox","wgRelevantArticleId":3566943,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgFlaggedRevsParams":{"tags":{"accuracy":{"levels":1}}},"wgStableRevisionId":69143982,"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":40000,"wgCodeEditorCurrentLanguage":"lua","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};RLSTATE={"ext.gadget.wikiflex":"ready","ext.gadget.infobox":"ready","ext.gadget.hlist":"ready","ext.gadget.darkmode-overrides":"ready","ext.gadget.small-references":"ready", "ext.gadget.citation-access-info":"ready","ext.gadget.sprawdz-problemy-szablony":"ready","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.flaggedRevs.basic":"ready","mediawiki.codex.messagebox.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.codeEditor","ext.scribunto.edit","mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.flaggedRevs.advanced","ext.gadget.ll-script-loader","ext.gadget.veKeepParameters","ext.gadget.szablon-galeria","ext.gadget.NavFrame","ext.gadget.citoid-overrides", "ext.gadget.maps","ext.gadget.padlock-indicators","ext.gadget.interwiki-langlist","ext.gadget.refToolbar","ext.gadget.edit-summaries","ext.gadget.edit-first-section","ext.gadget.edit-summary-warning","ext.gadget.nuxTBKeys","ext.gadget.map-toggler","ext.gadget.narrowFootnoteColumns","ext.gadget.WDsearch","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"];</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=pl&modules=ext.charinsert.styles%7Cext.codeEditor.styles%7Cext.flaggedRevs.basic%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cmediawiki.codex.messagebox.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=pl&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=pl&modules=ext.gadget.citation-access-info%2Cdarkmode-overrides%2Chlist%2Cinfobox%2Csmall-references%2Csprawdz-problemy-szablony%2Cwikiflex&only=styles&skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=pl&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.17"> <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="Tekst źródłowy strony Moduł:Infobox – Wikipedia, wolna encyklopedia"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//pl.m.wikipedia.org/wiki/Modu%C5%82:Infobox"> <link rel="alternate" type="application/x-wiki" title="Edytuj" href="/w/index.php?title=Modu%C5%82:Infobox&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="Wikipedia (pl)"> <link rel="EditURI" type="application/rsd+xml" href="//pl.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://pl.wikipedia.org/wiki/Modu%C5%82:Infobox"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.pl"> <link rel="alternate" type="application/atom+xml" title="Kanał Atom Wikipedii" href="/w/index.php?title=Specjalna:Ostatnie_zmiany&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 mw-editable page-Moduł_Infobox rootpage-Moduł_Infobox skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">Przejdź do zawartości</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="Witryna"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" title="Główne menu" > <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 główne" > <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 główne</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 główne</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">przypnij</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">ukryj</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Nawigacja </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikipedia:Strona_g%C5%82%C3%B3wna" title="Przejdź na stronę główną [z]" accesskey="z"><span>Strona główna</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Specjalna:Losowa_strona" title="Załaduj losową stronę [x]" accesskey="x"><span>Losuj artykuł</span></a></li><li id="n-Kategorie" class="mw-list-item"><a href="/wiki/Portal:Kategorie_G%C5%82%C3%B3wne"><span>Kategorie artykułów</span></a></li><li id="n-Featured-articles" class="mw-list-item"><a href="/wiki/Wikipedia:Wyr%C3%B3%C5%BCniona_zawarto%C5%9B%C4%87_Wikipedii"><span>Najlepsze artykuły</span></a></li><li id="n-FAQ" class="mw-list-item"><a href="/wiki/Pomoc:FAQ"><span>Częste pytania (FAQ)</span></a></li><li id="n-specialpages" class="mw-list-item"><a href="/wiki/Specjalna:Strony_specjalne"><span>Strony specjalne</span></a></li> </ul> </div> </div> <div id="p-zmiany" class="vector-menu mw-portlet mw-portlet-zmiany" > <div class="vector-menu-heading"> Dla czytelników </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-czytelnicy" class="mw-list-item"><a href="/wiki/Wikipedia:O_Wikipedii"><span>O Wikipedii</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikipedia:Kontakt_z_wikipedystami"><span>Kontakt</span></a></li> </ul> </div> </div> <div id="p-edytorzy" class="vector-menu mw-portlet mw-portlet-edytorzy" > <div class="vector-menu-heading"> Dla wikipedystów </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-pierwsze-kroki" class="mw-list-item"><a href="/wiki/Pomoc:Pierwsze_kroki"><span>Pierwsze kroki</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Portal_wikipedyst%C3%B3w" title="O projekcie – co możesz zrobić, gdzie możesz znaleźć informacje"><span>Portal wikipedystów</span></a></li><li id="n-Noticeboard" class="mw-list-item"><a href="/wiki/Wikipedia:Tablica_og%C5%82osze%C5%84"><span>Ogłoszenia</span></a></li><li id="n-Guidelines" class="mw-list-item"><a href="/wiki/Wikipedia:Zasady"><span>Zasady</span></a></li><li id="n-helppage-name" class="mw-list-item"><a href="/wiki/Pomoc:Spis_tre%C5%9Bci"><span>Pomoc</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Specjalna:Ostatnie_zmiany" title="Lista ostatnich zmian w Wikipedii. [r]" accesskey="r"><span>Ostatnie zmiany</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikipedia:Strona_g%C5%82%C3%B3wna" 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="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="wolna encyklopedia" src="/static/images/mobile/copyright/wikipedia-tagline-pl.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/Specjalna:Szukaj" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Przeszukaj Wikipedię [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Szukaj</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="Przeszukaj Wikipedię" aria-label="Przeszukaj Wikipedię" autocapitalize="sentences" title="Przeszukaj Wikipedię [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Specjalna:Szukaj"> </div> <button class="cdx-button cdx-search-input__end-button">Szukaj</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Narzędzia osobiste"> <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="Wygląd"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Zmień rozmiar czcionki, szerokość oraz kolorystykę strony" > <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="Wygląd" > <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">Wygląd</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="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=pl.wikipedia.org&uselang=pl" class=""><span>Wspomóż Wikipedię</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=Specjalna:Utw%C3%B3rz_konto&returnto=Modu%C5%82%3AInfobox&returntoquery=action%3Dedit" title="Zachęcamy do stworzenia konta i zalogowania, ale nie jest to obowiązkowe." class=""><span>Utwórz konto</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=Specjalna:Zaloguj&returnto=Modu%C5%82%3AInfobox&returntoquery=action%3Dedit" title="Zachęcamy do zalogowania się, choć nie jest to obowiązkowe. [o]" accesskey="o" class=""><span>Zaloguj się</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="Więcej opcji" > <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="Narzędzia osobiste" > <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">Narzędzia osobiste</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 użytkownika" > <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="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=pl.wikipedia.org&uselang=pl"><span>Wspomóż Wikipedię</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Specjalna:Utw%C3%B3rz_konto&returnto=Modu%C5%82%3AInfobox&returntoquery=action%3Dedit" title="Zachęcamy do stworzenia konta i zalogowania, ale nie jest to obowiązkowe."><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Utwórz konto</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Specjalna:Zaloguj&returnto=Modu%C5%82%3AInfobox&returntoquery=action%3Dedit" title="Zachęcamy do zalogowania się, choć nie jest to obowiązkowe. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Zaloguj się</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"> Strony dla anonimowych edytorów <a href="/wiki/Pomoc:Pierwsze_kroki" aria-label="Dowiedz się więcej na temat edytowania"><span>dowiedz się więcej</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/Specjalna:M%C3%B3j_wk%C5%82ad" title="Lista edycji wykonanych z tego adresu IP [y]" accesskey="y"><span>Edycje</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Specjalna:Moja_dyskusja" title="Dyskusja użytkownika dla tego adresu IP [n]" accesskey="n"><span>Dyskusja</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="Witryna"> <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">Tekst źródłowy strony Moduł:Infobox</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="Ten artykuł istnieje tylko w tym języku. Dodaj artykuły w innych językach." > <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">Dodaj języki</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="Przestrzenie nazw"> <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/Modu%C5%82:Infobox" title="Zobacz stronę modułu [c]" accesskey="c"><span>Moduł</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Dyskusja_modu%C5%82u:Infobox&action=edit&redlink=1" rel="discussion" class="new" title="Dyskusja o zawartości tej strony (strona nie istnieje) [t]" accesskey="t"><span>Dyskusja</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="Zmień wariant języka" > <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="Widok"> <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/Modu%C5%82:Infobox"><span>Czytaj</span></a></li><li id="ca-edit" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modu%C5%82:Infobox&action=edit" title="Edycja kodu źródłowego strony"><span>Edytuj kod źródłowy</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modu%C5%82:Infobox&action=history" title="Starsze wersje tej strony [h]" accesskey="h"><span>Wyświetl historię</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Narzędzia dla stron"> <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="Narzędzia" > <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">Narzędzia</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">Narzędzia</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">przypnij</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">ukryj</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Więcej opcji" > <div class="vector-menu-heading"> Działania </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/Modu%C5%82:Infobox"><span>Czytaj</span></a></li><li id="ca-more-edit" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modu%C5%82:Infobox&action=edit" title="Edycja kodu źródłowego strony [e]" accesskey="e"><span>Edytuj kod źródłowy</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modu%C5%82:Infobox&action=history"><span>Wyświetl historię</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Ogólne </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Specjalna:Linkuj%C4%85ce/Modu%C5%82:Infobox" title="Pokaż listę wszystkich stron linkujących do tej strony [j]" accesskey="j"><span>Linkujące</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Specjalna:Zmiany_w_linkowanych/Modu%C5%82:Infobox" rel="nofollow" title="Ostatnie zmiany w stronach, do których ta strona linkuje [k]" accesskey="k"><span>Zmiany w linkowanych</span></a></li><li id="t-upload" class="mw-list-item"><a href="//pl.wikipedia.org/wiki/Wikipedia:Prześlij_plik" title="Prześlij pliki [u]" accesskey="u"><span>Prześlij plik</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Modu%C5%82:Infobox&action=info" title="Więcej informacji na temat tej strony"><span>Informacje o tej stronie</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Specjalna:Skr%C3%B3%C4%87_adres_URL&url=https%3A%2F%2Fpl.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DModu%25C5%2582%3AInfobox%26action%3Dedit"><span>Zobacz skrócony adres URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Specjalna:Kod_QR&url=https%3A%2F%2Fpl.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DModu%25C5%2582%3AInfobox%26action%3Dedit"><span>Pobierz kod 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"> W innych projektach </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/Q13107716" title="Link do powiązanego elementu w repozytorium danych [g]" accesskey="g"><span>Element Wikidanych</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="Narzędzia dla stron"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Wygląd"> <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">Wygląd</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">przypnij</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">ukryj</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/Modu%C5%82:Infobox" title="Moduł:Infobox">Moduł:Infobox</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>Nie masz uprawnień do edytowania tej strony z następującego powodu: </p> <div class="permissions-errors"><div class="mw-permissionerror-globalblocking-blockedtext-range"><b>Twój adres IP znajduje się w zakresie adresów, który został <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">zablokowany na wszystkich wiki Wikimedia Foundation</a>.</b> <p>Blokada została nałożona przez <a href="/wiki/Wikipedysta:Jon_Kolbert" title="Wikipedysta:Jon Kolbert">Jon Kolbert</a>. Podany powód to <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>. </p> <ul><li>Początek blokady: 16:12, 27 sie 2023</li> <li>Zakończenie blokady: 16:12, 27 sie 2028</li></ul> <p>Twój obecny adres IP to 8.222.208.146. Zablokowany zakres to 8.222.128.0/17. </p><p>Prosimy o uwzględnienie wszystkich powyższych informacji we wszelkich zapytaniach. </p> Jeśli uważasz, że zostałeś zablokowany przez pomyłkę, możesz znaleźć dodatkowe informacje i instrukcje w <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards/Wizard" class="extiw" title="m:Special:MyLanguage/Stewards/Wizard">Pomocniku dotyczącym blokad globalnych</a>.</div></div><hr /> <p>Tekst źródłowy strony można podejrzeć i skopiować. </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">require("strict") local resources = mw.loadData("Moduł:Infobox/resources") local function P(frame, qid, pid) local sd = require("Module:Wikidane/select") return sd.selectProperty(pid, sd.prepareFilters(frame), qid) end local function isNullOrWhiteSpace(text) return (text == nil) or (#text <= 0) or string.match(text, "^%s+$") end local function addClass(attributes, class) if not class or (#class == 0) then return attributes end if not attributes or (#attributes == 0) then return "class=\""..class.."\"" end local r, c = string.gsub(attributes or "", "%f[%w]class%s*=%s*['\"]", "%0"..class.." ", 1) if c == 1 then return r end return "class=\""..class.."\" "..attributes end local function iboxSpan(header, text, row, cell) assert(type(header) == "boolean") local result = {} table.insert(result, "|-") if row and (#row > 0) then table.insert(result, " ") table.insert(result, row) end table.insert(result, "\n") table.insert(result, header and "!" or "|") if cell and (#cell > 0) then table.insert(result, cell) table.insert(result,' ') end table.insert(result, 'colspan="2"|') table.insert(result, text) table.insert(result, "\n|-\n") return table.concat(result) end local function emptyCategory(frame, emptyCat) if not emptyCat or (mw.title.getCurrentTitle().namespace ~= 0) then return "" end if mw.ustring.match(emptyCat, "%[%[[Kk]ategoria:.-%]%]") then return emptyCat end local template = frame:getParent():getTitle() local infobox = mw.ustring.match(template, "^Szablon:(.- infobox)$") return mw.ustring.format(resources.catMissingData, infobox or template, emptyCat) end local function InputData(frame, Q, demo, source, sourcepropid) local ns = mw.title.getCurrentTitle().namespace local add = frame.args["dodaj"] local cell = frame.args["pole"] local propid = frame.args[sourcepropid or "cecha"] local emptyCat = frame.args["kategoria brak"] local value = frame.args[source or 1] add = (add == nil) or (#add > 0) if emptyCat and (#emptyCat == 0) then emptyCat = false end if propid and (#propid == 0) then propid = false end if isNullOrWhiteSpace(value) then value = false end local demovalue = false if value then demovalue = mw.ustring.match(value, "^%s*{{{(.-)}}}%s*$") end local wdvalue = false if add and not demo and (not value or demovalue) and propid then local pid, qid, prop = P(frame, Q, propid) if pid and qid and prop then value = require("Moduł:Wikidane/format").run(frame, pid, prop) if not value or (#value <= 0) then value = false else wdvalue = true end end end if add and not demo and (not value or (demovalue and not wdvalue)) and emptyCat then cell = addClass(cell, resources.classEmpty) value = (value or "") .. emptyCategory(frame, emptyCat) end if not demo and demovalue then cell = addClass(cell, resources.classMissingArg) if ns == 0 then value = value..resources.catMissingArg end end return add and value or false, cell, demovalue, propid end local function Qdemo(frame) local Q = frame:getParent().args.Q if Q and string.match(Q, "^%d") then Q = "Q"..Q end if Q then -- jest Q to nie demo return Q, false end for k, v in pairs(frame:getParent().args) do -- nie ma Q lecz dowolny argument to również nie demo return nil, false end -- nie ma Q ani żadnego parametru, jeśli to źródło szablonu, to musi to być demo return nil, (mw.title.getCurrentTitle().fullText == frame:getParent():getTitle()) end local function editWDlink(qid, pid) return "<span class=\"plainlinks wdlink\" title=\"edytuj dane z infoboxu w Wikidanych\">&#x5B;[https://www.wikidata.org/wiki/"..qid.."#"..pid.." e]&#x5D;</span>" end local function imageWDdemo(pid) if pid then if string.match(pid, "^P%d+$") then return "[[:d:Property:"..pid.."|"..pid.."]]" end return "<span class=\"wdimgdemo\">"..pid.."</span>" end end local function propertyLabel(frame, propid, propid2) local lang = mw.getContentLanguage() if not propid2 then local pid, qid, prop = P(frame, propid, "P1629") if pid and qid and prop then mw.logObject(prop, "P1629") local value = require("Moduł:Wikidane/format").run(frame, pid, prop) if value and (#value > 0) then value = mw.ustring.gsub(value, "(|)(%l)", function(bar, lcase) return bar..lang:ucfirst(lcase) end) return lang:ucfirst(value) end end end local label1 = mw.wikibase.label(propid) if not label1 or (#label1 <= 0) then return false end if not propid2 then return lang:ucfirst(label1) end local label2 = mw.wikibase.label(propid2) if not label2 or (#label2 <= 0) then return false end local cp1 = { mw.ustring.codepoint(label1, 1, mw.ustring.len(label1)) } local cp2 = { mw.ustring.codepoint(label2, 1, mw.ustring.len(label2)) } local len = #cp1 < #cp2 and #cp1 or #cp2 -- find common suffix local suffix = false for i = 1, len do if cp1[#cp1-i+1] ~= cp2[#cp2-i+1] then suffix = len - i + 1 break end end while (suffix < len) and (cp1[#cp1 - suffix + 1] ~= 32) do suffix = suffix + 1 end if suffix < len then label1 = mw.ustring.char(unpack(cp1, 1, #cp1 - suffix)) end return lang:ucfirst(mw.text.trim(label1).." i "..mw.text.trim(label2)) end local function makeDemoArg(wrap, ...) local count = select('#', ...) if count <= 0 then return end local items = {} local index = 1 while index <= count do local v = select(index, ...) if v and (type(v) == "string") then table.insert(items, v) end index = index + 1 end if #items <= 0 then return end local prefix = wrap and "{{{" or "" local suffix = wrap and "}}}" or "" return prefix..table.concat(items,"&#x7C;")..suffix end local function SecondaryInfobox(templateTitle, message) local contents = mw.title.getCurrentTitle():getContent() local infoboxPattern = "{{ *(%f[%a][%a ]-%f[ ] infobox)%s*|" local start = 1 while true do mw.logObject(start, "Kolejny:start") local s, e, n = mw.ustring.find(contents, infoboxPattern, start, false) if not s then break end mw.logObject({s, e, n}, "Kolejny:find{s e n}") local prefix = mw.ustring.match(n, "^(%a-):") mw.logObject(prefix, "Kolejny:prefix") local ns = 10 if prefix then prefix = mw.getCurrentLang():ucfirst(prefix) ns = mw.site.namespaces[prefix] or ns end mw.logObject(ns, "Kolejny:ns") local infoboxTitle = mw.title.new(n, ns) mw.logObject(infoboxTitle, "Kolejny:infoboxTitle") if templateTitle == infoboxTitle then mw.logObject(start == 1 and "" or message, "Kolejny:return") return start == 1 and "" or message end start = e end mw.log("Kolejny: BRAK") return mw.title.getCurrentTitle().namespace == 0 and "?" -- tego przypadku nie powinno być w przestrzeni głównej or false -- a poza nią to nie ma takiego znaczenia end return { ["Q"] = function(frame) local Q, demo = Qdemo(frame) return demo and "demo" or Q end, ["Demo"] = function(frame) local args = require('Module:Arguments').getArgs(frame, { trim = false, removeBlanks = false }) local result = {} local i = 1 local wd = false while true do local v = args[i] i = i + 1 if not v then break end if #v == 0 then if wd then table.insert(result, "") end wd = true else table.insert(result, wd and imageWDdemo(v) or v) wd = false end end if #result then local result = "{{{"..table.concat(result,"&#x7C;").."}}}" mw.logObject(result, "result") return result end end, ["Kolejny"] = function(frame) local message = frame.args[1] if not message or (#mw.text.trim(message) == 0) then message = "tak" end local templateTitle = mw.title.new(frame:getParent():getTitle()) return SecondaryInfobox(templateTitle, message) end, ["Test"] = function(frame) local Q, demo = Qdemo(frame) if demo then return "demo" end local i = 1 local sd = require("Module:Wikidane/select") while true do local pid = frame.args[i] if not pid then return end local pid, qid, prop = sd.selectProperty(pid, {}, Q) if qid then return pid end i = i + 1 end end, ["Tytuł"] = function(frame) local Q, demo = Qdemo(frame) local emptyCat = frame.args["kategoria brak"] local attrs = frame.args["pole"] local props = frame.args["cecha"] or resources.defaultTitle2Property local text1 = frame.args[1] local text2 = frame.args[2] local text3 = frame.args[3] if isNullOrWhiteSpace(text1) then text1 = false end if isNullOrWhiteSpace(text2) then text2 = false end if isNullOrWhiteSpace(text3) then text3 = false end local demo1 = false if text1 then demo1 = mw.ustring.match(text1, "^{{{(.-)}}}$") end local demo2 = false if text2 then demo2 = mw.ustring.match(text2, "^{{{(.-)}}}$") end local demo3 = false if text3 then demo3 = mw.ustring.match(text3, "^{{{(.-)}}}$") end local Q, demo = Qdemo(frame) local builder = mw.html.create() builder:wikitext("|+") if attrs and (#attrs > 0) then builder:wikitext(" ", attrs, " | ") end local titleWithText = false local function appendPart(class) if titleWithText then builder:tag("br") end titleWithText = true return builder:tag("span"):addClass(class) end local label = false if demo and demo1 then appendPart(resources.classTitle1):wikitext("{{{", demo1, "&#x7C;", imageWDdemo("Etykieta"), "}}}") elseif demo then appendPart(resources.classTitle1):wikitext(imageWDdemo("Etykieta")) elseif text1 and (#text1 > 0) then appendPart(resources.classTitle1):wikitext(text1) else label = mw.wikibase.label(Q) if label then appendPart(resources.classTitle1):wikitext(label) end end local props1 = {} local props2 = {} for propid in string.gmatch(props, "%S+") do table.insert(props1, propid) table.insert(props2, "&#x7C;") table.insert(props2, imageWDdemo(propid)) end props2 = table.concat(props2, "") mw.text.split(props, "%s") if demo and demo2 then appendPart(resources.classTitle2):wikitext("{{{", demo2, props2, "}}}") elseif demo and (#props1 > 0) then appendPart(resources.classTitle2):wikitext("{{{", props2, "}}}") elseif text2 and (#text2 > 0) then appendPart(resources.classTitle2):wikitext(text2) elseif #props1 > 0 then local pid, qid, prop for _, propid in ipairs(props1) do pid, qid, prop = P(frame, Q, propid) if qid and prop then local text2 = require("Moduł:Wikidane/format").run(frame, pid, prop) if text2 then local lang = mw.getContentLanguage() local l = label and lang:caseFold(label) or label local t1 = text1 and lang:caseFold(text1) or text1 local t2, _ = mw.ustring.gsub(text2, "</?[A-Za-z]+ ?[^<>]*/?>", "") -- remove HTML tags t2 = lang:caseFold(t2) if (t2 ~= t1) and (t2 ~= l) then appendPart(resources.classTitle2):wikitext(text2) break end end end end end if text3 and (#text3 > 0) then appendPart(resources.classTitle3):wikitext(text3) end if not titleWithText then -- use page title local title = mw.title.getCurrentTitle() local text = title.text local nodisambig = mw.ustring.match(text, "^(.-)%s+%([^%(%)]+%)$") if nodisambig and (#nodisambig > 0) then text = nodisambig end appendPart(resources.classEmpty):wikitext(text, emptyCategory(frame, emptyCat)) end if not titleWithText then -- no text return end builder:wikitext("\n") return builder:allDone() end, ["Grafika"] = function(frame) local add = frame.args["dodaj"] add = (add == nil) or (#add > 0) if not add then return end local function formatFile(file, alt, format, description) local function removeLinks(text) --mw.logObject(text, "RemoveLinks:input") if text then text = mw.ustring.gsub(text, "%s+", " ") -- compact white characters into one space text = mw.ustring.gsub(text, "%[https?://[^%[%]%s|]+%]", "") -- remove LZ text = mw.ustring.gsub(text, "%[https?://[^%[%]%s|]+ ([^%[%]|]+)%]", "%1") -- remove LZ, leave description text = mw.ustring.gsub(text, "%[%[[^%[%]|]+|([^%[%]|]*)%]%]", "%1" ) -- remove wikilinks, leave description text = mw.ustring.gsub(text, "%[%[([^%[%]|]*)%]%]", "%1" ) -- remove wikilinks, leave description text = mw.ustring.gsub(text, "%s+", " ") -- compact white characters into one space again text = mw.text.nowiki(text) end --mw.logObject(text, "RemoveLinks:output") return text end local result = {} table.insert(result, "[[Plik:") table.insert(result, file) if format and (#format > 0) then table.insert(result, "|") table.insert(result, format) if mw.ustring.match(format, "^%s*alt%s*=") or mw.ustring.match(format, "|%s*alt%s*=") then alt = false end end if alt and (#alt > 0) then table.insert(result, "|alt=") table.insert(result, removeLinks(alt)) end if description and (#description > 0) then table.insert(result, "|") table.insert(result, removeLinks(description)) end table.insert(result,"]]") return table.concat(result) end local function checkIfFileExists(file) local pattern, _ = mw.ustring.gsub( file, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" ) pattern, _ = mw.ustring.gsub(pattern, "[ _]", "[ _]") pattern = "%[%[%s*(%a+)%s*:"..pattern.."%s*[%]|]" --mw.logObject(pattern, "Grafika:checkIfFileExists PATTERN") local contents = mw.title.getCurrentTitle():getContent() local start = 1 while true do --mw.logObject(start, "Grafika:checkIfFileExists NEXT") local s, e, n = mw.ustring.find(contents, pattern, start, false) if not s then --mw.logObject(file, "Grafika:checkIfFileExists FALSE") return false end --mw.logObject({n,file}, "Grafika:checkIfFileExists{n,file}") local title = mw.title.new(file, n) if title and (title.namespace == 6) then --mw.logObject(file, "Grafika:checkIfFileExists TRUE") return true end start = e end end local Q, demo = Qdemo(frame) local row = frame.args["wiersz"] local cell = frame.args["pole"] local format = frame.args["format"] local imageTitle = false local secondary = false local callingTemplate = frame:getParent():getTitle() if mw.title.new(callingTemplate) == mw.title.new("Szablon:Infobox grafika") then imageTitle = frame:getParent().args["tytuł grafiki"] secondary = frame:getParent().args["kolejny"] else imageTitle = frame.args["tytuł grafiki"] if (#callingTemplate > 8) and (mw.ustring.sub(callingTemplate, -8) == " infobox") then secondary = SecondaryInfobox(callingTemplate, callingTemplate) end end if format and (#format <= 0) then format = nil end mw.logObject(secondary,"secondary") local wdExists = false local function loadPicture(file, description, fileProperty, descProperty, defaultFormat) if file == "nie" then return end if isNullOrWhiteSpace(file) then file = false description = false elseif isNullOrWhiteSpace(description) then description = false end if isNullOrWhiteSpace(fileProperty) then fileProperty = false descProperty = false elseif isNullOrWhiteSpace(descProperty) then descProperty = false end local alt = false local desc = nil local patched = false if fileProperty then alt = mw.wikibase.label(fileProperty) end local demoFile = false local demoDescription = false if file then demoFile = mw.ustring.match(file, "^{{{(.-)}}}$") if not demoFile then file = mw.ustring.gsub(file, "%s*[Pp]lik%s*:%s*", "Plik:") file = mw.ustring.gsub(file, "%s*[Ff]ile%s*:%s*", "Plik:") file = mw.ustring.gsub(file, "%s*[Gg]rafika%s*:%s*", "Plik:") file = mw.ustring.gsub(file, "%s*[Ii]mage%s*:%s*", "Plik:") if mw.ustring.match(file, "^Plik:(.*)") then file = mw.ustring.match(file, "^Plik:(.*)") patched = true elseif mw.ustring.match(file, "%[%[Plik:([^%[%]|]+)[|%]]") then file = mw.ustring.match(file, "%[%[Plik:([^%[%]|]+)[|%]]") patched = true end end end if description then demoDescription = mw.ustring.match(description, "^{{{(.-)}}}$") end if not demo and (not file or demoFile) and fileProperty then if secondary and (#secondary > 0) then mw.logObject(secondary, "Grafika: nie ładuję obrazka z Wikidanych na drugim lub kolejnym infoboksie") return end local pid, qid, prop = P(frame, Q, fileProperty) if pid and qid and prop then for _, v in ipairs(prop) do if v.mainsnak and (v.mainsnak.snaktype == "value") and (v.mainsnak.datatype == "commonsMedia") and v.mainsnak.datavalue and (v.mainsnak.datavalue.type == "string") then local commonMedia = v.mainsnak.datavalue.value if not isNullOrWhiteSpace(commonMedia) then if checkIfFileExists(commonMedia) then mw.logObject(commonMedia, "Grafika: obrazek, który jest oferowany w Wikidanych, już jest umieszczony w kodzie strony") wdExists = true return end file = commonMedia alt = mw.wikibase.label(v.mainsnak.property) desc = require("Moduł:Wikidane/format/qualifiers").TEXT1(v, nil, "P2096") break end end end end if file and descProperty then pid, qid, prop = P(frame, Q, descProperty) if pid and qid and prop then local v = require("Moduł:Wikidane/format").run(frame, pid, prop) if not isNullOrWhiteSpace(v) then description = v end end end end if not demo and file then return { formatFile(file, alt, format or defaultFormat, desc or description)..(patched and resources.catPatchedFile or ""), description or desc } end if demo and (demoFile or fileProperty) then return { formatFile(makeDemoArg(true, demoFile, imageWDdemo(fileProperty)), alt, format or defaultFormat, false), makeDemoArg(true, demoDescription, imageWDdemo(descProperty)) } end end local args = { file = "grafika", description = "opis grafiki", fileProperty = "cecha", descProperty = "cecha opisu", defaultFormat = "240x240px", fileN = "%d. grafika", descriptionN = "%d. opis grafiki", filePropertyN = "%d. cecha", descPropertyN = "%d. cecha opisu", defaultFormatN = "100x100px", } local bigImage = loadPicture(frame.args[args.file], frame.args[args.description], frame.args[args.fileProperty], frame.args[args.descProperty], args.defaultFormat) mw.logObject(bigImage, "bigImage") local smallImages = {} local index = 1 while true do local file = frame.args[mw.ustring.format(args.fileN, index)] local description = frame.args[mw.ustring.format(args.descriptionN, index)] local fileProperty = frame.args[mw.ustring.format(args.filePropertyN, index)] local descProperty = frame.args[mw.ustring.format(args.descPropertyN, index)] if not file and not fileProperty then break end index = index + 1 local image = loadPicture(file, description, fileProperty, descProperty, args.defaultFormatN) if image then table.insert(smallImages, image) end end local result = {} if wdExists and secondary and (#secondary == 0) and (mw.title.getCurrentTitle().namespace == 0) then table.insert(result, '|- style="display:none"\n| colspan="2" |"') table.insert(result, resources.catIgnoreImage) table.insert(result, '\n') end if bigImage then if imageTitle and (#imageTitle > 0) then table.insert(bigImage, 1, '<span style="font-weight: bold>'..imageTitle..'</span>') end table.insert(result, iboxSpan(false, table.concat(bigImage, "<br />"), row, cell)) end if #smallImages > 0 then local index = 1 table.insert(result, '|-') table.insert(result, row) table.insert(result, '\n|colspan="2" padding="0" ') table.insert(result, cell) table.insert(result, '|\n{| class="ibox2"\n') -- display images in pairs while (index + 1) <= #smallImages do local image1 = smallImages[index + 0] local image2 = smallImages[index + 1] -- both files must exists table.insert(result, '|-\n|') table.insert(result, image1[1]) table.insert(result, '\n|') table.insert(result, image2[1]) table.insert(result, '\n') -- descriptions are optional if image1[2] or image2[2] then table.insert(result, '|-\n|') table.insert(result, image1[2] or "") table.insert(result, '\n|') table.insert(result, image2[2] or "") table.insert(result, '\n') end -- next pair index = index + 2 end -- display last odd image if index == #smallImages then local image = smallImages[index] table.insert(result, '|-\n|colspan=2|') table.insert(result, image[1]) table.insert(result, '\n') if image[2] then table.insert(result, '|-\n|colspan=2|') table.insert(result, image[2]) table.insert(result, '\n') end end table.insert(result, '|-\n|}\n|-\n') end if (#result > 0) and frame.args["dodaj zamykający wiersz"] then -- łatka na wywołanie w szablonie wewnątrz #if:, -- który obcina odstępy, w tym znak nowej linii -- a domyślnie wynik kończy się tym znakiem table.insert(result, '|-\n') end if #result > 0 then return table.concat(result) end end, ["Grupa"] = function(frame) local Q, demo = Qdemo(frame) local emptyCat = frame.args["kategoria brak"] local header = frame.args["nagłówek"] local headerRow = frame.args["wiersz nagłówka"] local headerCell = frame.args["pole nagłówka"] local lineClass = frame.args["klasa kreski"] local result = {} local append = function(text) if (#result == 0) and header then local cell = headerCell if #header == 0 then cell = addClass(headerCell, resources.classEmpty) header = emptyCategory(frame, emptyCat) elseif not demo and mw.ustring.match(header, "^{{{(.-)}}}$") then cell = addClass(headerCell, resources.classMissingArg) end table.insert(result, iboxSpan(true, header, headerRow, cell)) end table.insert(result, text) end local total = false local sep = false local i = 1 while true do local arg = frame.args[i] if not arg then break end i = i + 1 arg = string.match(arg, "^(.-)%s*$") -- trim remaing space if arg == "-" then sep = true elseif #arg > 0 then -- real content local next = false for line in mw.text.gsplit(arg, "\n%f[|!]", false) do if next then append("\n") end next = true if sep and (#line >= 2) and (string.byte(line, 1) == 124) and (string.byte(line, 2) == 45) then -- row with separator line local class = string.match(line, 'class="(.-)"') local newClass = resources.classSeparator if lineClass and (#lineClass > 0) then newClass = newClass.." "..lineClass end if class then line = string.gsub(line, 'class="', 'class="'..newClass.." ", 1) else line = mw.text.trim(line)..' class="'..newClass..'"' end else -- content or row without separator line sep = false end append(line) end end end return table.concat(result) end, ["Blok"] = function(frame) local Q, demo = Qdemo(frame) local headerRow = frame.args["wiersz nagłówka"] local headerCell = frame.args["pole nagłówka"] local row = frame.args["wiersz"] local label = frame.args["nagłówek"] local value, cell, demovalue, propid = InputData(frame, Q, demo) if label == "-" then label = false row = addClass(row, resources.classSeparator) elseif label and (#label == 0) then label = false elseif not label and propid then label = propertyLabel(frame, propid) end local demolabel = false if label then demolabel = mw.ustring.match(label, "^{{{(.-)}}}$") end local text = false if demo and demovalue and propid then text = "{{{"..demovalue.."&#x7C;"..imageWDdemo(propid).."}}}" elseif demo and propid then text = "{{{"..imageWDdemo(propid).."}}}" elseif demo and demolabel then text = "{{{"..demovalue.."}}}" elseif value then text = value end if not text then return end local header if label == false then header = false elseif label and (#label > 0) then header = label elseif demo and demolabel and propid then header = "{{{"..demolabel.."&#x7C;"..imageWDdemo("label").."}}}" elseif demo and propid then header = "{{{"..imageWDdemo("label").."}}}" elseif demo and demolabel then header = "{{{"..demolabel.."}}}" elseif propid then header = "{{{nagłówek}}}"..resources.catMissingLabel elseif demo then header = "{{{nagłówek}}}" end local result = {} if header then table.insert(result, iboxSpan(true, header, headerRow, headerCell)) end table.insert(result, iboxSpan(false, text, row, cell)) return table.concat(result) end, ["Wiersz"] = function(frame) local Q, demo = Qdemo(frame) local row = frame.args["wiersz"] local label = frame.args["etykieta"] local value, cell, demovalue, propid = InputData(frame, Q, demo) if label and (#label == 0) then label = false end if not label and propid then label = propertyLabel(frame, propid) end local demolabel = false if label then demolabel = mw.ustring.match(label, "^{{{(.-)}}}$") end local builder = mw.html.create() builder:wikitext("|-") if row and (#row > 0) then builder:wikitext(" ", row, " | ") end builder:wikitext("\n! ") if label and (#label > 0) then builder:wikitext(label) elseif demo and demolabel and propid then builder:wikitext("{{{", demolabel, "&#x7C;", imageWDdemo("label"), "}}}") elseif demo and propid then builder:wikitext("{{{", imageWDdemo("label"), "}}}") elseif demo and demolabel then builder:wikitext("{{{", demolabel, "}}}") elseif propid then builder:wikitext("{{{etykieta}}}", resources.catMissingLabel) else builder:wikitext("{{{etykieta}}}") end builder:wikitext("\n| ") if cell and (#cell > 0) then builder:wikitext(cell) builder:wikitext("| ") end if demo and demovalue and propid then builder:wikitext("{{{", demovalue, "&#x7C;", imageWDdemo(propid), "}}}") elseif demo and propid then builder:wikitext("{{{", imageWDdemo(propid), "}}}") elseif demo and demovalue then builder:wikitext("{{{", demovalue, "}}}") elseif value then builder:wikitext(value) else return end builder:wikitext("\n|-") return builder:allDone() end, ["Wiersz2"] = function(frame) local Q, demo = Qdemo(frame) local row = frame.args["wiersz"] local label = frame.args["etykieta"] local label1 = frame.args["etykieta 1"] local label2 = frame.args["etykieta 2"] local value1, cell, demovalue1, propid1 = InputData(frame, Q, demo, 1, "cecha 1") local value2, _, demovalue2, propid2 = InputData(frame, Q, demo, 2, "cecha 2") if label and (#label == 0) then label = false end if not label and propid1 and propid2 then label = propertyLabel(frame, propid1, propid2) end if label1 and (#label1 == 0) then label1 = false end if not label1 and propid1 then label1 = propertyLabel(frame, propid1) end if label2 and (#label2 == 0) then label2 = false end if not label2 and propid2 then label2 = propertyLabel(frame, propid2) end local demolabel1 = false if label1 then demolabel1 = mw.ustring.match(label1, "^{{{(.-)}}}$") end local demolabel2 = false if label2 then demolabel2 = mw.ustring.match(label2, "^{{{(.-)}}}$") end local builder = mw.html.create() builder:wikitext("|-") if row and (#row > 0) then builder:wikitext(" ", row, " | ") end builder:wikitext("\n! ") if demo then if label and (#label > 0) then builder:wikitext(label) else if label1 and (#label1 > 0) then builder:wikitext(label1) elseif demolabel1 and propid1 then builder:wikitext("{{{", demolabel1, "&#x7C;", imageWDdemo("label1"), "}}}") elseif propid1 then builder:wikitext("{{{", imageWDdemo("label1"), "}}}") elseif demolabel1 then builder:wikitext("{{{", demolabel1, "}}}") elseif propid1 then builder:wikitext("{{{etykieta 1}}}", resources.catMissingLabel) else builder:wikitext("{{{etykieta 1}}}") end builder:wikitext(" i ") if label2 and (#label2 > 0) then builder:wikitext(label2) elseif demolabel2 and propid2 then builder:wikitext("{{{", demolabel2, "&#x7C;", imageWDdemo("label2"), "}}}") elseif propid2 then builder:wikitext("{{{", imageWDdemo("label2"), "}}}") elseif demolabel2 then builder:wikitext("{{{", demolabel2, "}}}") elseif propid2 then builder:wikitext("{{{etykieta 2}}}", resources.catMissingLabel) else builder:wikitext("{{{etykieta 2}}}") end end elseif value1 and value2 and label then builder:wikitext(label) elseif value1 and value2 and label1 and label2 then builder:wikitext(label1, " i ", label2) elseif value1 and value2 then builder:wikitext("{{{etykieta}}}", resources.catMissingLabel) elseif value1 and label1 then builder:wikitext(label1) elseif value1 then builder:wikitext("{{{etykieta 1}}}", resources.catMissingLabel) elseif value2 and label2 then builder:wikitext(label2) elseif value2 then builder:wikitext("{{{etykieta 2}}}", resources.catMissingLabel) else return end builder:wikitext("\n| ") if cell and (#cell > 0) then builder:wikitext(cell) builder:wikitext("| ") end local br = true if demo and demovalue1 and propid1 then builder:wikitext("{{{", demovalue1, "&#x7C;", imageWDdemo(propid1), "}}}") elseif demo and propid1 then builder:wikitext("{{{", imageWDdemo(propid1), "}}}") elseif demo and demovalue1 then builder:wikitext("{{{", demovalue1, "}}}") elseif value1 then builder:wikitext(value1) else br = false end if demo and demovalue2 and propid2 then if br then builder:tag("br") end builder:wikitext("{{{", demovalue2, "&#x7C;", imageWDdemo(propid2), "}}}") elseif demo and propid2 then if br then builder:tag("br") end builder:wikitext("{{{", imageWDdemo(propid2), "}}}") elseif demo and demovalue2 then if br then builder:tag("br") end builder:wikitext("{{{", demovalue2, "}}}") elseif value2 then if br then builder:tag("br") end builder:wikitext(value2) end builder:wikitext("\n|-") return builder:allDone() end, ["Fragment"] = function(frame) local Q, demo = Qdemo(frame) local value, unused, demovalue, propid = InputData(frame, Q, demo) local text = false if demo and demovalue and propid then text = "{{{"..demovalue.."&#x7C;"..imageWDdemo(propid).."}}}" elseif demo and propid then text = "{{{"..imageWDdemo(propid).."}}}" elseif demo and demolabel then text = "{{{"..demovalue.."}}}" elseif value then return value end return text and '|-\n|colspan="2"| '..text.."\n" or "" end, ["Drzewo"] = function(frame) local Q, demo = Qdemo(frame) local headerRow = frame.args["wiersz nagłówka"] local headerCell = frame.args["pole nagłówka"] local header = frame.args["nagłówek"] local row = frame.args["wiersz"] or 'class="tree"' local cell = frame.args["pole"] local text = false if demo then text = imageWDdemo("'''Skrypt Lua'''") else if not Q then local entity = mw.wikibase.getEntity() if not entity then return end Q = entity.id end text = require("Module:Wikidane/Tree").classTree(frame, Q) end if not text then return end if header == "-" then header = false row = addClass(row, resources.classSeparator) elseif header and (#header == 0) then label = false end local result = {} if header then table.insert(result, iboxSpan(true, header, headerRow, headerCell)) end table.insert(result, iboxSpan(false, text, row, cell)) return table.concat(result, "") end, ["Projekt"] = function(frame) local Q, demo = Qdemo(frame) local entity = mw.wikibase.getEntity(Q) local standardLink = function(sitelink) return entity and entity.sitelinks and entity.sitelinks[sitelink] and entity.sitelinks[sitelink].title end local standardProp = function(pid) local pid, qid, prop = require("Module:Wikidane/select").selectProperty(pid, {}, Q) if prop and prop[1] then local snak = prop[1].mainsnak if (snak.snaktype == "value") and (snak.datatype == "string") then return snak.datavalue.value end end end local demoProp = function(sitelink, arg) local demovalue = false if arg then demovalue = mw.ustring.match(arg, "^{{{(.-)}}}$") end local result = {} if demovalue then table.insert(result, "&#8203;") -- wrap here table.insert(result, "{{{") table.insert(result, demovalue) table.insert(result, "&#x7C;&#8203;") table.insert(result, imageWDdemo(sitelink)) table.insert(result, "}}}&#8203;") else table.insert(result, "&#8203;") table.insert(result, imageWDdemo(sitelink)) table.insert(result, "&#8203;") end return table.concat(result) end local projects = { { arg = "wikipedia", icon = "wikipedia", text = function() if demo then return "Wikipedia w języku [[:d:Property:P424|P424]]" end local wikilang = arg or standardProp("P424") if wikilang == "pl" then return "Wikipedia w [[Wikipedia:Strona główna|języku polskim]]" end if wikilang then return mw.ustring.format("Wikipedia w [[:%s:|języku %s]]", wikilang, mw.loadData("Module:Lang/data")[wikilang].miejscownik) end end, }, { arg = "c", icon = "commons", text = function(arg) local link = false if demo then link = demoProp("commonswiki", arg) elseif arg then link = arg else link = standardLink("commonswiki") if not link then local cat = standardProp("P373") if cat then link = "Category:"..cat else --or standardProp("P910") -- main category article end end end if link then return mw.ustring.format("[[commons:%s|Multimedia w Wikimedia Commons]]", link) end end, }, { arg = "n", icon = "wikinews", text = function(arg) local link = demo and demoProp("plwikinews", arg) or (arg or standardLink("plwikinews")) if link then return mw.ustring.format("[[n:%s|Wiadomości w Wikinews]]", link) end end, }, { arg = "q", icon = "wikicytaty", text = function(arg) local link = demo and demoProp("plwikiquote", arg) or (arg or standardLink("plwikiquote")) if link then return mw.ustring.format("[[q:%s|Teksty w Wikicytatach]]", link) end end, }, { arg = "s", icon = "wikiźródła", text = function(arg) local link = demo and demoProp("plwikisource", arg) or (arg or standardLink("plwikisource")) if link then return mw.ustring.format("[[s:%s|Teksty w Wikiźródłach]]", link) end end, }, { arg = "wikt", icon = "wikisłownik", text = function(arg) -- nie ma jeszcze linków w Wikidanych local link = arg or (demo and "" or false) if link then return mw.ustring.format("[[wikt:%s|Hasło w Wikisłowniku]]", link) end end, }, { arg = "wikispecies", icon = "wikispecies", text = function(arg) local link = demo and demoProp("specieswiki", arg) or (arg or standardLink("specieswiki")) if link then return mw.ustring.format("[[wikispecies:%s|Systematyka w Wikispecies]]", link) end end, }, { arg = "voy", icon = "wikipodróże", text = function(arg) local link = demo and demoProp("plwikivoyage", arg) or (arg or standardLink("plwikivoyage")) if link then return mw.ustring.format("[[voy:%s|Informacje w Wikipodróżach]]", link) end end, }, { arg = "b", icon = "wikibooks", text = function(arg) local link = demo and demoProp("plwikibooks", arg) or (arg or standardLink("plwikibooks")) if link then return mw.ustring.format("[[b:%s|Książki w Wikibooks]]", link) end end, }, { arg = "wikt:cat", icon = "wikisłownik", text = function(arg) if demo then return "W Wikisłowniku: słownik języka [[:d:Property:P424|P424]]" end if arg then local data = mw.loadData("Module:Lang/data")[standardProp("P424") or ""] return mw.ustring.format("W Wikisłowniku: [[wikt:Kategoria:%s|słownik języka%s]]", arg, data and (" "..data["dopełniacz"]) or "") end end, }, } local result = {} for _, project in ipairs(projects) do local param = frame.args[project.arg] if param then local text = project.text(#param > 0 and param or nil) if text then if #result == 0 then local header = frame.args["nagłówek"] or resources.defaultProjectHeader if #header > 0 then table.insert(result, iboxSpan(true, header, frame.args["wiersz nagłówka"], frame.args["pole nagłówka"])) end end --local icon = "<div style=\"float:left; margin-right: 0.5em\">[[Plik:"..require("Module:Ikona").plik(project.icon).."|20px]]</div>" local icon = "[[Plik:"..require("Module:Ikona").plik(project.icon).."|20px|link=|alt=]]" table.insert(result, iboxSpan(false, icon..text, addClass(frame.args["wiersz"], resources.classSisterProject), frame.args["pole"])) end end end return table.concat(result, "") end, ["Państwo"] = function(frame) local Q, demo = Qdemo(frame) if not Q then Q = mw.wikibase.getEntityIdForCurrentPage() end if not Q then return end local statements = mw.wikibase.getBestStatements(Q, "P17") local errorCat = frame.args.kategoria local link = frame.args.link local altlink = frame.args.altlink local nazwa = frame.args.nazwa local opis = frame.args.opis local results = {} for i, s in ipairs(statements) do local countryName = mw.wikibase.renderSnak(s.mainsnak) local templateCountry = mw.title.new("Państwo dane "..countryName, "Szablon") local result if templateCountry.exists then local dependent = frame:expandTemplate{ title = "Terytorium zależne", args = { [1] = countryName, [2] = countryName }} if dependent and (#dependent == 0) then dependent = nil end result = frame:expandTemplate{ title = templateCountry.text, args = { [1] = "infobox państwo/core", wariant = dependent or countryName, link = link, altlink = altlink, nazwa = nazwa, rozmiar = i == 1 and opis or "&nbsp;" }} else -- nie ma szablonu państwa result = frame:expandTemplate{ title = "Infobox wiersz", args = { [1] = "[[Państwo]]", [2] = errorCat.."WD"..tostring(i)..": "..countryName, kol2 = 'class="linksInherit" style="background:yellow; color:red;"' }} end if result then table.insert(results, result) end end return table.concat(results) end, } </textarea><div id="mw-scribunto-console"></div><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>Szablony użyte w tym artykule: </p></div><ul> <li><a href="/wiki/Szablon:Dokumentacja" title="Szablon:Dokumentacja">Szablon:Dokumentacja</a> (<a href="/w/index.php?title=Szablon:Dokumentacja&action=edit" title="Szablon:Dokumentacja">tekst źródłowy</a>) (zabezpieczony na poziomie niskim)</li><li><a href="/wiki/Szablon:Dokumentacja/styles.css" title="Szablon:Dokumentacja/styles.css">Szablon:Dokumentacja/styles.css</a> (<a href="/w/index.php?title=Szablon:Dokumentacja/styles.css&action=edit" title="Szablon:Dokumentacja/styles.css">edytuj</a>) </li><li><a href="/wiki/Szablon:Klasyfikacja_modu%C5%82u" title="Szablon:Klasyfikacja modułu">Szablon:Klasyfikacja modułu</a> (<a href="/w/index.php?title=Szablon:Klasyfikacja_modu%C5%82u&action=edit" title="Szablon:Klasyfikacja modułu">edytuj</a>) </li><li><a href="/wiki/Szablon:M" title="Szablon:M">Szablon:M</a> (<a href="/w/index.php?title=Szablon:M&action=edit" title="Szablon:M">edytuj</a>) </li><li><a href="/wiki/Szablon:Mbox" title="Szablon:Mbox">Szablon:Mbox</a> (<a href="/w/index.php?title=Szablon:Mbox&action=edit" title="Szablon:Mbox">tekst źródłowy</a>) (zabezpieczony na poziomie wysokim)</li><li><a href="/wiki/Szablon:Mbox/style.css" title="Szablon:Mbox/style.css">Szablon:Mbox/style.css</a> (<a href="/w/index.php?title=Szablon:Mbox/style.css&action=edit" title="Szablon:Mbox/style.css">tekst źródłowy</a>) (zabezpieczony na poziomie wysokim)</li><li><a href="/wiki/Szablon:Od%C5%9Bwie%C5%BC" title="Szablon:Odśwież">Szablon:Odśwież</a> (<a href="/w/index.php?title=Szablon:Od%C5%9Bwie%C5%BC&action=edit" title="Szablon:Odśwież">edytuj</a>) </li><li><a href="/wiki/Szablon:PID" class="mw-redirect" title="Szablon:PID">Szablon:PID</a> (<a href="/w/index.php?title=Szablon:PID&action=edit" class="mw-redirect" title="Szablon:PID">edytuj</a>) </li><li><a href="/wiki/Szablon:Pierwszy_niepusty" title="Szablon:Pierwszy niepusty">Szablon:Pierwszy niepusty</a> (<a href="/w/index.php?title=Szablon:Pierwszy_niepusty&action=edit" title="Szablon:Pierwszy niepusty">tekst źródłowy</a>) (zabezpieczony na poziomie wysokim)</li><li><a href="/wiki/Szablon:S" title="Szablon:S">Szablon:S</a> (<a href="/w/index.php?title=Szablon:S&action=edit" title="Szablon:S">tekst źródłowy</a>) (zabezpieczony na poziomie wysokim)</li><li><a href="/wiki/Szablon:Uwagi" title="Szablon:Uwagi">Szablon:Uwagi</a> (<a href="/w/index.php?title=Szablon:Uwagi&action=edit" title="Szablon:Uwagi">tekst źródłowy</a>) (zabezpieczone na poziomie redaktorów)</li><li><a href="/wiki/Szablon:W%C5%82a%C5%9Bciwo%C5%9B%C4%87_w_Wikidanych" title="Szablon:Właściwość w Wikidanych">Szablon:Właściwość w Wikidanych</a> (<a href="/w/index.php?title=Szablon:W%C5%82a%C5%9Bciwo%C5%9B%C4%87_w_Wikidanych&action=edit" title="Szablon:Właściwość w Wikidanych">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Arguments" title="Moduł:Arguments">Moduł:Arguments</a> (<a href="/w/index.php?title=Modu%C5%82:Arguments&action=edit" title="Moduł:Arguments">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Ikona" title="Moduł:Ikona">Moduł:Ikona</a> (<a href="/w/index.php?title=Modu%C5%82:Ikona&action=edit" title="Moduł:Ikona">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Ikona/dane" title="Moduł:Ikona/dane">Moduł:Ikona/dane</a> (<a href="/w/index.php?title=Modu%C5%82:Ikona/dane&action=edit" title="Moduł:Ikona/dane">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Infobox" title="Moduł:Infobox">Moduł:Infobox</a> (<a href="/w/index.php?title=Modu%C5%82:Infobox&action=edit" title="Moduł:Infobox">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Infobox/opis" title="Moduł:Infobox/opis">Moduł:Infobox/opis</a> (<a href="/w/index.php?title=Modu%C5%82:Infobox/opis&action=edit" title="Moduł:Infobox/opis">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Infobox/resources" title="Moduł:Infobox/resources">Moduł:Infobox/resources</a> (<a href="/w/index.php?title=Modu%C5%82:Infobox/resources&action=edit" title="Moduł:Infobox/resources">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Lang/data" title="Moduł:Lang/data">Moduł:Lang/data</a> (<a href="/w/index.php?title=Modu%C5%82:Lang/data&action=edit" title="Moduł:Lang/data">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Przypisy" title="Moduł:Przypisy">Moduł:Przypisy</a> (<a href="/w/index.php?title=Modu%C5%82:Przypisy&action=edit" title="Moduł:Przypisy">tekst źródłowy</a>) (zabezpieczone na poziomie redaktorów)</li><li><a href="/wiki/Modu%C5%82:Wikidane" title="Moduł:Wikidane">Moduł:Wikidane</a> (<a href="/w/index.php?title=Modu%C5%82:Wikidane&action=edit" title="Moduł:Wikidane">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Wikidane/data" title="Moduł:Wikidane/data">Moduł:Wikidane/data</a> (<a href="/w/index.php?title=Modu%C5%82:Wikidane/data&action=edit" title="Moduł:Wikidane/data">edytuj</a>) </li><li><a href="/wiki/Modu%C5%82:Wikidane/select" title="Moduł:Wikidane/select">Moduł:Wikidane/select</a> (<a href="/w/index.php?title=Modu%C5%82:Wikidane/select&action=edit" title="Moduł:Wikidane/select">edytuj</a>) </li></ul></div><p id="mw-returnto">Wróć do <a href="/wiki/Modu%C5%82:Infobox" title="Moduł:Infobox">Moduł:Infobox</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?useformat=desktop&type=1x1&usesul3=0" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Źródło: „<a dir="ltr" href="https://pl.wikipedia.org/wiki/Moduł:Infobox">https://pl.wikipedia.org/wiki/Moduł:Infobox</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">Polityka prywatności</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:O_Wikipedii">O Wikipedii</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:Korzystasz_z_Wikipedii_tylko_na_w%C5%82asn%C4%85_odpowiedzialno%C5%9B%C4%87">Korzystasz z Wikipedii tylko na własną odpowiedzialność</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Powszechne Zasady Postępowania</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Dla deweloperów</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/pl.wikipedia.org">Statystyki</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Oświadczenie o ciasteczkach</a></li> <li id="footer-places-mobileview"><a href="//pl.m.wikipedia.org/w/index.php?title=Modu%C5%82:Infobox&action=edit&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Wersja mobilna</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"><picture><source media="(min-width: 500px)" srcset="/static/images/footer/wikimedia-button.svg" width="84" height="29"><img src="/static/images/footer/wikimedia.svg" width="25" height="25" alt="Wikimedia Foundation" lang="en" loading="lazy"></picture></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"><picture><source media="(min-width: 500px)" srcset="/w/resources/assets/poweredby_mediawiki.svg" width="88" height="31"><img src="/w/resources/assets/mediawiki_compact.svg" alt="Powered by MediaWiki" width="25" height="25" loading="lazy"></picture></a></li> </ul> </footer> </div> </div> </div> <div class="vector-header-container vector-sticky-header-container"> <div id="vector-sticky-header" class="vector-sticky-header"> <div class="vector-sticky-header-start"> <div class="vector-sticky-header-icon-start vector-button-flush-left vector-button-flush-right" aria-hidden="true"> <button class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-sticky-header-search-toggle" tabindex="-1" data-event-name="ui.vector-sticky-search-form.icon"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Szukaj</span> </button> </div> <div role="search" class="vector-search-box-vue vector-search-box-show-thumbnail vector-search-box"> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail"> <form action="/w/index.php" id="vector-sticky-search-form" class="cdx-search-input cdx-search-input--has-end-button"> <div 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="Przeszukaj Wikipedię"> <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Specjalna:Szukaj"> </div> <button class="cdx-button cdx-search-input__end-button">Szukaj</button> </form> </div> </div> </div> <div class="vector-sticky-header-context-bar"> <div class="vector-sticky-header-context-bar-primary" aria-hidden="true" >Tekst źródłowy strony Moduł:Infobox</div> </div> </div> <div class="vector-sticky-header-end" aria-hidden="true"> <div class="vector-sticky-header-icons"> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-talk-sticky-header" tabindex="-1" data-event-name="talk-sticky-header"><span class="vector-icon mw-ui-icon-speechBubbles mw-ui-icon-wikimedia-speechBubbles"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-subject-sticky-header" tabindex="-1" data-event-name="subject-sticky-header"><span class="vector-icon mw-ui-icon-article mw-ui-icon-wikimedia-article"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-history-sticky-header" tabindex="-1" data-event-name="history-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-history mw-ui-icon-wikimedia-wikimedia-history"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only mw-watchlink" id="ca-watchstar-sticky-header" tabindex="-1" data-event-name="watch-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-star mw-ui-icon-wikimedia-wikimedia-star"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-edit-sticky-header" tabindex="-1" data-event-name="wikitext-edit-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-wikiText mw-ui-icon-wikimedia-wikimedia-wikiText"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-ve-edit-sticky-header" tabindex="-1" data-event-name="ve-edit-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-edit mw-ui-icon-wikimedia-wikimedia-edit"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-viewsource-sticky-header" tabindex="-1" data-event-name="ve-edit-protected-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-editLock mw-ui-icon-wikimedia-wikimedia-editLock"></span> <span></span> </a> </div> <div class="vector-sticky-header-buttons"> <button class="cdx-button cdx-button--weight-quiet mw-interlanguage-selector" id="p-lang-btn-sticky-header" tabindex="-1" data-event-name="ui.dropdown-p-lang-btn-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>Dodaj języki</span> </button> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive" id="ca-addsection-sticky-header" tabindex="-1" data-event-name="addsection-sticky-header"><span class="vector-icon mw-ui-icon-speechBubbleAdd-progressive mw-ui-icon-wikimedia-speechBubbleAdd-progressive"></span> <span>Dodaj temat</span> </a> </div> <div class="vector-sticky-header-icon-end"> <div class="vector-user-links"> </div> </div> </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-76b99676fd-wq7qg","wgBackendResponseTime":165,"wgPageParseReport":{"limitreport":{"cputime":"0.003","walltime":"0.004","ppvisitednodes":{"value":15,"limit":1000000},"postexpandincludesize":{"value":495,"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-76b99676fd-wq7qg","timestamp":"20250224121725","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>