Template:Property documentation

Documentation icon Template documentation[view · edit · history · purge ]

This template is used for documenting properties after their creation (all properties must bear this template on their Talk page).

Fields are defined in Module:Property documentation; translations and labels at Module:i18n/property documentation.

Usage

{{Property documentation
|description       = <!-- put description for property here, e.g. same as in the infobox documentation (NEEDED) -->
|subject item      = <!-- item corresponding to the concept represented by the property, if applicable;
                      example: item ORCID (Q51044) for property ORCID (P496) -->
|infobox parameter = <!-- matching Wikimedia template or infobox parameters, if any;
                      example: [[:en:template:infobox settlement]]: "population" - {{Q|5683132}} -->
|domain            = <!-- types of items that may bear this property; use Q templates, as specialized as possible, or text.
                      Special values (having specialized validation schemes): Persons, Taxons -->
|allowed values    = <!-- type of linked items (Q template or text), list or range of allowed values, string pattern... -->
|allowed units     = <!-- units that are allowed for values of this property -->
|example           = <!-- Sample items that would use that property, with proposed values; example: {{Q|Q1}} => {{Q|Q2}} -->
|filter            = <!-- (sample: 7 digit number can be validated with edit filter [[Special:AbuseFilter/17]]) -->
|source            = <!-- External reference, Wikipedia list article (either infobox or source) -->
|external links    = <!-- URL to be used with [[Template:External links]]; e.g. http://orcid.org/ -->
|external links 2  = <!-- second external links URL, only works when 'external links' is also specified -->
|formatter URL     = <!-- URL for source database; using "$1" to indicate the value; e.g. http://orcid.org/$1 -->
|robot and gadget jobs = <!-- Should or are bots or gadgets doing any task with this? (Checking other properties for consistency, 
                          collecting data, etc.) -->
|lists             = <!-- Link(s) to existing or proposed maintenance reports or reference lists, applicable to this property; e.g. for "Birth date": 'Birthday today' or 'People born before their parents' -->
|subpage           = 
}}
{{Property documentation 
|description           = 
|infobox parameter     = 
|domain                = 
|allowed values        = 
|allowed units         = 
|example               = 
|filter                = 
|source                = 
|external links        = 
|external links 2      = 
|formatter URL         = 
|robot and gadget jobs = 
|track same cat        =
|track diff cat        = 
|track usage cat       = 
|track local yes-WD no = 
|track local no-WD yes = 
|track local no-WD no  = 
|track avail both cat  = 
|lists                 = 
|proposed by           = <!-- Archive number or Property proposal subpage, e. g. {{Wikidata:Property proposal/CurArchive}} or Property_metadata -->
}}

Notes on fields

Link to proposal discussion
Required fields
Usage tracking categories

To list the various types of usage tracking categories developed at Wikipedia, the following fields are available. Depending on the property or Wikipedia, one or the other may be used. For properties with numerous categories, see Property talk:P18 and Property talk:P625.

  • |track same cat= tracks values that are identical in the local wiki and Wikidata
  • |track diff cat= tracks values for the property that are different between the local wiki (Wikipedia) and Wikidata
  • |track usage cat= tracks usage of a property in a wiki
  • |track local yes-WD no= tracks values that are available in a given wiki, but not in the corresponding property at Wikidata
  • |track local no-WD yes= tracks infobox fields that are empty locally, but with values at Wikidata
  • |track local no-WD no= tracks fields with no value locally and no property at Wikidata
  • |track avail both cat= tracks properties where data is available locally and at Wikidata (may be the same or not)
Automatically displayed fields

The following fields will be automatically displayed if the corresponding property statements are defined.

Other notes

Categorization
Code

See also