CINXE.COM
Help:Property constraints portal/Format - Wikidata
<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Help:Property constraints portal/Format - Wikidata</title> <script>(function(){var className="client-js";var cookie=document.cookie.match(/(?:^|; )wikidatawikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"3e19e944-5581-4f7e-bc53-70802ba8c666","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:Property_constraints_portal/Format","wgTitle":"Property constraints portal/Format","wgCurRevisionId":2179294384,"wgRevisionId":2179294384,"wgArticleId":33580991,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view" ,"wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Help:Properties","Help-en","Properties with format constraints"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:Property_constraints_portal/Format","wgRelevantArticleId":33580991,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikidata","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":7000,"wgInternalRedirectTargetUrl":"/wiki/Help:Property_constraints_portal/Format","wgTranslatePageTranslation":"source","wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true, "wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q21502404","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.styles.legacy":"ready" ,"jquery.makeCollapsible.styles":"ready","ext.translate.edit.documentation.styles":"ready","ext.translate":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","codex-search-styles":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","mediawiki.page.media","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.legacy.js","wikibase.ui.entitysearch","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.gadget.Search","ext.gadget.ProtectionIndicators","ext.gadget.imagelinks","ext.gadget.NewSection","ext.gadget.formWizard","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.wikimediaEvents.wikibase","ext.navigationTiming", "ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=codex-search-styles%7Cext.discussionTools.init.styles%7Cext.translate%2CwikimediaBadges%7Cext.translate.edit.documentation.styles%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cjquery.makeCollapsible.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy%7Cwikibase.client.init&only=styles&skin=vector"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector"> <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"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.wikidata.org/wiki/Help:Property_constraints_portal/Format"> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikidata.png"> <link rel="icon" href="/static/favicon/wikidata.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikidata (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.wikidata.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.wikidata.org/wiki/Help:Property_constraints_portal/Format"> <link rel="license" href="/wiki/Wikidata:Copyright"> <link rel="alternate" type="application/atom+xml" title="Wikidata Atom feed" href="/w/index.php?title=Special:RecentChanges&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-vector-legacy mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject mw-editable page-Help_Property_constraints_portal_Format rootpage-Help_Property_constraints_portal skin-vector action-view"><div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div id="siteNotice"><!-- CentralNotice --></div> <div class="mw-indicators"> </div> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Help</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Property constraints portal/Format</span></h1> <div id="bodyContent" class="vector-body"> <div id="siteSub" class="noprint">From Wikidata</div> <div id="contentSub"><div id="mw-content-subtitle"><div class="subpages">< <bdi dir="ltr"><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal" title="Special:MyLanguage/Help:Property constraints portal">Help:Property constraints portal</a></bdi></div></div></div> <div id="contentSub2"></div> <div id="jump-to-nav"></div> <a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint nomobile" dir="ltr" lang="en"><a href="/w/index.php?title=Special:Translate&group=page-Help%3AProperty+constraints+portal%2FFormat&action=page&filter=&action_source=translate_page" title="Special:Translate">Translate this page</a></div><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Other languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Help:Property_constraints_portal/Format/de" class="mw-pt-progress mw-pt-progress--med" title="Help:Property constraints portal/Format/de (24% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><span class="mw-pt-languages-ui mw-pt-languages-selected mw-pt-progress mw-pt-progress--complete" lang="en" dir="ltr">English</span></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/eo" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/Format/eo (8% translated)" lang="eo" dir="ltr">Esperanto</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/nl" class="mw-pt-progress mw-pt-progress--complete" title="Help:Property constraints portal/Format/nl (100% translated)" lang="nl" dir="ltr">Nederlands</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/tr" class="mw-pt-progress mw-pt-progress--med" title="Help:Property constraints portal/Format/tr (20% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/es" class="mw-pt-progress mw-pt-progress--low" title="Help:Portal de restricciones de propiedad/Formato (4% translated)" lang="es" dir="ltr">español</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/fr" class="mw-pt-progress mw-pt-progress--complete" title="Aide:Contraintes de propriété/Format (100% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/pl" class="mw-pt-progress mw-pt-progress--med" title="Help:Property constraints portal/Format/pl (32% translated)" lang="pl" dir="ltr">polski</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/sv" class="mw-pt-progress mw-pt-progress--complete" title="Help:Egenskapsbegränsnings-portal/format (100% translated)" lang="sv" dir="ltr">svenska</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/szl" class="mw-pt-progress mw-pt-progress--med" title="Help:Property constraints portal/Format/szl (24% translated)" lang="szl" dir="ltr">ślůnski</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/ru" class="mw-pt-progress mw-pt-progress--high" title="Справка:Ограничения свойств/Формат (76% translated)" lang="ru" dir="ltr">русский</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/sr" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/Format/sr (8% translated)" lang="sr" dir="ltr">српски / srpski</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/uk" class="mw-pt-progress mw-pt-progress--med" title="Довідка:Портал обмежень властивостей/Формат (52% translated)" lang="uk" dir="ltr">українська</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/hy" class="mw-pt-progress mw-pt-progress--med" title="Help:Property constraints portal/Format/hy (20% translated)" lang="hy" dir="ltr">հայերեն</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/ar" class="mw-pt-progress mw-pt-progress--med" title="مساعدة:بوابة محددات الخواص/صيغة (56% translated)" lang="ar" dir="rtl">العربية</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/zh" class="mw-pt-progress mw-pt-progress--med" title="Help:属性约束专题/格式约束 (24% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Format/ja" class="mw-pt-progress mw-pt-progress--high" title="Help:プロパティ制約/形式 (92% translated)" lang="ja" dir="ltr">日本語</a></li></ul></div> <style data-mw-deduplicate="TemplateStyles:r2202362292">.mw-parser-output th.mbox-text,.mw-parser-output td.mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output td.mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output td.mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output td.mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output table.ambox{margin:0 10%;border:1px solid var(--border-color-base,#a2a9b1);border-left:10px solid var(--border-color-progressive,#36c);background-color:var(--background-color-interactive-subtle,#f8f9fa);box-sizing:border-box}.mw-parser-output table.ambox+table.ambox{margin-top:-1px}.mw-parser-output .ambox th.mbox-text,.mw-parser-output .ambox td.mbox-text{padding:0.25em 0.5em}.mw-parser-output .ambox td.mbox-image{padding:2px 0 2px 0.5em}.mw-parser-output .ambox td.mbox-imageright{padding:2px 0.5em 2px 0}.mw-parser-output table.ambox-notice{border-left:10px solid var(--border-color-progressive,#36c)}.mw-parser-output table.ambox-speedy{border-left:10px solid var(--border-color-error,#b32424);background-color:#fee7e6}.mw-parser-output table.ambox-delete{border-left:10px solid var(--border-color-error,#b32424)}.mw-parser-output table.ambox-content{border-left:10px solid #f28500}.mw-parser-output table.ambox-style{border-left:10px solid var(--border-color-content-removed,#fc3)}.mw-parser-output table.ambox-move{border-left:10px solid #9932cc}.mw-parser-output table.ambox-protection{border-left:10px solid var(--border-color-base,#a2a9b1)}.mw-parser-output table.imbox{margin:4px 10%;border-collapse:collapse;border:3px solid var(--border-color-progressive,#36c);background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box}.mw-parser-output .imbox .mbox-text .imbox{margin:0 -0.5em;display:block}.mw-parser-output .mbox-inside .imbox{margin:4px}.mw-parser-output table.imbox-notice{border:3px solid var(--border-color-progressive,#36c)}.mw-parser-output table.imbox-speedy{border:3px solid var(--border-color-error,#b32424);background-color:#fee7e6}.mw-parser-output table.imbox-delete{border:3px solid var(--border-color-error,#b32424)}.mw-parser-output table.imbox-content{border:3px solid #f28500}.mw-parser-output table.imbox-style{border:3px solid var(--border-color-content-removed,#fc3)}.mw-parser-output table.imbox-move{border:3px solid #9932cc}.mw-parser-output table.imbox-protection{border:3px solid var(--border-color-base,#a2a9b1)}.mw-parser-output table.imbox-license{border:3px solid #88a;background-color:#f7f8ff}.mw-parser-output table.imbox-featured{border:3px solid #cba135}.mw-parser-output table.cmbox{margin:3px 10%;border-collapse:collapse;border:1px solid var(--border-color-base,#a2a9b1);background-color:#dfe8ff;box-sizing:border-box}.mw-parser-output table.cmbox-notice{background-color:#d8e8ff}.mw-parser-output table.cmbox-speedy{margin-top:4px;margin-bottom:4px;border:4px solid var(--border-color-error,#b32424);background-color:#ffdbdb}.mw-parser-output table.cmbox-delete{background-color:#ffdbdb}.mw-parser-output table.cmbox-content{background-color:#ffe7ce}.mw-parser-output table.cmbox-style{background-color:#fff9db}.mw-parser-output table.cmbox-move{background-color:#e4d8ff}.mw-parser-output table.cmbox-protection{background-color:#efefe1}.mw-parser-output table.ombox{margin:4px 10%;border-collapse:collapse;border:1px solid var(--border-color-base,#a2a9b1);background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box}.mw-parser-output table.ombox-notice{border:1px solid var(--border-color-base,#a2a9b1)}.mw-parser-output table.ombox-speedy{border:2px solid var(--border-color-error,#b32424);background-color:#fee7e6}.mw-parser-output table.ombox-delete{border:2px solid var(--border-color-error,#b32424)}.mw-parser-output table.ombox-content{border:1px solid #f28500}.mw-parser-output table.ombox-style{border:1px solid var(--border-color-content-removed,#fc3)}.mw-parser-output table.ombox-move{border:1px solid #9932cc}.mw-parser-output table.ombox-protection{border:2px solid var(--border-color-base,#a2a9b1)}.mw-parser-output table.tmbox{margin:4px 10%;border-collapse:collapse;border:1px solid var(--border-color-base,#a2a9b1);background-color:var(--background-color-neutral-subtle,#f8f9fa);min-width:80%;box-sizing:border-box}.mw-parser-output .tmbox.mbox-small{min-width:0}.mw-parser-output .mediawiki .mbox-inside .tmbox{margin:2px 0;width:100%}.mw-parser-output .mbox-inside .tmbox.mbox-small{line-height:1.5em;font-size:100%}.mw-parser-output table.tmbox-speedy{border:2px solid var(--border-color-error,#b32424);background-color:#fee7e6}.mw-parser-output table.tmbox-delete{border:2px solid var(--border-color-error,#b32424)}.mw-parser-output table.tmbox-content{border:2px solid #f28500}.mw-parser-output table.tmbox-style{border:2px solid var(--border-color-content-removed,#fc3)}.mw-parser-output table.tmbox-move{border:2px solid #9932cc}.mw-parser-output table.tmbox-protection{border:1px solid #c0c090}.mw-parser-output table.fmbox{clear:both;margin:0.2em 0;width:100%;border:1px solid var(--border-color-base,#a2a9b1);background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box}.mw-parser-output table.fmbox-system{background-color:var(--background-color-neutral-subtle,#f8f9fa)}.mw-parser-output table.fmbox-warning{border:1px solid #bb7070;background-color:#ffdbdb}.mw-parser-output table.fmbox-editnotice{background-color:transparent}html body.mediawiki .mw-parser-output .mbox-small{clear:right;float:right;margin:4px 0 4px 1em;box-sizing:border-box;width:238px;font-size:88%;line-height:1.25em}html body.mediawiki .mw-parser-output .mbox-small-left{margin:4px 1em 4px 0;box-sizing:border-box;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}</style><table class="plainlinks ombox ombox-notice" role="presentation" lang="en" dir="auto"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/40px-Information_icon4.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/60px-Information_icon4.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/80px-Information_icon4.svg.png 2x" data-file-width="620" data-file-height="620"/></span></span></td><td class="mbox-text">This is the documentation page for a particular constraint type. See <a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal" title="Special:MyLanguage/Help:Property constraints portal">Help:Property constraints portal</a> for a general overview of property constraints.</td></tr></tbody></table> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Pictogram_voting_regex.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/220px-Pictogram_voting_regex.svg.png" decoding="async" width="220" height="220" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/330px-Pictogram_voting_regex.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/440px-Pictogram_voting_regex.svg.png 2x" data-file-width="249" data-file-height="249"/></a><figcaption></figcaption></figure> <p><a href="/wiki/Q21502404" title="Q21502404">format constraint <small>(Q21502404)</small></a> specifies that values for a property should conform to a certain pattern. </p><p>For example, the value for <a href="/wiki/Property:P590" title="Property:P590">GNIS Feature ID <small dir="ltr">(P590)</small></a> should always be a number with up to eight digits, without leading zeroes: <code>[1-9][0-9]{0,7}</code>. </p><p>The pattern is a <a href="https://en.wikipedia.org/wiki/Regular_expression" class="extiw" title="en:Regular expression">regular expression</a>, but the flavor varies: <a href="/wiki/User:KrBot" title="User:KrBot">KrBot</a>, which creates the <a href="/wiki/Wikidata:Database_reports/Constraint_violations" title="Wikidata:Database reports/Constraint violations">database reports</a>, uses <a href="https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions" class="extiw" title="en:Perl Compatible Regular Expressions">PCRE</a>; the <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:WikibaseQualityConstraints" class="extiw" title="mw:Special:MyLanguage/Extension:WikibaseQualityConstraints">WikibaseQualityConstraints extension</a>, which powers the <a href="/wiki/File:Wikidata_property_constraint_violation.png" title="File:Wikidata property constraint violation.png">live constraint checks</a> and <a href="/wiki/Special:ConstraintReport" title="Special:ConstraintReport">Special:ConstraintReport</a>, uses PCRE since August 2021 (having previously used <a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html">java.util.regex</a>); <a href="/wiki/Special:MyLanguage/Wikidata:Tools/OpenRefine" title="Special:MyLanguage/Wikidata:Tools/OpenRefine">OpenRefine</a> uses java.util.regex; other implementations may use something else to check regular expressions. The flavors are mostly, but not entirely compatible; for maximum compatibility with different constraint engines, it’s recommended to stick to the common subset of the flavors. </p><p>If no <a href="/wiki/Property:P4680" title="Property:P4680">constraint scope <small dir="ltr">(P4680)</small></a> is specified, this constraint is checked everywhere. </p> <div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Possible_actions"><span class="tocnumber">1</span> <span class="toctext">Possible actions</span></a></li> <li class="toclevel-1 tocsection-2"><a href="#Parameters"><span class="tocnumber">2</span> <span class="toctext">Parameters</span></a></li> <li class="toclevel-1 tocsection-3"><a href="#Examples"><span class="tocnumber">3</span> <span class="toctext">Examples</span></a> <ul> <li class="toclevel-2 tocsection-4"><a href="#Example_1"><span class="tocnumber">3.1</span> <span class="toctext">Example 1</span></a></li> <li class="toclevel-2 tocsection-5"><a href="#Example_2"><span class="tocnumber">3.2</span> <span class="toctext">Example 2</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-6"><a href="#Template"><span class="tocnumber">4</span> <span class="toctext">Template</span></a></li> <li class="toclevel-1 tocsection-7"><a href="#Lists"><span class="tocnumber">5</span> <span class="toctext">Lists</span></a></li> </ul> </div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Possible_actions" data-mw-thread-id="h-Possible_actions"><span data-mw-comment-start="" id="h-Possible_actions"></span>Possible actions<span data-mw-comment-end="h-Possible_actions"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit&section=1" title="Edit section: Possible actions"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Possible_actions","replies":[]}}--></div> <p>There are several possible ways to address a violation of this constraint: </p> <ul><li>The most likely case is that the value is malformed in some way. Often the fix is straightforward: add a missing prefix or remove one that should be implicit, add punctuation (e. g. add hyphens to an ISBN), fix capitalization, etc.</li> <li>It’s possible that the value is correct, but does not belong to this property, and that it should be moved to a statement for a different property (e. g. <a href="/wiki/Property:P212" title="Property:P212">ISBN-13 <small dir="ltr">(P212)</small></a> to <a href="/wiki/Property:P957" title="Property:P957">ISBN-10 <small dir="ltr">(P957)</small></a>).</li> <li>It’s possible that the identifier has expanded its range and the regex needs to be adapted (e.g. an identifier now uses up to 15 digits and not 10 as when it was first defined).</li> <li>It’s possible that the item is a rare, but legitimate exception to the constraint, and nothing should be done.</li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Parameters" data-mw-thread-id="h-Parameters"><span data-mw-comment-start="" id="h-Parameters"></span>Parameters<span data-mw-comment-end="h-Parameters"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit&section=2" title="Edit section: Parameters"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Parameters","replies":[]}}--></div> <p>This constraint has one mandatory and one optional parameter: </p> <dl><dt><a href="/wiki/Property:P1793" title="Property:P1793">format as a regular expression <small dir="ltr">(P1793)</small></a></dt> <dd>Contains the format / pattern. Must contain exactly one value (<span style="background:transparent;color:#54595d;" title=""><i>no value</i></span> <small><a href="/wiki/Special:MyLanguage/Help:Statements#Unknown_or_no_values" title="Special:MyLanguage/Help:Statements">Help</a></small> or <span style="background:transparent;color:#54595d;" title=""><i>unknown value</i></span> <small><a href="/wiki/Special:MyLanguage/Help:Statements#Unknown_or_no_values" title="Special:MyLanguage/Help:Statements">Help</a></small> is not permitted), which must be a valid regular expression. Note that, at least for WikibaseQualityConstraints, the pattern should not be escaped (e.g. <code>/</code> should not be escaped as <code>\/</code>). The pattern is matched against the full value, so it’s generally not necessary to include <code>^</code> or <code>$</code> in the pattern: <code>\d+</code> and <code>^\d+$</code> both allow and disallow the same values, and the shorter form is preferred.</dd> <dt><a href="/wiki/Property:P2916" title="Property:P2916">syntax clarification <small dir="ltr">(P2916)</small></a></dt> <dd>Contains a human-readable description of the pattern. Can be specified several times in different languages.</dd></dl> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2202362292"><table class="plainlinks ombox ombox-style" role="presentation"><tbody><tr><td class="mbox-image"><bdi lang="en"><span typeof="mw:File"><a href="/wiki/File:OOjs_UI_icon_notice-warning.svg" class="mw-file-description"><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/OOjs_UI_icon_notice-warning.svg/40px-OOjs_UI_icon_notice-warning.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/OOjs_UI_icon_notice-warning.svg/60px-OOjs_UI_icon_notice-warning.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/4c/OOjs_UI_icon_notice-warning.svg/80px-OOjs_UI_icon_notice-warning.svg.png 2x" data-file-width="20" data-file-height="20"/></a></span></bdi></td><td class="mbox-text"><bdi lang="en"><strong>Warning:</strong></bdi> <a href="/wiki/Property:P1793" title="Property:P1793">format as a regular expression <small dir="ltr">(P1793)</small></a> is also often used as a top-level statement of a property, but this usage does not constitute a constraint: to specify a format <i>constraint</i>, a <span class="statement"><span class="predicate"><a href="/wiki/Property:P2302" title="Property:P2302">property constraint <small>(P2302)</small></a></span><span class="object"><a href="/wiki/Q21502404" title="Q21502404">format constraint <small>(Q21502404)</small></a></span></span><style data-mw-deduplicate="TemplateStyles:r2202089130">.mw-parser-output .statement{margin:0 .2em;background:var(--background-color-base,#fff);color:var(--color-base,#202122);border:1px solid var(--border-color-subtle,#c8ccd1)}.mw-parser-output .statement .subject{padding:0 .2em}.mw-parser-output .statement .predicate{background:var(--background-color-neutral,#eaecf0);color:var(--color-emphasized,#000);padding:0 .2em}.mw-parser-output .statement .object{padding:0 .2em}</style> statement with <a href="/wiki/Property:P1793" title="Property:P1793">format as a regular expression <small dir="ltr">(P1793)</small></a> qualifier must be used.</td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Examples" data-mw-thread-id="h-Examples"><span data-mw-comment-start="" id="h-Examples"></span>Examples<span data-mw-comment-end="h-Examples"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit&section=3" title="Edit section: Examples"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Examples","replies":["h-Example_1-Examples","h-Example_2-Examples"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="Example_1" data-mw-thread-id="h-Example_1-Examples"><span data-mw-comment-start="" id="h-Example_1-Examples"></span>Example 1<span data-mw-comment-end="h-Example_1-Examples"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit&section=4" title="Edit section: Example 1"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Values for <a href="/wiki/Property:P18" title="Property:P18">image <small dir="ltr">(P18)</small></a> should end with certain file extension like <code>.jpg</code> or <code>.png</code>. </p> <div class="statementplus" style="" dir="ltr"> <style data-mw-deduplicate="TemplateStyles:r2273692885">.mw-parser-output .statementplus{width:80%}.mw-parser-output .statementplus>table{width:100%;border:1px solid #c8ccd1;border:1px solid var(--border-color-subtle,#c8ccd1);border-collapse:collapse;border-spacing:0;background-color:white;background-color:var(--background-color-base,#fff)}.mw-parser-output .statementplus-showtables>table{border-color:black;border-width:2px}.mw-parser-output .statementplus-property{vertical-align:top;padding-top:.8em;background-color:#eaecf0;background-color:var(--background-color-neutral,#eaecf0);width:20%}.mw-parser-output .statementplus[dir="ltr"] .statementplus-property{padding-left:1em}.mw-parser-output .statementplus[dir="rtl"] .statementplus-property{padding-right:1em}.mw-parser-output .statementplus-doc{vertical-align:top;padding:.8em 1em 0}.mw-parser-output .statementplus-addtoolbar{background-color:#eaecf0;background-color:var(--background-color-neutral,#eaecf0)}.mw-parser-output .statementplus-addtoolbar-tool{width:20%;vertical-align:top;padding:.3em 0 .2em;color:silver;color:var(--color-disabled,#a2a9b1)}.mw-parser-output .statementplus[dir="ltr"] .statementplus-addtoolbar-tool{padding-left:1em}.mw-parser-output .statementplus[dir="rtl"] .statementplus-addtoolbar-tool{padding-right:1em}.mw-parser-output .statementplus-addtoolbar-tool::before{display:inline;content:" + "}.mw-parser-output .statementplus-value{width:100%;border-collapse:collapse;border-spacing:0;border-top:1px solid #eaecf0;border-top-color:var(--background-color-neutral,#eaecf0)}.mw-parser-output .statementplus-value:first-child{border-top:none}.mw-parser-output .statementplus-showtables .statementplus-value{border:2px solid blue}.mw-parser-output .statementplus-rank{vertical-align:top;width:2em;padding-top:.45em}.mw-parser-output .statementplus-value[dir="ltr"] .statementplus-rank{padding-left:2px}.mw-parser-output .statementplus-value[dir="rtl"] .statementplus-rank{padding-right:2px}.mw-parser-output .statementplus-mainsnak{vertical-align:top;padding-top:.7em}.mw-parser-output .statementplus-editlink{vertical-align:top;padding-top:.7em;width:25%;color:silver;color:var(--color-disabled,#a2a9b1)}.mw-parser-output .statementplus-value[dir="ltr"] .statementplus-editlink{padding-left:.75em}.mw-parser-output .statementplus-value[dir="rtl"] .statementplus-editlink{padding-right:.75em}.mw-parser-output .statementplus-editlink>span{background:url("https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/14px-Arbcom_ru_editing.svg.png")no-repeat}.mw-parser-output .statementplus-value[dir="ltr"] .statementplus-editlink>span{padding-left:20px;background-position:left}.mw-parser-output .statementplus-value[dir="rtl"] .statementplus-editlink>span{padding-right:20px;background-position:right}.mw-parser-output .statementplus-references-toggle{color:#0c45ab;color:var(--color-progressive,#36c)}.mw-parser-output .statementplus-references-toggle::before{display:inline;content:" ▼ "}.mw-parser-output .statementplus-value[dir="ltr"] .mw-collapsed>.statementplus-references-toggle::before{content:" ► "}.mw-parser-output .statementplus-value[dir="rtl"] .mw-collapsed>.statementplus-references-toggle::before{content:" ◀ "}.mw-parser-output .statementplus-reference{margin-top:.5em;background-color:#f7f8f9;background-color:var(--background-color-neutral-subtle,#f8f9fa)}.mw-parser-output .statementplus-reference:first-child{margin-top:0}.mw-parser-output .statementplus-addreference{box-sizing:border-box;width:25%;padding:.4em 0 1.2em;color:silver;color:var(--color-disabled,#a2a9b1)}.mw-parser-output .statementplus-value[dir="ltr"] .statementplus-addreference{float:right;padding-left:1.2em}.mw-parser-output .statementplus-value[dir="rtl"] .statementplus-addreference{float:left;padding-right:1.2em}.mw-parser-output .statementplus-addreference::before{display:inline;content:" + ";font-weight:bold}.mw-parser-output .statementplus-block{border-collapse:collapse;border-spacing:0;width:100%}.mw-parser-output .statementplus-showtables .statementplus-block{border:2px solid orange}.mw-parser-output .statementplus-block>tbody>tr>td{vertical-align:top}.mw-parser-output .statementplus-block[dir="ltr"]>tbody>tr>td{padding-left:.5em}.mw-parser-output .statementplus-block[dir="rtl"]>tbody>tr>td{padding-right:.5em}.mw-parser-output .statementplus-block>tbody>tr>td:first-child{width:12em}</style> <style data-mw-deduplicate="TemplateStyles:r2080812426">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:100%}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Statement%2B" title="Template:Statement+"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Statement%2B" title="Template talk:Statement+"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a class="external text" href="https://www.wikidata.org/w/index.php?title=Template:Statement%2B&action=edit"><abbr title="Edit this template">e</abbr></a></li></ul></div> <table> <tbody><tr> <td class="statementplus-property" rowspan="2"><a href="/wiki/Property:P2302" title="Property:P2302">property constraint</a> </td> <td colspan="2"><table dir="ltr" class="statementplus-value"> <tbody><tr> <td class="statementplus-rank"><span typeof="mw:File"><span title="Normal rank"><img alt="Normal rank" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/8px-Normal_rank.svg.png" decoding="async" width="8" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/12px-Normal_rank.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/16px-Normal_rank.svg.png 2x" data-file-width="8" data-file-height="20"/></span></span></td> <td class="statementplus-mainsnak"><a href="/wiki/Q21502404" title="Q21502404">format constraint</a></td> <td class="statementplus-editlink"><span>edit</span></td> </tr> <tr> <td></td> <td colspan="2"><table dir="ltr" class="statementplus-block"> <tbody><tr> <td><a href="/wiki/Property:P1793" title="Property:P1793">format as a regular expression</a></td> <td>(?i).+\.(jpg|jpeg|png|svg|tif|tiff|gif|xcf)</td> </tr></tbody></table></td> </tr> <tr> <td></td> <td colspan="2"> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-299247"> <div class="statementplus-references-toggle mw-customtoggle-299247">0 references</div> <div class="mw-collapsible-content"><div class="statementplus-addreference">add reference</div> </div></div> </td> </tr> </tbody></table> </td></tr> <tr class="statementplus-addtoolbar"> <td> </td> <td class="statementplus-addtoolbar-tool">add value </td></tr></tbody></table></div> <div class="mw-heading mw-heading3"><h3 id="Example_2" data-mw-thread-id="h-Example_2-Examples"><span data-mw-comment-start="" id="h-Example_2-Examples"></span>Example 2<span data-mw-comment-end="h-Example_2-Examples"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit&section=5" title="Edit section: Example 2"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Using <a href="/wiki/Property:P2916" title="Property:P2916">syntax clarification <small dir="ltr">(P2916)</small></a> parameter for explaining the regular expression in human-readable text. For example, value of <a href="/wiki/Property:P898" title="Property:P898">IPA transcription <small dir="ltr">(P898)</small></a> doesn't contain : (<a href="https://en.wikipedia.org/wiki/Colon_(punctuation)" class="extiw" title="w:Colon (punctuation)">colon</a>) or ' (<a href="https://en.wikipedia.org/wiki/Apostrophe" class="extiw" title="w:Apostrophe">apostrophe</a>). Correct character is ː (<a href="https://en.wikipedia.org/wiki/Length_(phonetics)" class="extiw" title="w:Length (phonetics)">length</a>) or ˈ (<a href="https://en.wikipedia.org/wiki/Stress_(linguistics)" class="extiw" title="w:Stress (linguistics)">stress</a>). This regular expression is difficult to understand without explanation. </p> <div class="statementplus" style="" dir="ltr"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2273692885"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2080812426"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Statement%2B" title="Template:Statement+"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Statement%2B" title="Template talk:Statement+"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a class="external text" href="https://www.wikidata.org/w/index.php?title=Template:Statement%2B&action=edit"><abbr title="Edit this template">e</abbr></a></li></ul></div> <table> <tbody><tr> <td class="statementplus-property" rowspan="2"><a href="/wiki/Property:P2302" title="Property:P2302">property constraint</a> </td> <td colspan="2"><table dir="ltr" class="statementplus-value"> <tbody><tr> <td class="statementplus-rank"><span typeof="mw:File"><span title="Normal rank"><img alt="Normal rank" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/8px-Normal_rank.svg.png" decoding="async" width="8" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/12px-Normal_rank.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/16px-Normal_rank.svg.png 2x" data-file-width="8" data-file-height="20"/></span></span></td> <td class="statementplus-mainsnak"><a href="/wiki/Q21502404" title="Q21502404">format constraint</a></td> <td class="statementplus-editlink"><span>edit</span></td> </tr> <tr> <td></td> <td colspan="2"><table dir="ltr" class="statementplus-block"> <tbody><tr> <td><a href="/wiki/Property:P1793" title="Property:P1793">format as a regular expression</a></td> <td>[^:]+</td> </tr></tbody></table><table dir="ltr" class="statementplus-block"> <tbody><tr> <td><a href="/wiki/Property:P2916" title="Property:P2916">syntax clarification</a></td> <td>colon is not a valid IPA character, the correct character for a length mark is ː (English)</td> </tr></tbody></table></td> </tr> <tr> <td></td> <td colspan="2"> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-970101"> <div class="statementplus-references-toggle mw-customtoggle-970101">0 references</div> <div class="mw-collapsible-content"><div class="statementplus-addreference">add reference</div> </div></div> </td> </tr> </tbody></table><table dir="ltr" class="statementplus-value"> <tbody><tr> <td class="statementplus-rank"><span typeof="mw:File"><span title="Normal rank"><img alt="Normal rank" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/8px-Normal_rank.svg.png" decoding="async" width="8" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/12px-Normal_rank.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Normal_rank.svg/16px-Normal_rank.svg.png 2x" data-file-width="8" data-file-height="20"/></span></span></td> <td class="statementplus-mainsnak"><a href="/wiki/Q21502404" title="Q21502404">format constraint</a></td> <td class="statementplus-editlink"><span>edit</span></td> </tr> <tr> <td></td> <td colspan="2"><table dir="ltr" class="statementplus-block"> <tbody><tr> <td><a href="/wiki/Property:P1793" title="Property:P1793">format as a regular expression</a></td> <td>[^']+</td> </tr></tbody></table><table dir="ltr" class="statementplus-block"> <tbody><tr> <td><a href="/wiki/Property:P2916" title="Property:P2916">syntax clarification</a></td> <td>apostrophe is not a valid IPA character, the correct character for primary stress is ˈ (English)</td> </tr></tbody></table></td> </tr> <tr> <td></td> <td colspan="2"> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-942902"> <div class="statementplus-references-toggle mw-customtoggle-942902">0 references</div> <div class="mw-collapsible-content"><div class="statementplus-addreference">add reference</div> </div></div> </td> </tr> </tbody></table> </td></tr> <tr class="statementplus-addtoolbar"> <td> </td> <td class="statementplus-addtoolbar-tool">add value </td></tr></tbody></table></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Template" data-mw-thread-id="h-Template"><span data-mw-comment-start="" id="h-Template"></span>Template<span data-mw-comment-end="h-Template"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit&section=6" title="Edit section: Template"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Template","replies":[]}}--></div> <p>When the constraint is set to the property, the following template is automatically displayed in the property talk page. The template is created by <a href="/wiki/Module:Constraints" title="Module:Constraints">Module:Constraints</a> using <a href="/wiki/Template:Constraint" title="Template:Constraint">Template:Constraint</a>, invoked from <a href="/wiki/Template:Property_documentation" title="Template:Property documentation">Template:Property documentation</a>. Translations are defined at <a href="/wiki/Module:I18n/constraints" title="Module:I18n/constraints">Module:i18n/constraints</a>. </p> <div class="constraint" lang="en" dir="ltr"> <style data-mw-deduplicate="TemplateStyles:r2262252589">.mw-parser-output .constraint{display:flex;background:var(--background-color-base,#fff);border:2px solid var(--border-color-subtle,#c8ccd1);padding:3px;column-gap:2px;align-items:center}.mw-parser-output .constraint.mandatory{background:var(--background-color-success-subtle,#dff2eb)}.mw-parser-output .constraint.ltr{direction:ltr}.mw-parser-output .constraint.rtl{direction:rtl}.mw-parser-output .constraint>div{margin:2px}.mw-parser-output .constraint-icon{padding:0 .5em 0 .3em;flex-shrink:0}.mw-parser-output .constraint code{white-space:pre-wrap;word-break:break-all}</style> <div class="constraint-icon"><span typeof="mw:File"><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Format" title="Special:MyLanguage/Help:Property constraints portal/Format"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/40px-Pictogram_voting_regex.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/60px-Pictogram_voting_regex.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/80px-Pictogram_voting_regex.svg.png 2x" data-file-width="249" data-file-height="249"/></a></span></div> <div><div lang="" dir="auto"><b>Format “<code>(?i).+\.(jpg|jpeg|jpe|png|svg|tif|tiff|gif|xcf|pdf|djvu|webp)|</code>”</b>: value must be formatted using this pattern (<a href="https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions" class="extiw" title="en:Perl Compatible Regular Expressions">PCRE syntax</a>). (<a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Format" title="Special:MyLanguage/Help:Property constraints portal/Format">Help</a>)</div><small>Exceptions are possible as rare values may exist. <a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal#Constraint_parameters" title="Special:MyLanguage/Help:Property constraints portal">Exceptions can be specified</a> using <a href="/wiki/Property:P2303" title="Property:P2303">exception to constraint <small dir="ltr">(P2303)</small></a>. </small><br/> <small>List of violations of this constraint: <bdi lang="en"><a href="/wiki/Wikidata:Database_reports/Constraint_violations/P18#Format" title="Wikidata:Database reports/Constraint violations/P18">Database reports/Constraint violations/P18#Format</a></bdi>, <a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3Fvalue%20%3Fresult%20%28STRLEN%28STR%28%3Fvalue%29%29%20AS%20%3Fstringlength%29%20%20%3Fsnak%20%3Frank%0AWHERE%0A%7B%0A%09%7B%0A%09%09SELECT%20%3Fitem%20%3Fvalue%20%3Fresult%20%3Fsnak%20%3Frank%0A%09%09WHERE%0A%09%09%7B%0A%09%09%09%7B%0A%09%09%09%09%3Fitem%20p%3AP18%20%5B%20ps%3AP18%20%3Fvalue%3B%20wikibase%3Arank%20%3Frank%20%5D%20.%0A%09%09%09%09BIND%28%22mainsnak%22%20AS%20%3Fsnak%29%20.%0A%09%09%09%7D%20UNION%20%7B%0A%09%09%09%09%3Fstatement1%20pq%3AP18%20%3Fvalue%3B%0A%09%09%09%09%09wikibase%3Arank%20%3Frank%20.%0A%09%09%09%09%3Fitem%20%3Fp1%20%3Fstatement1%20.%0A%09%09%09%09BIND%28%22qualifier%22%20AS%20%3Fsnak%29%20.%0A%09%09%09%7D%20UNION%20%7B%0A%09%09%09%09%3Fref%20pr%3AP18%20%3Fvalue%20.%0A%09%09%09%09%3Fstatement2%20prov%3AwasDerivedFrom%20%3Fref%3B%0A%09%09%09%09%09wikibase%3Arank%20%3Frank%20.%0A%09%09%09%09%3Fitem%20%3Fp2%20%3Fstatement2%20.%0A%09%09%09%09BIND%28%22reference%22%20AS%20%3Fsnak%29%20.%0A%09%09%09%7D%20.%0A%09%09%09BIND%28%20REGEX%28%20STR%28%20%3Fvalue%20%29%2C%20%22%5E%28%28%3Fi%29.%2B%5C%5C.%28jpg%7Cjpeg%7Cjpe%7Cpng%7Csvg%7Ctif%7Ctiff%7Cgif%7Cxcf%7Cpdf%7Cdjvu%7Cwebp%29%7C%29%24%22%20%29%20AS%20%3Fregexresult%20%29%20.%0A%09%09%09FILTER%28%20%3Fregexresult%20%3D%20false%20%29%20.%0A%09%09%09BIND%28%20IF%28%20%3Fregexresult%20%3D%20true%2C%20%22pass%22%2C%20%22fail%22%20%29%20AS%20%3Fresult%20%29%20.%0A%09%09%09FILTER%28%20%3Fitem%20NOT%20IN%20%28%20wd%3AQ4115189%2C%20wd%3AQ13406268%2C%20wd%3AQ15397819%20%29%20%29%20.%0A%09%09%7D%20%0A%09%09LIMIT%20100%0A%09%7D%20.%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%7D%20.%0A%7D%0A%23ORDER%20BY%20%3Frank%20%3Fsnak%20%3Fvalue%0A%23PLEASE%20NOTE%3A%20This%20is%20experimental%20and%20may%20only%20work%20for%20simple%20patterns.%0A%23Tests%20may%20fail%20due%20to%3A%0A%23%281%29%20differences%20in%20regex%20format%20between%20SPARQL%20%28https%3A%2F%2Fwww.w3.org%2FTR%2Fxpath-functions%2F%23regex-syntax%29%20and%20PCRE%20%28used%20by%20constraint%20reports%29.%20Don%27t%20change%20the%20regex%20to%20work%20with%20SPARQL%21%0A%23%282%29%20some%20bug%20in%20the%20link%20that%20brought%20you%20here%0A%23Known%20to%20fail%3A%20P227%20%28multiple%20curly%20braces%29%2C%20P274%2C%20P281">SPARQL</a></small></div> </div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Lists" data-mw-thread-id="h-Lists"><span data-mw-comment-start="" id="h-Lists"></span>Lists<span data-mw-comment-end="h-Lists"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit&section=7" title="Edit section: Lists"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Lists","replies":[]}}--></div> <p>Lists of properties which are set format constraint. </p> <ul><li><a href="/wiki/Category:Properties_with_format_constraints" title="Category:Properties with format constraints">Category:Properties with format constraints</a></li> <li><a class="external text" href="https://query.wikidata.org/#SELECT%20%3FProperty_%20%3FProperty_Label%20%3FProperty_Description%20%3Fformat_as_a_regular_expression%20%20%3Fsyntax_clarification%20%0AWHERE%20%7B%0A%20%20%0A%09%3FProperty_%20p%3AP2302%20%3Fconstraint_statement%20.%0A%09%3Fconstraint_statement%20ps%3AP2302%20wd%3AQ21502404%20.%0A%09OPTIONAL%20%7B%3Fconstraint_statement%20pq%3AP1793%20%3Fformat_as_a_regular_expression%20.%7D%0A%09OPTIONAL%20%7B%3Fconstraint_statement%20pq%3AP2916%20%3Fsyntax_clarification%20.%7D%0A%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%0A%7D%20">SPARQL query</a> - click the execute button <span typeof="mw:File"><span><img alt="Execute button" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Execute_button.svg/12px-Execute_button.svg.png" decoding="async" width="12" height="11" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Execute_button.svg/18px-Execute_button.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Execute_button.svg/24px-Execute_button.svg.png 2x" data-file-width="80" data-file-height="74"/></span></span> at the linked page to see the query result.</li></ul> <table class="navbox" dir="ltr" style="border-spacing:0;background: #CDDDDD; width: 100%; vertical-align: middle;;font: arial;"><tbody><tr><td style="padding:2px"><style data-mw-deduplicate="TemplateStyles:r2241526210">.mw-parser-output .navbox{border:1px solid var(--border-color-base,#a2a9b1);width:100%;margin:auto;clear:both;font-size:88%;text-align:center;padding:1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output th.navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.8em;border-color:#fdfdfd}.mw-parser-output .navbox th,.mw-parser-output .navbox-title{background:#ccccff}.mw-parser-output .navbox-abovebelow,.mw-parser-output th.navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background:#ddddff}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background:#e6e6ff}.mw-parser-output .navbox-even{background:#f7f7f7}.mw-parser-output .navbox-odd{background:transparent}.mw-parser-output table.navbox+table.navbox{margin-top:-1px}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output ol+table.navbox,.mw-parser-output ul+table.navbox{margin-top:0.5em}</style><table class="nowraplinks navbox-inner" dir="ltr" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2080812426"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Property_constraints" title="Template:Property constraints"><abbr title="View this template" style=";background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;;background:none transparent;color:inherit;border:none;">v</abbr></a></li><li class="nv-talk"><a href="/w/index.php?title=Template_talk:Property_constraints&action=edit&redlink=1" class="new" title="Template talk:Property constraints (page does not exist)"><abbr title="Discuss this template" style=";background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;;background:none transparent;color:inherit;border:none;">t</abbr></a></li><li class="nv-edit"><a class="external text" href="https://www.wikidata.org/w/index.php?title=Template:Property_constraints&action=edit"><abbr title="Edit this template" style=";background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;;background:none transparent;color:inherit;border:none;">e</abbr></a></li></ul></div><span style="float:right;width:6em"> </span><div style="font-size:110%"><a href="/wiki/Help:Property_constraints_portal" title="Help:Property constraints portal">Help:Property constraints portal</a></div></th></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;">Popular</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"> <ul><li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/14px-Pictogram_voting_number_one.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/21px-Pictogram_voting_number_one.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/28px-Pictogram_voting_number_one.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Single_value" title="Help:Property constraints portal/Single value">single-value constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Pictogram_voting_not_equal.svg/14px-Pictogram_voting_not_equal.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Pictogram_voting_not_equal.svg/21px-Pictogram_voting_not_equal.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Pictogram_voting_not_equal.svg/28px-Pictogram_voting_not_equal.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Unique_value" title="Help:Property constraints portal/Unique value">distinct-values constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/14px-Pictogram_voting_regex.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/21px-Pictogram_voting_regex.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/28px-Pictogram_voting_regex.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a class="mw-selflink selflink">format constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/14px-Pictogram_voting_cluster.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/21px-Pictogram_voting_cluster.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/28px-Pictogram_voting_cluster.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Subject_class" title="Help:Property constraints portal/Subject class">subject type constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/14px-Pictogram_voting_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/21px-Pictogram_voting_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/28px-Pictogram_voting_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Value_class" title="Help:Property constraints portal/Value class">value-type constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/14px-Pictogram_reply_soft_green.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/21px-Pictogram_reply_soft_green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/28px-Pictogram_reply_soft_green.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Property_Scope_Constraint" title="Help:Property constraints portal/Property Scope Constraint">property scope constraint</a></li></ul> </div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;">Others</th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"> <ul><li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Pictogram_voting_two_plus.svg/14px-Pictogram_voting_two_plus.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Pictogram_voting_two_plus.svg/21px-Pictogram_voting_two_plus.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/df/Pictogram_voting_two_plus.svg/28px-Pictogram_voting_two_plus.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Multi_value" title="Help:Property constraints portal/Multi value">multi-value constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Pictogram_voting_commons_logo.svg/14px-Pictogram_voting_commons_logo.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Pictogram_voting_commons_logo.svg/21px-Pictogram_voting_commons_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/86/Pictogram_voting_commons_logo.svg/28px-Pictogram_voting_commons_logo.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Commons_link" title="Help:Property constraints portal/Commons link">Commons link constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/14px-Pictogram_reply_soft_green.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/21px-Pictogram_reply_soft_green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/28px-Pictogram_reply_soft_green.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Qualifiers" title="Help:Property constraints portal/Qualifiers">allowed qualifiers constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Pictogram_voting_unit.svg/14px-Pictogram_voting_unit.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Pictogram_voting_unit.svg/21px-Pictogram_voting_unit.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Pictogram_voting_unit.svg/28px-Pictogram_voting_unit.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Units" title="Help:Property constraints portal/Units">allowed units constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/14px-Pictogram_voting_x.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/21px-Pictogram_voting_x.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/28px-Pictogram_voting_x.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Conflicts_with" title="Help:Property constraints portal/Conflicts with">conflicts-with constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Diff_within_range" title="Help:Property constraints portal/Diff within range">difference-within-range constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Pictogram_voting_two_arrows_to_the_center.svg/14px-Pictogram_voting_two_arrows_to_the_center.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Pictogram_voting_two_arrows_to_the_center.svg/21px-Pictogram_voting_two_arrows_to_the_center.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Pictogram_voting_two_arrows_to_the_center.svg/28px-Pictogram_voting_two_arrows_to_the_center.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Inverse" title="Help:Property constraints portal/Inverse">inverse constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/14px-Pictogram_voting_cluster.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/21px-Pictogram_voting_cluster.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/28px-Pictogram_voting_cluster.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Item" title="Help:Property constraints portal/Item">item-requires-statement constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/14px-Pictogram_reply_soft_green.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/21px-Pictogram_reply_soft_green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/28px-Pictogram_reply_soft_green.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Required_qualifiers" title="Help:Property constraints portal/Required qualifiers">required qualifier constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/One_of" title="Help:Property constraints portal/One of">one-of constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Range" title="Help:Property constraints portal/Range">range constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/74/Pictogram_voting_left_right_arrow.svg/14px-Pictogram_voting_left_right_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/74/Pictogram_voting_left_right_arrow.svg/21px-Pictogram_voting_left_right_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/74/Pictogram_voting_left_right_arrow.svg/28px-Pictogram_voting_left_right_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Symmetric" title="Help:Property constraints portal/Symmetric">symmetric constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/14px-Pictogram_voting_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/21px-Pictogram_voting_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/28px-Pictogram_voting_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Target_required_claim" title="Help:Property constraints portal/Target required claim">value-requires-statement constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Pictogram_plusminus.svg/14px-Pictogram_plusminus.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Pictogram_plusminus.svg/21px-Pictogram_plusminus.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Pictogram_plusminus.svg/28px-Pictogram_plusminus.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/No_bounds" title="Help:Property constraints portal/No bounds">no-bounds constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/14px-Pictogram_voting_number_one.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/21px-Pictogram_voting_number_one.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/28px-Pictogram_voting_number_one.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Integer" title="Help:Property constraints portal/Integer">integer constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/14px-Pictogram_voting_x.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/21px-Pictogram_voting_x.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/28px-Pictogram_voting_x.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/None_of" title="Help:Property constraints portal/None of">none-of constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/14px-Pictogram_voting_number_one.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/21px-Pictogram_voting_number_one.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/28px-Pictogram_voting_number_one.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Single_best_value" title="Help:Property constraints portal/Single best value">single-best-value constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Propozycja_LnM.svg/14px-Propozycja_LnM.svg.png" decoding="async" width="14" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Propozycja_LnM.svg/21px-Propozycja_LnM.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Propozycja_LnM.svg/28px-Propozycja_LnM.svg.png 2x" data-file-width="586" data-file-height="655"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Citation_needed" title="Help:Property constraints portal/Citation needed">citation-needed constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Wikidata-HS-icon.svg/14px-Wikidata-HS-icon.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Wikidata-HS-icon.svg/21px-Wikidata-HS-icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/94/Wikidata-HS-icon.svg/28px-Wikidata-HS-icon.svg.png 2x" data-file-width="156" data-file-height="156"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Allowed_entity_types" title="Help:Property constraints portal/Allowed entity types">allowed-entity-types constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Hourglass_icon.svg/14px-Hourglass_icon.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Hourglass_icon.svg/21px-Hourglass_icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Hourglass_icon.svg/28px-Hourglass_icon.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Contemporary" title="Help:Property constraints portal/Contemporary">contemporary constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Q55819078" title="Q55819078">lexeme requires lexical category constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/5/55/Pictogram_voting_info_ku.svg/14px-Pictogram_voting_info_ku.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/55/Pictogram_voting_info_ku.svg/21px-Pictogram_voting_info_ku.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/55/Pictogram_voting_info_ku.svg/28px-Pictogram_voting_info_ku.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Lexeme_language" title="Help:Property constraints portal/Lexeme language">lexeme requires language constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/14px-Pictogram_voting_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/21px-Pictogram_voting_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/28px-Pictogram_voting_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Q64006792" title="Q64006792">lexeme-value-requires-lexical-category constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/14px-Symbol_Translate.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/21px-Symbol_Translate.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/28px-Symbol_Translate.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Q108139345" title="Q108139345">label in language constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/14px-Symbol_Translate.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/21px-Symbol_Translate.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/28px-Symbol_Translate.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Q111204896" title="Q111204896">description in language constraint</a></li></ul> </div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;"><a href="/wiki/Wikidata:Database_reports/Constraint_violations" title="Wikidata:Database reports/Constraint violations">Constraint violation</a></th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"><a href="/wiki/Category:Constraint_violation_reports" title="Category:Constraint violation reports">Category:Constraint violation reports</a> (<a href="/wiki/Wikidata:Database_reports/Constraint_violations/Summary" title="Wikidata:Database reports/Constraint violations/Summary">Summary</a>)</div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;"><a href="/wiki/Template:Complex_constraint" title="Template:Complex constraint">Complex constraints</a></th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Category:Complex_constraint_violation_reports" title="Category:Complex constraint violation reports">Category:Complex constraint violation reports</a> (<a href="/wiki/Wikidata:Database_reports/Complex_constraints" title="Wikidata:Database reports/Complex constraints">Overview</a>)</li> <li><a href="/wiki/Help:Property_constraints_portal/Value_label" title="Help:Property constraints portal/Value label">complex constraint value label</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Recency" title="Help:Property constraints portal/Recency">complex constraint recency</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Label_language" title="Help:Property constraints portal/Label language">complex constraint label language</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Value_label_template" title="Help:Property constraints portal/Value label template">complex constraint value label template</a></li></ul> </div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>See also: <a href="/wiki/Wikidata:WikiProject_property_constraints" title="Wikidata:WikiProject property constraints">Wikidata:WikiProject property constraints</a> - <a href="/wiki/Wikidata:WikiProject_Properties" title="Wikidata:WikiProject Properties">Wikidata:WikiProject Properties</a> - <a href="/wiki/Wikidata:WikiProject_Ontology" title="Wikidata:WikiProject Ontology">Wikidata:WikiProject Ontology</a> - <a href="/wiki/Wikidata:WikiProject_Counter-Vandalism" title="Wikidata:WikiProject Counter-Vandalism">Wikidata:WikiProject Counter-Vandalism</a></div></td></tr></tbody></table></td></tr></tbody></table> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐5dc468848‐2dlmj Cached time: 20241123014654 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.019 seconds CPU time usage: 0.451 seconds Real time usage: 0.647 seconds Preprocessor visited node count: 4665/1000000 Post‐expand include size: 69346/2097152 bytes Template argument size: 13135/2097152 bytes Highest expansion depth: 15/100 Expensive parser function count: 3/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 30750/5000000 bytes Lua time usage: 0.196/10.000 seconds Lua memory usage: 6031677/52428800 bytes Number of Wikibase entities loaded: 2/500 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 471.764 1 -total 24.00% 113.242 2 Template:Statement+ 22.33% 105.332 1 Template:Property_constraints 21.81% 102.909 1 Template:Navbox 20.60% 97.162 58 Template:Label 19.93% 94.040 1 Help:Property_constraints_portal/Header_constraint_type 19.02% 89.743 1 Template:Ombox 8.09% 38.174 3 Template:Statement+/Value 7.63% 36.012 1 Template:Warning 6.68% 31.522 1 Template:Mbox --> <!-- Saved in parser cache with key wikidatawiki:pcache:33580991:|#|:idhash:canonical and timestamp 20241123014654 and revision id 2179294384. 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="">Retrieved from "<a dir="ltr" href="https://www.wikidata.org/w/index.php?title=Help:Property_constraints_portal/Format&oldid=2179294384">https://www.wikidata.org/w/index.php?title=Help:Property_constraints_portal/Format&oldid=2179294384</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Help:Properties" title="Category:Help:Properties">Help:Properties</a></li><li><a href="/wiki/Category:Help-en" title="Category:Help-en">Help-en</a></li><li><a href="/wiki/Category:Properties_with_format_constraints" title="Category:Properties with format constraints">Properties with format constraints</a></li></ul></div></div> </div> </div> <div id="mw-navigation"> <h2>Navigation menu</h2> <div id="mw-head"> <nav id="p-personal" class="mw-portlet mw-portlet-personal vector-user-menu-legacy vector-menu" aria-labelledby="p-personal-label" > <h3 id="p-personal-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Personal tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-uls" class="mw-list-item active"><a class="uls-trigger" href="#"><span>English</span></a></li><li id="pt-anonuserpage" class="mw-list-item"><span title="The user page for the IP address you are editing as">Not logged in</span></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li><li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-createaccount" class="mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Help%3AProperty+constraints+portal%2FFormat" title="You are encouraged to create an account and log in; however, it is not mandatory"><span>Create account</span></a></li><li id="pt-login" class="mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Help%3AProperty+constraints+portal%2FFormat" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span>Log in</span></a></li> </ul> </div> </nav> <div id="left-navigation"> <nav id="p-namespaces" class="mw-portlet mw-portlet-namespaces vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-namespaces-label" > <h3 id="p-namespaces-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Namespaces</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-help" class="selected mw-list-item"><a href="/wiki/Help:Property_constraints_portal/Format" title="View the help page [c]" accesskey="c"><span>Help page</span></a></li><li id="ca-talk" class="mw-list-item"><a href="/wiki/Help_talk:Property_constraints_portal/Format" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </nav> <nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-variants-label" > <input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-labelledby="p-variants-label" > <label id="p-variants-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">English</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> </div> <div id="right-navigation"> <nav id="p-views" class="mw-portlet mw-portlet-views vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-views-label" > <h3 id="p-views-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Views</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected mw-list-item"><a href="/wiki/Help:Property_constraints_portal/Format"><span>Read</span></a></li><li id="ca-edit" class="mw-list-item"><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="mw-list-item"><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </nav> <nav id="p-cactions" class="mw-portlet mw-portlet-cactions emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-cactions-label" title="More options" > <input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-labelledby="p-cactions-label" > <label id="p-cactions-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">More</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box"> <h3 >Search</h3> <form action="/w/index.php" id="searchform" class="vector-search-box-form"> <div id="simpleSearch" class="vector-search-box-inner" data-search-loc="header-navigation"> <input class="vector-search-box-input" type="search" name="search" placeholder="Search Wikidata" aria-label="Search Wikidata" autocapitalize="sentences" title="Search Wikidata [f]" accesskey="f" id="searchInput" > <input type="hidden" name="title" value="Special:Search"> <input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" name="fulltext" title="Search the pages for this text" value="Search"> <input id="searchButton" class="searchButton" type="submit" name="go" title="Go to a page with this exact name if it exists" value="Go"> </div> </form> </div> </div> </div> <div id="mw-panel" class="vector-legacy-sidebar"> <div id="p-logo" role="banner"> <a class="mw-wiki-logo" href="/wiki/Wikidata:Main_Page" title="Visit the main page"></a> </div> <nav id="p-navigation" class="mw-portlet mw-portlet-navigation vector-menu-portal portal vector-menu" aria-labelledby="p-navigation-label" > <h3 id="p-navigation-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Navigation</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikidata:Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Project:Community_portal" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikidata:Project_chat"><span>Project chat</span></a></li><li id="n-special-newitem" class="mw-list-item"><a href="/wiki/Special:NewItem"><span>Create a new Item</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-wikibase-randomitem" class="mw-list-item"><a href="/wiki/Special:Random/Main" title="[x]" accesskey="x"><span>Random Item</span></a></li><li id="n-wikibase-queryservice" class="mw-list-item"><a href="//query.wikidata.org/"><span>Query Service</span></a></li><li id="n-nearby-pages-title" class="mw-list-item"><a href="/wiki/Special:Nearby"><span>Nearby</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>Help</span></a></li><li id="n-sitesupport" class="mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_wikidata.org&uselang=en" title="Support us"><span>Donate</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-lexeme-lexicographical-data" class="mw-portlet mw-portlet-wikibase-lexeme-lexicographical-data vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-lexeme-lexicographical-data-label" > <h3 id="p-wikibase-lexeme-lexicographical-data-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Lexicographical data</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-special-newlexeme" class="mw-list-item"><a href="/wiki/Special:NewLexeme"><span>Create a new Lexeme</span></a></li><li id="n-recentchanges-lexemes" class="mw-list-item"><a href="https://www.wikidata.org/wiki/Special:RecentChanges?namespace=146%3B147"><span>Recent changes</span></a></li><li id="n-wikibase-lexeme-randomlexeme" class="mw-list-item"><a href="/wiki/Special:Random/Lexeme"><span>Random Lexeme</span></a></li> </ul> </div> </nav> <nav id="p-tb" class="mw-portlet mw-portlet-tb vector-menu-portal portal vector-menu" aria-labelledby="p-tb-label" > <h3 id="p-tb-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Help:Property_constraints_portal/Format" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Help:Property_constraints_portal/Format" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Help:Property_constraints_portal/Format&oldid=2179294384" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Help:Property_constraints_portal/Format&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FHelp%3AProperty_constraints_portal%2FFormat"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FHelp%3AProperty_constraints_portal%2FFormat"><span>Download QR code</span></a></li> </ul> </div> </nav> <nav id="p-coll-print_export" class="mw-portlet mw-portlet-coll-print_export vector-menu-portal portal vector-menu" aria-labelledby="p-coll-print_export-label" > <h3 id="p-coll-print_export-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Print/export</span> </h3> <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=Special:Book&bookcmd=book_creator&referer=Help%3AProperty+constraints+portal%2FFormat"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Help%3AProperty_constraints_portal%2FFormat&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Help:Property_constraints_portal/Format&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-otherprojects" class="mw-portlet mw-portlet-wikibase-otherprojects vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-otherprojects-label" > <h3 id="p-wikibase-otherprojects-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In other projects</span> </h3> <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/Q21502404" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </nav> <nav id="p-lang" class="mw-portlet mw-portlet-lang vector-menu-portal portal vector-menu" aria-labelledby="p-lang-label" > <h3 id="p-lang-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In Wikipedia</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q21502404#sitelinks-wikipedia" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </nav> </div> </div> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 14 June 2024, at 14:51.</li> <li id="footer-info-copyright">All structured data from the main, Property, Lexeme, and EntitySchema namespaces is available under the <a rel="nofollow" class="external text" href="//creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>; text in the other namespaces is available under the <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Special:MyLanguage/Project:Introduction">About Wikidata</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Special:MyLanguage/Project:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/www.wikidata.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//m.wikidata.org/w/index.php?title=Help:Property_constraints_portal/Format&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> <li id="footer-places-data-access"><a href="/wiki/Special:MyLanguage/Wikidata:Data_access">Data access</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> <script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"codex-search-styles\".\n[1.43] Use a CodexModule with codexComponents to set your specific components used: https://www.mediawiki.org/wiki/Codex#Using_a_limited_subset_of_components");mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-8bk57","wgBackendResponseTime":105,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Possible_actions","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Parameters","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Examples","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Example_1-Examples","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Example_2-Examples","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Template","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Lists","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.019"},"limitreport":{"cputime":"0.451","walltime":"0.647","ppvisitednodes":{"value":4665,"limit":1000000},"postexpandincludesize":{"value":69346,"limit":2097152},"templateargumentsize":{"value":13135,"limit":2097152},"expansiondepth":{"value":15,"limit":100},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":30750,"limit":5000000},"entityaccesscount":{"value":2,"limit":500},"timingprofile":["100.00% 471.764 1 -total"," 24.00% 113.242 2 Template:Statement+"," 22.33% 105.332 1 Template:Property_constraints"," 21.81% 102.909 1 Template:Navbox"," 20.60% 97.162 58 Template:Label"," 19.93% 94.040 1 Help:Property_constraints_portal/Header_constraint_type"," 19.02% 89.743 1 Template:Ombox"," 8.09% 38.174 3 Template:Statement+/Value"," 7.63% 36.012 1 Template:Warning"," 6.68% 31.522 1 Template:Mbox"]},"scribunto":{"limitreport-timeusage":{"value":"0.196","limit":"10.000"},"limitreport-memusage":{"value":6031677,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-5dc468848-2dlmj","timestamp":"20241123014654","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>