Form:Property: Difference between revisions
Jump to navigation
Jump to search
SemanticSchemas: Auto-generated form |
SemanticSchemas: Auto-generated form |
||
| Line 3: | Line 3: | ||
<!-- This form is automatically regenerated --> | <!-- This form is automatically regenerated --> | ||
This is the form for editing [[:Category:Property]] pages. | This is the form for editing [[:Category:Property]] pages. | ||
{{#forminput:form=Property|autocomplete on category=Property}} | {{#forminput:form=Property|autocomplete on category=Property|namespace=Property}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{info|page name=Property:<page name>}}} | |||
{{{for template|Property}}} | {{{for template|Property}}} | ||
'''Required fields:''' | |||
{| class="formtable" | |||
|- | |||
! Description<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Explains the purpose of this category, property, or subobject.</p> | |||
| {{{field|description|property=Has description|input type=text|size=60|mandatory=true}}} | |||
|- | |||
! Data type<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">The type of data this property stores (e.g., Text, Page, Number, Date).</p> | |||
| {{{field|type|property=Has type|input type=dropdown|values=Text,Page,Date,Number,Email,URL,Boolean,Code,Geographic coordinate,Quantity,Temperature,Telephone number,Annotation URI,External identifier,Keyword,Monolingual text,Record,Reference|mandatory=true}}} | |||
|} | |||
'''Optional fields:''' | |||
{| class="formtable" | |||
|- | |||
! Allow multiple values: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Whether this field can hold more than one value.</p> | |||
| {{{field|allows_multiple_values|property=Allows multiple values|input type=checkbox}}} | |||
|- | |||
! Allowed values: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Specific values that this property can have (creates a dropdown).</p> | |||
| {{{field|allows_value|property=Allows value|input type=tokens|multiple|size=60}}} | |||
|- | |||
! Autocomplete from category: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Category to use for autocomplete suggestions.</p> | |||
| {{{field|allows_value_from_category|property=Allows value from category|input type=text|size=60}}} | |||
|- | |||
! Autocomplete from namespace: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Namespace to use for autocomplete suggestions.</p> | |||
| {{{field|allows_value_from_namespace|property=Allows value from namespace|input type=text|size=60}}} | |||
|- | |||
! Display name: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Human-readable name shown instead of the internal name.</p> | |||
| {{{field|display_label|property=Display label|input type=text|size=60}}} | |||
|- | |||
! Restrict to category: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">For Page-type properties, only allow pages from this category.</p> | |||
| {{{field|domain_and_range|property=Has domain and range|input type=combobox|values from namespace=Category|autocomplete=on}}} | |||
|- | |||
! Display template: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Custom template for rendering this property's value.</p> | |||
| {{{field|template|property=Has template|input type=combobox}}} | |||
|- | |||
! Subproperty Of: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Parent property that this property specializes.</p> | |||
| {{{field|subproperty_of|property=Subproperty of|input type=combobox|values from namespace=Property|autocomplete=on}}} | |||
|} | |||
{{{end template}}} | {{{end template}}} | ||
Latest revision as of 23:07, 27 January 2026
This is the form for editing Category:Property pages.