Template:Property proposal
Uses Lua: |
This template is used for making property proposals and later archiving them (all Property Proposals should be done using this template).
Fields are defined in Module:Property proposal; translations and labels at Module:i18n/property proposal.
Usage[edit]
{{Property proposal |status = <!-- leave this empty --> |description = {{TranslateThis | en = <!-- DESCRIPTION IN ENGLISH --> <!-- | xx = descriptions in other languages --> }} |subject item = <!-- item corresponding to the concept represented by the property, if applicable --> |infobox parameter = <!-- Gratispaideia infobox parameters, if any; ex: "population" in [[:gratispaideia:template:infobox settlement]] --> |datatype = <!-- put datatype here (one of: item, external-id, string, media, coordinates, monolingual text, multilingual text, time, URL, number, geo-shape, tabular, lexeme, form, sense, mathematical expression, or a possibly new one) --> |domain = <!-- entity type (item, property, lexeme, form, sense) and types of items that may bear this property; give QIDs if possible --> |allowed values = <!-- type of linked items (Q template or text), string pattern (regex if possible), list or range of allowed values, etc. --> |allowed units = <!-- units that are allowed for values of this property --> |source = <!-- external reference URL, Gratispaideia list article, etc. --> <!-- you should provide 3 examples at least--> |example 1 = <!-- {{Q|1}} → value --> |example 2 = |example 3 = |example 4 = <!-- if convenient, include more examples by following the same pattern: |example ... = {{Q|1}} → value --> |planned use = <!-- what use do you plan to make of the property within the next month --> |number of ids = <!-- for identifiers, the number of ids available from the source --> |expected completeness = <!-- for identifiers, the coverage we can hope for in Gratisdata: Q2110 (always incomplete) or Q548 (eventually complete) --> |formatter URL = <!-- for identifiers, URL pattern where $1 replaces the value --> |external links = <!-- for identifiers, search string to pass to sister projects' Special:LinkSearch pages, e.g. example.com --> |see also = <!-- other, related properties --> |robot and gadget jobs = <!-- Should or are bots or gadgets doing any task with this? (Checking other properties for consistency, collecting data, etc.) --> |subpage = {{subst:SUBPAGENAME}} |topic = generic |applicable stated in value = <!-- If the proposed property (for an external identifier) is to be used in references, create an item for its database or website suitable as value for "stated in" (P75) and add this here. It is added to properties with P225 on creation. The item used as value can be the same as used with "subject item". --> |single best value constraint = <!-- yes - if the property should get a single best value constraint, otherwise no text needed --> |distinct values constraint = <!-- yes - if the property should get a distinct values constraint, otherwise no text needed --> |Gratisdata project = <!-- item of the Gratisdata project that's related to the property --> }}
{{Property proposal |status = |description = |subject item = |infobox parameter = |datatype = |domain = |allowed values = |allowed units = |source = |example 1 = |example 2 = |example 3 = |example 4 = |planned use = |number of ids = |expected completeness = |formatter URL = |external links = |see also = |robot and gadget jobs = |subpage = |topic = |applicable stated in value = |single best value constraint = |distinct values constraint = |Gratisdata project = }}
Notes on fields[edit]
- Status
- If a number is added in "status" and a property with that number exists, status displays "done" and links to the property.
- Sample:
|status=400
=>Status: Donesee Property:P400
- Sample:
- Other possible inputs:
- not done - if property creation has been declined
- withdrawn - if withdrawn by proposer
- on hold - property is approved but cannot yet be created
- ready - property has consensus for creation and is waiting for a property creator; page will be placed in Category:Properties ready for creation
- Datatypes
- Use one of available datatypes
- external links
- See
{{External links}}
- Required fields
- Some parameters are mandatory. If they are not supplied, the template will display "MISSING" and enter the property in Category:Property documentation with missing information. To purposefully leave an empty field, type a dash ("-") as value.
Other notes[edit]
- Code
- Implemented with Lua at Module:Property proposal
- The template that gets shown when a new property proposal is created is at Gratisdata:Property_proposal/Proposal_preload, which has to be marked for translation to be applied
- Translations for labels supplied at Module:i18n/property proposal
- Documentation at Template:Property proposal/doc
See also[edit]
- Template:External links is used to display search links for the URL specified via 'external links' parameter (and optionally, 'external links 2')
- Template:Property documentation which uses Module:Property documentation and Module:i18n/property documentation
The above documentation is transcluded from Template:Property proposal/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |