|
|
| (2 intermediate revisions by the same user not shown) |
| Line 8: |
Line 8: |
| {{{info|page name=Property:<page name>}}} | | {{{info|page name=Property:<page name>}}} |
|
| |
|
| {{{for template|Property}}} | | {{Form:Property/composite}} |
| | |
| '''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}}}
| |
|
| |
|
| '''Free text:''' | | '''Free text:''' |
This is the form for editing Category:Property pages.