CINXE.COM

Pomoć:Funkcije parsera – Wikipedija

<!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-disabled skin-theme-clientpref-day vector-toc-available" lang="hr" dir="ltr"> <head> <meta charset="UTF-8"> <title>Pomoć:Funkcije parsera – Wikipedija</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-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )hrwikimwclientpreferences=([^;]+)/);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":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy hr","wgMonthNames":["","siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],"wgRequestId":"1a72caaa-cf43-4f16-924c-a4f8d1db6ffc","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Pomoć:Funkcije_parsera","wgTitle":"Funkcije parsera","wgCurRevisionId":6097394,"wgRevisionId":6097394,"wgArticleId":706346,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Pomoć"],"wgPageViewLanguage":"hr","wgPageContentLanguage":"hr","wgPageContentModel":"wikitext","wgRelevantPageName":"Pomoć:Funkcije_parsera","wgRelevantArticleId":706346,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0 ,"wgVisualEditor":{"pageLanguageCode":"hr","pageLanguageDir":"ltr","pageVariantFallbacks":"hr"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"visual","wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q8614470","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true ,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false,"wgSiteNoticeId":"2.5"};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.math.styles":"ready","mediawiki.special":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","mediawiki.htmlform.ooui.styles":"ready","ext.discussionTools.init.styles":"ready","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","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","site", "mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.Web2Cit","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","wikibase.client.vector-2022","ext.checkUser.clientHints","wikibase.sidebar.tracking","ext.dismissableSiteNotice"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=hr&amp;modules=ext.cite.styles%7Cext.discussionTools.init.styles%7Cext.dismissableSiteNotice.styles%7Cext.math.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cmediawiki.htmlform.ooui.styles%7Cmediawiki.special%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=hr&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=hr&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="Pomoć:Funkcije parsera – Wikipedija"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//hr.m.wikipedia.org/wiki/Pomo%C4%87:Funkcije_parsera"> <link rel="alternate" type="application/x-wiki" title="Uredi" href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&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="Wikipedija (hr)"> <link rel="EditURI" type="application/rsd+xml" href="//hr.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://hr.wikipedia.org/wiki/Pomo%C4%87:Funkcije_parsera"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.hr"> <link rel="alternate" type="application/atom+xml" title="Wikipedija Atom izvor" href="/w/index.php?title=Posebno:Nedavne_promjene&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject mw-editable page-Pomoć_Funkcije_parsera rootpage-Pomoć_Funkcije_parsera skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Prijeđi na sadržaj</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="Mrežno mjesto"> <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="Glavni izbornik" > <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">Glavni izbornik</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">Glavni izbornik</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">sakrij</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Orijentacija </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Glavna_stranica" title="Posjeti glavnu stranicu [z]" accesskey="z"><span>Glavna stranica</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedija:Sadr%C5%BEaj"><span>Sadržaj</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Posebno:Slu%C4%8Dajna_stranica" title="Učitavanje slučajne stranice [x]" accesskey="x"><span>Slučajna stranica</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Posebno:Nedavne_promjene" title="Popis nedavnih promjena u wikiju [r]" accesskey="r"><span>Nedavne promjene</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedija:Kafi%C4%87" title="O projektu, što možete učiniti, gdje se što nalazi"><span>Kafić</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Pomo%C4%87:Sadr%C5%BEaj" title="Mjesto gdje se može dobiti pomoć"><span>Pomoć</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Glavna_stranica" 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="Wikipedija" src="/static/images/mobile/copyright/wikipedia-wordmark-hr.svg" style="width: 7.5em; height: 1.375em;"> <img class="mw-logo-tagline" alt="Slobodna enciklopedija" src="/static/images/mobile/copyright/wikipedia-tagline-hr.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/Posebno:Tra%C5%BEi" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Pretraži Wikipediju [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Traži</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="Pretraži projekt Wikipedija" aria-label="Pretraži projekt Wikipedija" autocapitalize="sentences" title="Pretraži Wikipediju [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Posebno:Traži"> </div> <button class="cdx-button cdx-search-input__end-button">Traži</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Osobni alati"> <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="Izgled"> <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="Izgled" > <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">Izgled</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_hr.wikipedia.org&amp;uselang=hr" class=""><span>Donacije</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=Posebno:Stvori_ra%C4%8Dun&amp;returnto=Pomo%C4%87%3AFunkcije+parsera" title="Predlažemo Vam da stvorite račun i prijavite se, iako to nije obavezno" class=""><span>Stvori račun</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=Posebno:Prijava&amp;returnto=Pomo%C4%87%3AFunkcije+parsera" title="Predlažemo Vam da se prijavite, iako to nije obavezno [o]" accesskey="o" class=""><span>Prijavi se</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Više mogućnosti" > <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="Osobni alati" > <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">Osobni alati</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Suradnički izbornik" > <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_hr.wikipedia.org&amp;uselang=hr"><span>Donacije</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Posebno:Stvori_ra%C4%8Dun&amp;returnto=Pomo%C4%87%3AFunkcije+parsera" title="Predlažemo Vam da stvorite račun i prijavite se, iako to nije obavezno"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Stvori račun</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Posebno:Prijava&amp;returnto=Pomo%C4%87%3AFunkcije+parsera" title="Predlažemo Vam da se prijavite, iako to nije obavezno [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Prijavi se</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Stranice za neprijavljene suradnike <a href="/wiki/Pomo%C4%87:Uvod" aria-label="Vidi više o uređivanju"><span>saznajte više</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/Posebno:Moji_doprinosi" title="Popis uređivanja učinjenih s ove IP adrese [y]" accesskey="y"><span>Doprinosi</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Posebno:Moj_razgovor" title="Rasprava o uređivanjima s ove IP adrese [n]" accesskey="n"><span>Razgovor</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E[\u003Ca tabindex=\"0\" role=\"button\"\u003Esakrij\u003C/a\u003E]\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"sitenotice\" lang=\"hr\" dir=\"ltr\"\u003E\u003Ctable class=\"plainlinks fmbox fmbox-system\" style=\"clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; background: #f9f9f9; border:1px solid #E3B100;\"\u003E\n\u003Ctbody\u003E\u003Ctr\u003E\t\n\u003Ctd class=\"mbox-image\"\u003E\n \u003Cspan typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/Marko_Maruli%C4%87\" title=\"Marko Marulić\"\u003E\u003Cimg src=\"//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikipedia_Puzzleball_Maruli%C4%87_500.png/40px-Wikipedia_Puzzleball_Maruli%C4%87_500.png\" decoding=\"async\" width=\"40\" height=\"40\" class=\"mw-file-element\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikipedia_Puzzleball_Maruli%C4%87_500.png/60px-Wikipedia_Puzzleball_Maruli%C4%87_500.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikipedia_Puzzleball_Maruli%C4%87_500.png/80px-Wikipedia_Puzzleball_Maruli%C4%87_500.png 2x\" data-file-width=\"640\" data-file-height=\"640\" /\u003E\u003C/a\u003E\u003C/span\u003E\u003C/td\u003E\n\u003Ctd class=\"mbox-text\" style=\"\"\u003E \u003Cb\u003EGodina \u003Ca href=\"/wiki/Marko_Maruli%C4%87\" title=\"Marko Marulić\"\u003EMarka Marulića\u003C/a\u003E\u003C/b\u003E – 500 godina od smrti oca hrvatske književnosti. \u003C/td\u003E\n\u003C/tr\u003E\n\u003C/tbody\u003E\u003C/table\u003E\n\u003Ctable class=\"plainlinks fmbox fmbox-system\" style=\"clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; background: #f9f9f9; border:1px solid #eaa;\"\u003E\n\u003Ctbody\u003E\u003Ctr\u003E\t\n\u003Ctd class=\"mbox-image\"\u003E\n \u003Cspan typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/Wikipedija:Kriteriji_zna%C4%8Dajnosti_po_temama\" title=\"Wikipedija:Kriteriji značajnosti po temama\"\u003E\u003Cimg src=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/36/Help-content.svg/22px-Help-content.svg.png\" decoding=\"async\" width=\"22\" height=\"22\" class=\"mw-file-element\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/36/Help-content.svg/33px-Help-content.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/36/Help-content.svg/44px-Help-content.svg.png 2x\" data-file-width=\"48\" data-file-height=\"48\" /\u003E\u003C/a\u003E\u003C/span\u003E\u003C/td\u003E\n\u003Ctd class=\"mbox-text\" style=\"\"\u003E \u003Ca href=\"/wiki/Wikipedija:Kriteriji_zna%C4%8Dajnosti_po_temama\" title=\"Wikipedija:Kriteriji značajnosti po temama\"\u003ERaspravite \u003Cb\u003Erazradu po temama kriterija\u003C/b\u003E o značajnosti!\u003C/a\u003E \u003C/td\u003E\n\u003C/tr\u003E\n\u003C/tbody\u003E\u003C/table\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Mrežno mjesto"> <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="Sadržaj" 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">Sadržaj</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">sakrij</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">Početak</div> </a> </li> <li id="toc-Uvjetne_parserske_funkcije" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Uvjetne_parserske_funkcije"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Uvjetne parserske funkcije</span> </div> </a> <button aria-controls="toc-Uvjetne_parserske_funkcije-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>Sadržaj cjeline Uvjetne parserske funkcije</span> </button> <ul id="toc-Uvjetne_parserske_funkcije-sublist" class="vector-toc-list"> <li id="toc-expr" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#expr"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>expr</span> </div> </a> <ul id="toc-expr-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-if" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#if"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>if</span> </div> </a> <ul id="toc-if-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ifeq" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ifeq"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>ifeq</span> </div> </a> <ul id="toc-ifeq-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-iferror" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#iferror"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>iferror</span> </div> </a> <ul id="toc-iferror-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ifexpr" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ifexpr"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5</span> <span>ifexpr</span> </div> </a> <ul id="toc-ifexpr-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ifexist" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ifexist"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.6</span> <span>ifexist</span> </div> </a> <ul id="toc-ifexist-sublist" class="vector-toc-list"> <li id="toc-Ograničenja_ifexist" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Ograničenja_ifexist"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.6.1</span> <span>Ograničenja ifexist</span> </div> </a> <ul id="toc-Ograničenja_ifexist-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-switch" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#switch"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.7</span> <span>switch</span> </div> </a> <ul id="toc-switch-sublist" class="vector-toc-list"> <li id="toc-Grupiranje_rezultata" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Grupiranje_rezultata"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.7.1</span> <span>Grupiranje rezultata</span> </div> </a> <ul id="toc-Grupiranje_rezultata-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Upotreba_uz_parametre_predložaka" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Upotreba_uz_parametre_predložaka"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.7.2</span> <span>Upotreba uz parametre predložaka</span> </div> </a> <ul id="toc-Upotreba_uz_parametre_predložaka-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </li> <li id="toc-time" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#time"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>time</span> </div> </a> <ul id="toc-time-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Bilješke" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Bilješke"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Bilješke</span> </div> </a> <ul id="toc-Bilješke-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="Sadržaj" 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="Prikaz sadržaja stranice" > <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">Prikaz sadržaja stranice</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">Pomoć</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Funkcije parsera</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="Idi na druge jezične varijante članka. Dostupan je na 23 jezika" > <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-23" 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">23 jezika</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Hilfe:Vorlagenprogrammierung" title="Hilfe:Vorlagenprogrammierung – njemački" lang="de" hreflang="de" data-title="Hilfe:Vorlagenprogrammierung" data-language-autonym="Deutsch" data-language-local-name="njemački" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-dsb mw-list-item"><a href="https://dsb.wikipedia.org/wiki/Pomoc:P%C5%9Bed%C5%82ogowe_programowanje" title="Pomoc:Pśedłogowe programowanje – donjolužički" lang="dsb" hreflang="dsb" data-title="Pomoc:Pśedłogowe programowanje" data-language-autonym="Dolnoserbski" data-language-local-name="donjolužički" class="interlanguage-link-target"><span>Dolnoserbski</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Help:Conditional_expressions" title="Help:Conditional expressions – engleski" lang="en" hreflang="en" data-title="Help:Conditional expressions" data-language-autonym="English" data-language-local-name="engleski" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Aide:Fonctions_parseur" title="Aide:Fonctions parseur – francuski" lang="fr" hreflang="fr" data-title="Aide:Fonctions parseur" data-language-autonym="Français" data-language-local-name="francuski" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A2%D7%96%D7%A8%D7%94:%D7%94%D7%95%D7%A8%D7%90%D7%95%D7%AA_%D7%AA%D7%A0%D7%90%D7%99" title="עזרה:הוראות תנאי – hebrejski" lang="he" hreflang="he" data-title="עזרה:הוראות תנאי" data-language-autonym="עברית" data-language-local-name="hebrejski" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hsb mw-list-item"><a href="https://hsb.wikipedia.org/wiki/Pomoc:P%C5%99ed%C5%82ohowe_programowanje" title="Pomoc:Předłohowe programowanje – gornjolužički" lang="hsb" hreflang="hsb" data-title="Pomoc:Předłohowe programowanje" data-language-autonym="Hornjoserbsce" data-language-local-name="gornjolužički" class="interlanguage-link-target"><span>Hornjoserbsce</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Bantuan:Ungkapan_bersyarat" title="Bantuan:Ungkapan bersyarat – indonezijski" lang="id" hreflang="id" data-title="Bantuan:Ungkapan bersyarat" data-language-autonym="Bahasa Indonesia" data-language-local-name="indonezijski" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-inh mw-list-item"><a href="https://inh.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8:%D0%9F%D0%B0%D1%80%D1%81%D0%B5%D1%80%D0%B0_%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B5%D1%88" title="Википеди:Парсера функцеш – ingušetski" lang="inh" hreflang="inh" data-title="Википеди:Парсера функцеш" data-language-autonym="ГӀалгӀай" data-language-local-name="ingušetski" class="interlanguage-link-target"><span>ГӀалгӀай</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Hj%C3%A1lp:%C3%9E%C3%A1ttunar_a%C3%B0ger%C3%B0ir" title="Hjálp:Þáttunar aðgerðir – islandski" lang="is" hreflang="is" data-title="Hjálp:Þáttunar aðgerðir" data-language-autonym="Íslenska" data-language-local-name="islandski" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Aiuto:Funzioni_parser" title="Aiuto:Funzioni parser – talijanski" lang="it" hreflang="it" data-title="Aiuto:Funzioni parser" data-language-autonym="Italiano" data-language-local-name="talijanski" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Help:%E6%9D%A1%E4%BB%B6%E6%96%87" title="Help:条件文 – japanski" lang="ja" hreflang="ja" data-title="Help:条件文" data-language-autonym="日本語" data-language-local-name="japanski" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-lb mw-list-item"><a href="https://lb.wikipedia.org/wiki/H%C3%ABllef:Schablouneprogramm%C3%A9ierung" title="Hëllef:Schablouneprogramméierung – luksemburški" lang="lb" hreflang="lb" data-title="Hëllef:Schablouneprogramméierung" data-language-autonym="Lëtzebuergesch" data-language-local-name="luksemburški" class="interlanguage-link-target"><span>Lëtzebuergesch</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Help:Parserfuncties" title="Help:Parserfuncties – nizozemski" lang="nl" hreflang="nl" data-title="Help:Parserfuncties" data-language-autonym="Nederlands" data-language-local-name="nizozemski" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Pomoc:Funkcje_parsera" title="Pomoc:Funkcje parsera – poljski" lang="pl" hreflang="pl" data-title="Pomoc:Funkcje parsera" data-language-autonym="Polski" data-language-local-name="poljski" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Ajuda:Fun%C3%A7%C3%B5es_sint%C3%A1ticas" title="Ajuda:Funções sintáticas – portugalski" lang="pt" hreflang="pt" data-title="Ajuda:Funções sintáticas" data-language-autonym="Português" data-language-local-name="portugalski" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A4%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B8_%D0%BF%D0%B0%D1%80%D1%81%D0%B5%D1%80%D0%B0" title="Википедия:Функции парсера – ruski" lang="ru" hreflang="ru" data-title="Википедия:Функции парсера" data-language-autonym="Русский" data-language-local-name="ruski" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Help:Conditional_expressions" title="Help:Conditional expressions – Simple English" lang="en-simple" hreflang="en-simple" data-title="Help:Conditional expressions" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Pomo%C4%8D:ParserFunctions" title="Pomoč:ParserFunctions – slovenski" lang="sl" hreflang="sl" data-title="Pomoč:ParserFunctions" data-language-autonym="Slovenščina" data-language-local-name="slovenski" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%94%D0%BE%D0%B2%D1%96%D0%B4%D0%BA%D0%B0:%D0%A4%D1%83%D0%BD%D0%BA%D1%86%D1%96%D1%97_%D0%BF%D0%B0%D1%80%D1%81%D0%B5%D1%80%D0%B0" title="Довідка:Функції парсера – ukrajinski" lang="uk" hreflang="uk" data-title="Довідка:Функції парсера" data-language-autonym="Українська" data-language-local-name="ukrajinski" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D9%85%D8%B9%D8%A7%D9%88%D9%86%D8%AA:%D8%B4%D8%B1%D8%B7%DB%8C%DB%81_%D8%AC%D9%85%D9%84%DB%92" title="معاونت:شرطیہ جملے – urdski" lang="ur" hreflang="ur" data-title="معاونت:شرطیہ جملے" data-language-autonym="اردو" data-language-local-name="urdski" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Tr%E1%BB%A3_gi%C3%BAp:T%C3%ADnh_to%C3%A1n" title="Trợ giúp:Tính toán – vijetnamski" lang="vi" hreflang="vi" data-title="Trợ giúp:Tính toán" data-language-autonym="Tiếng Việt" data-language-local-name="vijetnamski" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-yi mw-list-item"><a href="https://yi.wikipedia.org/wiki/%D7%B0%D7%99%D7%A7%D7%99%D7%A4%D6%BC%D7%A2%D7%93%D7%99%D7%A2:%D7%A4%D7%90%D7%A8%D7%96%D7%A2%D7%A8_%D7%A4%D7%95%D7%A0%D7%A7%D7%A6%D7%99%D7%90%D7%A0%D7%A2%D7%9F" title="װיקיפּעדיע:פארזער פונקציאנען – jidiš" lang="yi" hreflang="yi" data-title="װיקיפּעדיע:פארזער פונקציאנען" data-language-autonym="ייִדיש" data-language-local-name="jidiš" class="interlanguage-link-target"><span>ייִדיש</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="Help:解析器函数 – kineski" lang="zh" hreflang="zh" data-title="Help:解析器函数" data-language-autonym="中文" data-language-local-name="kineski" class="interlanguage-link-target"><span>中文</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/Q8614470#sitelinks-wikipedia" title="Poveznice na druge jezike" class="wbc-editpage">Uredi poveznice</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="Imenski prostori"> <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-help" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Pomo%C4%87:Funkcije_parsera" title="Pogledaj stranicu za pomoć [c]" accesskey="c"><span>Pomoć</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Razgovor_o_pomo%C4%87i:Funkcije_parsera&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="Razgovorna stranica (stranica ne postoji) [t]" accesskey="t"><span>Razgovor</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="Promijeni jezičnu varijantu" > <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">hrvatski</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="Pogledi"> <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/Pomo%C4%87:Funkcije_parsera"><span>Čitaj</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit" title="Uredite ovu stranicu [v]" accesskey="v"><span>Uredi</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit" title="Uredite izvorni kôd ove stranice [e]" accesskey="e"><span>Uredi kôd</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=history" title="Ranije izmjene na ovoj stranici [h]" accesskey="h"><span>Vidi povijest</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Pomagala"> <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="Pomagala" > <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">Pomagala</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">Pomagala</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">sakrij</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Više mogućnosti" > <div class="vector-menu-heading"> Radnje </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/Pomo%C4%87:Funkcije_parsera"><span>Čitaj</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit" title="Uredite ovu stranicu [v]" accesskey="v"><span>Uredi</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit" title="Uredite izvorni kôd ove stranice [e]" accesskey="e"><span>Uredi kôd</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=history"><span>Vidi povijest</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Razno </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Posebno:%C5%A0to_vodi_ovamo/Pomo%C4%87:Funkcije_parsera" title="Popis svih stranica koje sadrže poveznice na ovu stranicu [j]" accesskey="j"><span>Što vodi ovamo</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Posebno:Povezane_promjene/Pomo%C4%87:Funkcije_parsera" rel="nofollow" title="Nedavne promjene na stranicama koje su povezane s navedenom stranicom [k]" accesskey="k"><span>Povezane promjene</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedija:Upload" title="Postavi datoteke [u]" accesskey="u"><span>Postavi datoteku</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Posebno:Posebne_stranice" title="Popis svih posebnih stranica [q]" accesskey="q"><span>Posebne stranice</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;oldid=6097394" title="Trajna poveznica na ovu verziju stranice"><span>Trajna poveznica</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=info" title="Više informacija o ovoj stranici"><span>Podatci o stranici</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Posebno:Skra%C4%87iva%C4%8D_adresa&amp;url=https%3A%2F%2Fhr.wikipedia.org%2Fwiki%2FPomo%25C4%2587%3AFunkcije_parsera"><span>Skraćeni URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Posebno:QrCode&amp;url=https%3A%2F%2Fhr.wikipedia.org%2Fwiki%2FPomo%25C4%2587%3AFunkcije_parsera"><span>Preuzmi QR kôd</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Ispis/izvoz </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Posebno:Zbirka&amp;bookcmd=book_creator&amp;referer=Pomo%C4%87%3AFunkcije+parsera"><span>Stvori knjigu</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Posebno:DownloadAsPdf&amp;page=Pomo%C4%87%3AFunkcije_parsera&amp;action=show-download-screen"><span>Preuzmi kao PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;printable=yes" title="Inačica za ispis ove stranice [p]" accesskey="p"><span>Inačica za ispis</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"> Wikimedijini projekti </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions" hreflang="en"><span>MediaWiki</span></a></li><li class="wb-otherproject-link wb-otherproject-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Help:Parser_function" hreflang="en"><span>Meta</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/Q8614470" title="Poveznica na stavku na projektu Wikipodatci [g]" accesskey="g"><span>Stavka na Wikipodatcima</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="Pomagala"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Izgled"> <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">Izgled</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">sakrij</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">Izvor: Wikipedija</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="hr" dir="ltr"><p><b>Funkcije parsera</b> svojevrsne su magične riječi koje primaju parametre i vraćaju rezultat nakon obrade. </p> <div style="margin-left:0.3rem"><i><style data-mw-deduplicate="TemplateStyles:r7016135">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable"><span typeof="mw:File"><a href="/wiki/Datoteka:Vista-xmag.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Vista-xmag.png/18px-Vista-xmag.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Vista-xmag.png/27px-Vista-xmag.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Vista-xmag.png/36px-Vista-xmag.png 2x" data-file-width="128" data-file-height="128"/></a></span> Podrobniji članci o temama: <a href="https://www.mediawiki.org/wiki/Help:Magic_words#Parser_functions" class="extiw" title="mw:Help:Magic words">mw:Help:Magic words § Parser functions</a>, i <a href="https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions" class="extiw" title="mw:Help:Extension:ParserFunctions">mw:Help:Extension:ParserFunctions</a></div></i></div> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Uvjetne_parserske_funkcije" data-mw-thread-id="h-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-Uvjetne_parserske_funkcije"></span>Uvjetne parserske funkcije<span data-mw-comment-end="h-Uvjetne_parserske_funkcije"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=1" title="Uredi odlomak: Uvjetne parserske funkcije" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=1" title="Uredi kôd odjeljka Uvjetne parserske funkcije"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Uvjetne_parserske_funkcije","replies":["h-expr-Uvjetne_parserske_funkcije","h-if-Uvjetne_parserske_funkcije","h-ifeq-Uvjetne_parserske_funkcije","h-iferror-Uvjetne_parserske_funkcije","h-ifexpr-Uvjetne_parserske_funkcije","h-ifexist-Uvjetne_parserske_funkcije","h-switch-Uvjetne_parserske_funkcije"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="expr" data-mw-thread-id="h-expr-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-expr-Uvjetne_parserske_funkcije"></span>expr<span data-mw-comment-end="h-expr-Uvjetne_parserske_funkcije"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=2" title="Uredi odlomak: expr" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=2" title="Uredi kôd odjeljka expr"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable" style="float:right; width:30%; margin-right:1em"> <tbody><tr> <th>Tip </th> <th><a href="/wiki/Operator_(programiranje)" title="Operator (programiranje)">Operatori</a> </th></tr> <tr> <td>Grupiranje (zagrade) </td> <td style="word-spacing: 0.5em; font-weight: bold;"><code>( )</code> </td></tr> <tr> <td>Brojevi </td> <td><code><b>1234.5</b></code>   <code><b>e</b></code> (2.718)   <code><b>pi</b></code> (3.142) </td></tr> <tr> <td> </td> <td>Binarni operator <code><b>e</b></code>   unarni <code><b>+</b></code>,<code><b>-</b></code> </td></tr> <tr> <td>Unarni </td> <td style="word-spacing: 0.5em; font-weight: bold;"><code>not ceil trunc floor abs exp ln sin cos tan acos asin atan</code> </td></tr> <tr> <td rowspan="3">Binarni </td> <td style="word-spacing: 0.5em; font-weight: bold;"><code>^</code> </td></tr> <tr> <td style="word-spacing: 0.5em; font-weight: bold;"><code>* / div mod</code> </td></tr> <tr> <td style="word-spacing: 0.5em; font-weight: bold;"><code>+ -</code> </td></tr> <tr> <td>Zaokruživanje </td> <td style="word-spacing: 0.5em; font-weight: bold;"><code>round</code> </td></tr> <tr> <td rowspan="3"><a href="/wiki/Booleova_algebra" title="Booleova algebra">Booleova algebra</a> </td> <td style="word-spacing: 0.5em; font-weight: bold;"><code>= != &lt;> > &lt; >= &lt;=</code> </td></tr> <tr> <td style="word-spacing: 0.5em; font-weight: bold;"><code>and</code> </td></tr> <tr> <td style="word-spacing: 0.5em; font-weight: bold;"><code>or</code> </td></tr></tbody></table> <p>Parserska funkcija <b>#expr</b> služi za izračunavanje matematičkih ili <a href="/wiki/Booleova_algebra" title="Booleova algebra">Booleovih izraza</a>. Funkcija podržava <a href="/wiki/Logaritam" title="Logaritam">logaritamske</a> i <a href="/wiki/Trigonometrija" title="Trigonometrija">trigonometrijske</a> izračune, znanstvenu notaciju, matematičke funkcije poput floor() ili trunc() i poštuje redoslijed matematičkih operacija. </p><p>Sintaksa: <code>{{#expr: <i>matematički izraz</i> }}</code> </p> <ul><li><code>{{#expr:floor1.5e1}}</code> => 15</li> <li><code>{{#expr:(not0or1)and0}}</code> => 0</li> <li><code>{{#expr:floor1.5^2}} </code> => 1</li> <li><code>{{#expr:12/3*2}}</code> => 8</li> <li><code>{{#expr:111/3mod10}}</code> => 7</li> <li><code>{{#expr:358mod10*2}}</code> => 16</li> <li><code>{{#expr:1.234round2-1}}</code> => 1.2</li></ul> <div class="mw-heading mw-heading3"><h3 id="if" data-mw-thread-id="h-if-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-if-Uvjetne_parserske_funkcije"></span>if<span data-mw-comment-end="h-if-Uvjetne_parserske_funkcije"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=3" title="Uredi odlomak: if" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=3" title="Uredi kôd odjeljka if"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Funkcija <b>#if</b> prima određenu vrijednost i vraća rezultat ovisno o tome je li vrijednost prazna ili ne. </p><p>Sintaksa: <code>{{#if: testni izraz | rezultat ako izraz nije prazan | rezultat ako je izraz prazan ili sadrži samo bjeline }}</code> </p> <ul><li><code>{{#if: abc | postoji | ne postoji}}</code> => postoji</li> <li><code>{{#if: | postoji | ne postoji}}</code> => ne postoji</li></ul> <p>Funkcija se najčešće upotrebljava za provjeru ima li parametar predloška asociranu vrijednost ili ne. Parametar nakon imena mora imati znak | kako bi funkcija radila očekivano. Primjerice, ako pozovemo predložak <code>{{<a href="/w/index.php?title=Predlo%C5%BEak:Primjer&amp;action=edit&amp;redlink=1" class="new" title="Predložak:Primjer (stranica ne postoji)">Primjer </a>|ime=David}}</code>, tada je: </p> <ul><li><code>{{#if: {{{ime|}}} | postoji | ne postoji }}</code> => postoji</li> <li><code>{{#if: {{{ime|}}} | Bok {{{ime}}}! | Niste unijeli ime }}</code> => Bok David!</li> <li><code>{{#if: {{{prezime|}}} | postoji | ne postoji }}</code> => ne postoji</li> <li><code>{{#if: {{{prezime}}} | postoji | ne postoji }}</code> => postoji <sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>a<span class="cite-bracket">]</span></a></sup></li></ul> <p>Ponašanje parametara detaljnije je prikazano u tablici ispod: </p> <table class="wikitable" style="text-align: center;"> <tbody><tr> <th colspan="2">Parametar </th> <th rowspan="2">{{{1}}} </th> <th rowspan="2">{{{1|}}} </th> <th colspan="2">{{#if: &lt;parametar> | da | ne }} </th></tr> <tr> <th>Opis </th> <th>Primjer, pozicijski </th> <th>{{{1}}} </th> <th>{{{1|}}} </th></tr> <tr> <td>Nije definiran </td> <td><code>{{primjer}}</code> </td> <td>{{{1}}} </td> <td> </td> <td style="background-color:#AFA">da </td> <td style="background-color:#FAA">ne </td></tr> <tr> <td>Definiran, ali prazan ili <i>null</i> </td> <td><code>{{primjer|}}, {{primjer|1=}}, {{primjer|param=}}</code> </td> <td> </td> <td> </td> <td style="background-color:#FAA">ne </td> <td style="background-color:#FAA">ne </td></tr> <tr> <td>Definiran, nije prazan </td> <td><code>{{primjer|abc}}, {{primjer|1=abc}}, {{primjer|param=abc}}</code> </td> <td>abc </td> <td>abc </td> <td style="background-color:#AFA">da </td> <td style="background-color:#AFA">da </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="ifeq" data-mw-thread-id="h-ifeq-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-ifeq-Uvjetne_parserske_funkcije"></span>ifeq<span data-mw-comment-end="h-ifeq-Uvjetne_parserske_funkcije"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=4" title="Uredi odlomak: ifeq" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=4" title="Uredi kôd odjeljka ifeq"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Funkcija parsera <b>#ifeq</b> uspoređuje dvije ulazne vrijednosti i vraća rezultat ovisno o tome jesu li vrijednosti identične. Ako je potrebno raditi više usporedbi i definirati više od dva izlazna slučaja, preporučeno je upotrebljavati funkciju <a href="#switch">#switch</a>. </p><p>Sintaksa: <code>{{#ifeq: prvi ulaz | drugi ulaz | rezultat ako su ulazi jednaki | rezultat ako ulazi nisu jednaki }}</code> </p> <ul><li><code>{{#ifeq: abc | abc | jednako | nejednako }}</code> => jednako</li> <li><code>{{#ifeq: abc | def | jednako | nejednako }}</code> => nejednako</li> <li><code>{{#ifeq: Abc | abc | jednako | nejednako }}</code> => nejednako</li></ul> <p>Ako su obje ulazne vrijednosti ispravne brojčane vrijednosti, usporedit će se kao brojevi: </p> <ul><li><code>{{#ifeq: 01 | 1 | jednako | nejednako }}</code> => jednako</li> <li><code>{{#ifeq: "01" | "1" | jednako | nejednako }}</code> => nejednako</li> <li><code>{{#ifeq: 0 | -0 | jednako | nejednako }}</code> => jednako</li> <li><code>{{#ifeq: 1e3 | 1000 | jednako | nejednako }}</code> => jednako</li> <li><code>{{#ifeq: {{#expr:10^3}} | 1000 | jednako | nejednako }}</code> => jednako</li></ul> <p>Upotreba magičnih riječi i oznaka u XML-u unutar parserskih funkcija može imati neočekivane rezultate: </p> <ul><li><code>{{#ifeq: &lt;nowiki>abc&lt;/nowiki> | &lt;nowiki>abc&lt;/nowiki> | jednako | nejednako }}</code> => nejednako</li> <li><code>{{#ifeq: &lt;math>abc&lt;/math> | &lt;math>abc&lt;/math> | jednako | nejednako }}</code> => nejednako</li> <li><code>{{#ifeq: {{:Posebno:PrefixIndex/{{FULLPAGENAME}}/}} | {{:Posebno:PrefixIndex/{{FULLPAGENAME}}/}} | jednako | nejednako }}</code> => nejednako</li></ul> <div class="mw-heading mw-heading3"><h3 id="iferror" data-mw-thread-id="h-iferror-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-iferror-Uvjetne_parserske_funkcije"></span>iferror<span data-mw-comment-end="h-iferror-Uvjetne_parserske_funkcije"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=5" title="Uredi odlomak: iferror" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=5" title="Uredi kôd odjeljka iferror"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Parserska funkcija <b>#iferror</b> prima unos i vraća jedan od dva rezultata ovisno o tome vraća li unos pogrešku ili ne. Pogreškom se smatra bilo koji objekt u HTML-u s atributom <i>class="error"</i> poput poruka o pogrešci pri izvođenju drugih parserskih funkcija. </p><p>Sintaksa: <code>{{#iferror: testni izraz | rezultat ako izraz vraća grešku | rezultat ako je izraz ispravan }}</code> </p> <ul><li><code>{{#iferror: {{#expr: 1 + 2 }} | pogrešno | ispravno }}</code> => ispravno</li> <li><code>{{#iferror: {{#expr: 1 + X }} | pogrešno | ispravno }}</code> => pogrešno <ul><li><code>{{#expr: 1 + X }}</code> => <strong class="error">Pogreška u izrazu: nepoznata riječ »x«</strong></li></ul></li></ul> <p>Ako se izostavi rezultat pri ispravnom izrazu, vraća se rezultat testnog izraza (ako nije pogrešan). Ako se izostavi i rezultat pri pogrešci, a rezultat sadrži pogrešku, vraća se prazan rezultat <code></code>. </p> <ul><li><code>{{#iferror: {{#expr: 1 + 2 }} | pogrešno }}</code> => 3</li> <li><code>{{#iferror: {{#expr: 1 + X }} | pogrešno }}</code> => pogrešno</li> <li><code>{{#iferror: {{#expr: 1 + 2 }} }}</code> => 3</li> <li><code>{{#iferror: {{#expr: 1 + X }} }}</code> =></li> <li><code>{{#iferror: {{#expr: . }} | pogrešno | ispravno }}</code> => ispravno <ul><li><code>{{#expr: . }}</code> => 0</li></ul></li> <li><code>{{#iferror: &lt;strong class="error">abc&lt;/strong> | pogrešno | ispravno }}</code> => pogrešno <ul><li><code>&lt;strong class="error">abc&lt;/strong></code> => <strong class="error">abc</strong></li></ul></li></ul> <div class="mw-heading mw-heading3"><h3 id="ifexpr" data-mw-thread-id="h-ifexpr-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-ifexpr-Uvjetne_parserske_funkcije"></span>ifexpr<span data-mw-comment-end="h-ifexpr-Uvjetne_parserske_funkcije"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=6" title="Uredi odlomak: ifexpr" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=6" title="Uredi kôd odjeljka ifexpr"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Parserska funkcija <b>#ifexpr</b> prima matematički izraz i vraća jedan od dvaju rezultata ovisno o tome je li izraz matematički ispravan ili ne. </p><p>Sintaksa: <code>{{#ifexpr: matematički izraz | rezultat ako je izraz točan | rezultat ako je izraz pogrešan }}</code> </p><p>Svi se izrazi izračunavaju jednako kao kod funkcije <a href="#expr">#expr</a>. Rezultat izraza zatim se promatra Booleovom logikom (<i>istina</i> ili <i>laž</i>). </p> <ul><li><code>{{#ifexpr: 1 > 0 | da | ne }}</code> => da</li> <li><code>{{#ifexpr: 1 &lt; 0 | da | ne }}</code> => ne</li> <li><code>{{#ifexpr: 0 = 0 | da | ne }}</code> => da</li> <li><code>{{#ifexpr: 1 > 0 | | ne }}</code> =></li> <li><code>{{#ifexpr: 1 > 0 }}</code> =></li> <li><code>{{#ifexpr: floor1.5e1 = 15 | da | ne }}</code> => da</li></ul> <p>Booleova logika također je podržana: </p> <ul><li><code>{{#ifexpr: 0 = 0 or 1 = 0 | da | ne }}</code> => da</li> <li><code>{{#ifexpr: 0 = 0 and 1 = 0 | da | ne }}</code> => ne</li></ul> <div class="mw-heading mw-heading3"><h3 id="ifexist" data-mw-thread-id="h-ifexist-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-ifexist-Uvjetne_parserske_funkcije"></span>ifexist<span data-mw-comment-end="h-ifexist-Uvjetne_parserske_funkcije"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=7" title="Uredi odlomak: ifexist" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=7" title="Uredi kôd odjeljka ifexist"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Funkcija parsera <b>#ifexist</b> prima naslov stranice i ispisuje vrijednost ovisno o tome postoji li stranica na lokalnom projektu. </p><p>Sintaksa: <code>{{#ifexist: ime stranice | rezultat ako je stranica postoji | rezultat ako stranica ne postoji }}</code> </p><p>Provjera stranice tom funkcijom dodaje poveznicu na Posebno:Što vodi ovamo za traženu stranicu. Kad bi se primjerice na toj stranici izveo kod <code>{{#ifexist:Abc}}</code>, pregled Što vodi ovamo sa stranice Abc sadržavao bi i poveznicu na tu stranicu. Provjera stranice koja ne postoji dodaje njezinu poveznicu na <a href="/wiki/Posebno:Tra%C5%BEene_stranice" title="Posebno:Tražene stranice">Posebno:Tražene stranice</a> (vidi <a href="https://phabricator.wikimedia.org/T14019" class="extiw" title="phab:T14019">phab:T14019</a> za detalje). </p><p>Ako je stranica stvorena pod navedenim naslovom, funkcija će je tretirati kao da postoji neovisno o tome ima li stranica sadržaj ili je izbijeljena, u kakvu je obliku sadržaj koji se na njoj nalazi (wikitekst, CSS, JavaScript, modul, slika ili drugo), je li vizualno prazna (primjerice ako se sastoji samo od kategorija ili međuwikipoveznica) i služi li za preusmjeravanje. Funkcija će tvrditi da stranica ne postoji samo ako je poveznica na stranicu crvena; u to mogu spadati i stranice koje su postojale, ali su potom izbrisane. </p> <ul><li><code>{{#ifexist: Pomoć:Funkcije parsera | postoji | ne postoji }}</code> => postoji</li> <li><code>{{#ifexist: ABCPomoć:Funkcije parseraABC | postoji | ne postoji }}</code> => ne postoji</li></ul> <p>Ako pružimo poveznice na poruke sučelja, funkcija će zaključiti da one postoje isključivo ako postoji lokalna inačica stranice. </p> <ul><li><code>{{#ifexist: MediaWiki:Talkpagetext | postoji | ne postoji }}</code> => postoji</li> <li><code>{{#ifexist: MediaWiki:Title-invalid-too-long | postoji | ne postoji }}</code> => ne postoji <sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>b<span class="cite-bracket">]</span></a></sup></li></ul> <p>Funkcija ispravno radi i s posebnim stranicama koje stvaraju proširenja instalirana na trenutačnom projektu. </p> <ul><li><code>{{#ifexist: Special:Watchlist | postoji | ne postoji }}</code> => postoji</li> <li><code>{{#ifexist: Posebno:Praćene stranice | postoji | ne postoji }}</code> => postoji</li> <li><code>{{#ifexist: Special:Checkuser | postoji | ne postoji }}</code> => postoji <sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>c<span class="cite-bracket">]</span></a></sup></li> <li><code>{{#ifexist: Posebno:Provjeri suradnika | postoji | ne postoji }}</code> => postoji</li></ul> <p>Pri provjeri datoteka upotreba prefiksa <i>Datoteka:</i> ili <i>File:</i> provjerit će postojanje lokalne inačice datoteke, neovisno o tome postoji li datoteka na <a href="https://commons.wikimedia.org/wiki/" class="extiw" title="commons:">Zajedničkom poslužitelju</a>. Upotreba prefiksa <i>Media:</i> pretražit će i Zajednički poslužitelj. </p><p>Primjer datoteke sa Zajedničkog poslužitelja: </p> <ul><li><code>{{#ifexist: Datoteka:JAB-code.png | postoji | ne postoji }}</code> => ne postoji</li> <li><code>{{#ifexist: File:JAB-code.png | postoji | ne postoji }}</code> => ne postoji</li> <li><code>{{#ifexist: Media:JAB-code.png | postoji | ne postoji }}</code> => postoji</li></ul> <p>Primjer lokalne datoteke: </p> <ul><li><code>{{#ifexist: Datoteka:EWTN Logo.svg | postoji | ne postoji }}</code> => postoji</li> <li><code>{{#ifexist: File:EWTN Logo.svg | postoji | ne postoji }}</code> => postoji</li> <li><code>{{#ifexist: Media:EWTN Logo.svg | postoji | ne postoji }}</code> => postoji</li></ul> <p>Funkcija ne radi za međuwikipoveznice: </p> <ul><li><code>{{#ifexist: :en:Borg | postoji | ne postoji }}</code> => ne postoji</li> <li><code>{{#ifexist: :mw:Help:Extension:ParserFunctions | postoji | ne postoji }}</code> => ne postoji</li></ul> <div class="mw-heading mw-heading4"><h4 id="Ograničenja_ifexist" data-mw-thread-id="h-Ograničenja_ifexist-ifexist"><span id="Ograni.C4.8Denja_ifexist"></span><span data-mw-comment-start="" id="h-Ograničenja_ifexist-ifexist"></span>Ograničenja ifexist<span data-mw-comment-end="h-Ograničenja_ifexist-ifexist"></span></h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=8" title="Uredi odlomak: Ograničenja ifexist" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=8" title="Uredi kôd odjeljka Ograničenja ifexist"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Funkcija <b>#ifexist</b> smatra se zahtjevnom parserskom funkcijom. Svaka stranica na projektu dopušta zvanje ograničenog broja zahtjevnih funkcija (obično njih 500). U to se ograničenje ubrajaju i zahtjevne funkcije pozvane unutar predložaka u članku. Svaka zahtjevna funkcija pozvana nakon dostizanja tog ograničenja vratit će rezultat <i>false</i> (negativnu granu funkcije) bez provjere rezultata. </p> <div class="mw-heading mw-heading3"><h3 id="switch" data-mw-thread-id="h-switch-Uvjetne_parserske_funkcije"><span data-mw-comment-start="" id="h-switch-Uvjetne_parserske_funkcije"></span>switch<span data-mw-comment-end="h-switch-Uvjetne_parserske_funkcije"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=9" title="Uredi odlomak: switch" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=9" title="Uredi kôd odjeljka switch"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Parserska funkcija <b>#switch</b> uspoređuje jednu ulaznu vrijednost s više mogućih ogranaka i vraća izlaznu vrijednost asociranu uz ogranak u kojem je pronađena podudarnost. </p><p> Sintaksa: </p><pre>{{#switch: vrijednost koju uspoređujemo | slučaj1 = rezultat1 | slučaj2 = rezultat2 | ... | slučajN = rezultatN | #default = rezultat ako nema podudarnosti }}</pre> <p>Ako se grana #default izostavi, a nema podudarnosti, funkcija neće ispisati nikakav rezultat. Zadnja grana bez jednakosti predodređeno je <i>default</i>, pa se tekst "#default=" može i izostaviti. </p><p>Primjeri: </p> <ul><li><code>{{#switch: abc |abc = rezultat1 |def = rezultat2 |ghi = rezultat3 |#default = ništa}}</code> => rezultat1</li> <li><code>{{#switch: def |abc = rezultat1 |def = rezultat2 |ghi = rezultat3 |#default = ništa}}</code> => rezultat2</li> <li><code>{{#switch: ghi |abc = rezultat1 |def = rezultat2 |ghi = rezultat3 |#default = ništa}}</code> => rezultat3</li> <li><code>{{#switch: zzz |abc = rezultat1 |def = rezultat2 |ghi = rezultat3 |#default = ništa}}</code> => ništa</li> <li><code>{{#switch: zzz |abc = rezultat1 |def = rezultat2 |ghi = rezultat3 | ništa}}</code> => ništa</li></ul> <p>Kao što je bio slučaj s <a href="#ifeq">#ifeq</a>, ako je vrijednost koja se ispituje numerička, uspoređivat će se kao broj: </p> <ul><li><code>{{#switch: 0 + 1 | 1 = jedan | 2 = dva | drugo }}</code> => drugo</li> <li><code>{{#switch: {{#expr: 0 + 1}} | 1 = jedan | 2 = dva | drugo }}</code> => jedan</li></ul> <p>Funkcija razlikuje velika i mala slova: </p> <ul><li><code>{{#switch: a | a = A | b = B | C }}</code> => A</li> <li><code>{{#switch: A | a = A | b = B | C }}</code> => C</li></ul> <p>Funkcija staje čim se pronađe prva podudarnost. Sva ostala poklapanja (ako postoje) ignoriraju se: </p> <ul><li><code>{{#switch: b | f = abc | b = def | b = ghi | ništa }}</code> => def</li></ul> <div class="mw-heading mw-heading4"><h4 id="Grupiranje_rezultata" data-mw-thread-id="h-Grupiranje_rezultata-switch"><span data-mw-comment-start="" id="h-Grupiranje_rezultata-switch"></span>Grupiranje rezultata<span data-mw-comment-end="h-Grupiranje_rezultata-switch"></span></h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=10" title="Uredi odlomak: Grupiranje rezultata" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=10" title="Uredi kôd odjeljka Grupiranje rezultata"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Funkcija podržava mogućnost da nekoliko slučajeva vraća isti rezultat: </p> <pre>{{#switch: vrijednost | 1 = prvi | 2 = drugi | 3|4|5 = treći do peti | 6|7 = šesti ili sedmi | 8 = osmi | #default: više od osam }}</pre> <p>U tom slučaju vrijednosti 3, 4 ili 5 vraćaju rezultat "treći do peti", a vrijednosti 6 ili 7 vraćaju "šesti ili sedmi". </p> <div class="mw-heading mw-heading4"><h4 id="Upotreba_uz_parametre_predložaka" data-mw-thread-id="h-Upotreba_uz_parametre_predložaka-switch"><span id="Upotreba_uz_parametre_predlo.C5.BEaka"></span><span data-mw-comment-start="" id="h-Upotreba_uz_parametre_predložaka-switch"></span>Upotreba uz parametre predložaka<span data-mw-comment-end="h-Upotreba_uz_parametre_predložaka-switch"></span></h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=11" title="Uredi odlomak: Upotreba uz parametre predložaka" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=11" title="Uredi kôd odjeljka Upotreba uz parametre predložaka"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Funkcija kao vrijednost može provjeravati i vrijednost parametra predloška. Za razliku od funkcije <a href="#if">#if</a> uz navođenje parametra nije nužno pisati znak <code>|</code>. Primjerice: </p> <ul><li><code>{{#switch: {{{1}}} |abc = rezultat1 |def = rezultat2 |#default = ništa}}</code></li></ul> <p>Ako je u gornjem kodu prvi parametar jednak vrijednosti "abc", funkcija će vratiti "rezultat1", a ako je jednak "def", funkcija će vratiti "rezultat2". Ako prvi parametar nije naveden ili nema vrijednost, ili ako ima vrijednost koja nije navedena u funkciji switch, funkcija će vratiti "ništa". </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="time" data-mw-thread-id="h-time"><span data-mw-comment-start="" id="h-time"></span>time<span data-mw-comment-end="h-time"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=12" title="Uredi odlomak: time" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=12" title="Uredi kôd odjeljka time"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-time","replies":[]}}--></div> <div style="margin-left:0.3rem"><i><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r7016135"><div role="note" class="hatnote navigation-not-searchable"><span typeof="mw:File"><a href="/wiki/Datoteka:Vista-xmag.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Vista-xmag.png/18px-Vista-xmag.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Vista-xmag.png/27px-Vista-xmag.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Vista-xmag.png/36px-Vista-xmag.png 2x" data-file-width="128" data-file-height="128"/></a></span> Podrobniji članak o temi: <a href="/wiki/Pomo%C4%87:Vremenska_funkcija" title="Pomoć:Vremenska funkcija">Pomoć:Vremenska funkcija</a></div></i></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Bilješke" data-mw-thread-id="h-Bilješke"><span id="Bilje.C5.A1ke"></span><span data-mw-comment-start="" id="h-Bilješke"></span>Bilješke<span data-mw-comment-end="h-Bilješke"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;veaction=edit&amp;section=13" title="Uredi odlomak: Bilješke" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;action=edit&amp;section=13" title="Uredi kôd odjeljka Bilješke"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Bilje\u0161ke","replies":[]}}--></div> <style data-mw-deduplicate="TemplateStyles:r6541845">.mw-parser-output .reflist{font-size:90%;margin-bottom:0.5em;list-style-type:decimal}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist reflist-lower-alpha"> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text">Nedostaje znak <code>|</code>; ovo se shvaća kao doslovni unos "{{{prezime}}}"</span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a></span> <span class="reference-text">Ova poruka postoji na TranslateWikiju, i koristi se u sučelju, ali ne postoji lokalno premoštenje ovog prijevoda</span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a></span> <span class="reference-text">Na ovom je projektu aktivno proširenje <a href="https://www.mediawiki.org/wiki/Extension:Checkuser" class="extiw" title="mw:Extension:Checkuser">mw:Extension:Checkuser</a></span> </li> </ol></div></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐wfhcx Cached time: 20241124092709 Cache expiry: 1342 Reduced expiry: true Complications: [show‐toc] DiscussionTools time usage: 0.019 seconds CPU time usage: 0.139 seconds Real time usage: 0.426 seconds Preprocessor visited node count: 1002/1000000 Post‐expand include size: 2609/2097152 bytes Template argument size: 405/2097152 bytes Highest expansion depth: 7/100 Expensive parser function count: 9/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 6997/5000000 bytes Lua time usage: 0.019/10.000 seconds Lua memory usage: 743496/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 355.411 1 -total 71.36% 253.616 2 Posebno:PrefixIndex/Pomoć:Funkcije_parsera/ 12.34% 43.853 2 Predložak:Glavni 5.70% 20.252 3 Predložak:Efn 4.60% 16.356 1 Predložak:Notelist 3.49% 12.404 1 Predložak:Izvori 2.58% 9.153 1 Predložak:Tlx --> <!-- Saved in parser cache with key hrwiki:pcache:idhash:706346-0!canonical and timestamp 20241124092709 and revision id 6097394. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Dobavljeno iz "<a dir="ltr" href="https://hr.wikipedia.org/w/index.php?title=Pomoć:Funkcije_parsera&amp;oldid=6097394">https://hr.wikipedia.org/w/index.php?title=Pomoć:Funkcije_parsera&amp;oldid=6097394</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Posebno:Kategorije" title="Posebno:Kategorije">Kategorija</a>: <ul><li><a href="/wiki/Kategorija:Pomo%C4%87" title="Kategorija:Pomoć">Pomoć</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"> Ova stranica posljednji je put uređivana 30. listopada 2021. u 01:37.</li> <li id="footer-info-copyright">Tekst je dostupan pod licencijom <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.hr">Creative Commons: Imenuj autora/Dijeli pod istim uvjetima</a>; mogu se primjenjivati i dodatni uvjeti. Pogledajte <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Uvjete upotrebe</a> za detalje.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Zaštita privatnosti</a></li> <li id="footer-places-about"><a href="/wiki/Impresum">Impresum</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedija:Op%C4%87e_odricanje_od_odgovornosti">Odricanje od odgovornosti</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Kodeks ponašanja</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Razvojni programeri</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/hr.wikipedia.org">Statistika</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Izjava o kolačićima</a></li> <li id="footer-places-mobileview"><a href="//hr.m.wikipedia.org/w/index.php?title=Pomo%C4%87:Funkcije_parsera&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Prikaz za mobilne uređaje</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-wfhcx","wgBackendResponseTime":1041,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Uvjetne_parserske_funkcije","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-expr-Uvjetne_parserske_funkcije","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-if-Uvjetne_parserske_funkcije","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ifeq-Uvjetne_parserske_funkcije","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-iferror-Uvjetne_parserske_funkcije","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ifexpr-Uvjetne_parserske_funkcije","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ifexist-Uvjetne_parserske_funkcije","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Ograničenja_ifexist-ifexist","replies":[]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-switch-Uvjetne_parserske_funkcije","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Grupiranje_rezultata-switch","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Upotreba_uz_parametre_predložaka-switch","replies":[]}]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-time","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Bilješke","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.019"},"limitreport":{"cputime":"0.139","walltime":"0.426","ppvisitednodes":{"value":1002,"limit":1000000},"postexpandincludesize":{"value":2609,"limit":2097152},"templateargumentsize":{"value":405,"limit":2097152},"expansiondepth":{"value":7,"limit":100},"expensivefunctioncount":{"value":9,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":6997,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 355.411 1 -total"," 71.36% 253.616 2 Posebno:PrefixIndex/Pomoć:Funkcije_parsera/"," 12.34% 43.853 2 Predložak:Glavni"," 5.70% 20.252 3 Predložak:Efn"," 4.60% 16.356 1 Predložak:Notelist"," 3.49% 12.404 1 Predložak:Izvori"," 2.58% 9.153 1 Predložak:Tlx"]},"scribunto":{"limitreport-timeusage":{"value":"0.019","limit":"10.000"},"limitreport-memusage":{"value":743496,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-wfhcx","timestamp":"20241124092709","ttl":1342,"transientcontent":true}}});});</script> </body> </html>

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