Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Form:Property/composite: Difference between revisions

From Miniscope
SemanticSchemas: Auto-generated form
 
SemanticSchemas: Auto-generated form
 
Line 3: Line 3:
<!-- Composite form slot for Property -->
<!-- Composite form slot for Property -->
</noinclude><includeonly>
</noinclude><includeonly>
<h2>Property</h2>
{{#if:{{{subobject|}}}|<h3>Property</h3>|<h2>Property</h2>}}


<nowiki>{{{for template|Property}}}</nowiki>
{{#if:{{{subobject|}}}
|{{#if:{{{required|}}}
|<nowiki>{{{for template|Property/subobject|multiple|minimum instances=1}}}</nowiki>
|<nowiki>{{{for template|Property/subobject|multiple}}}</nowiki>
}}
|<nowiki>{{{for template|Property}}}</nowiki>
}}


'''Required fields:'''
'''Required fields:'''
Line 21: Line 27:


{| class="formtable"
{| class="formtable"
|-
! Display name: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Human-readable name shown instead of the internal name.</p>
| <nowiki>{{{field|display_label|property=Display label|input type=text|size=60}}}</nowiki>
|-
|-
! Allow multiple values: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Whether this field can hold more than one value.</p>
! Allow multiple values: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Whether this field can hold more than one value.</p>
Line 28: Line 37:
| <nowiki>{{{field|allows_value|property=Allows value|input type=tokens|multiple|size=60}}}</nowiki>
| <nowiki>{{{field|allows_value|property=Allows value|input type=tokens|multiple|size=60}}}</nowiki>
|-
|-
! Autocomplete from category: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Category to use for autocomplete suggestions.</p>
! Subproperty Of: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Parent property that this property specializes.</p>
| <nowiki>{{{field|allows_value_from_category|property=Allows value from category|input type=text|size=60}}}</nowiki>
| <nowiki>{{{field|subproperty_of|property=Subproperty of|input type=combobox|values from namespace=Property|autocomplete=on}}}</nowiki>
|-
|-
! Autocomplete from namespace: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Namespace to use for autocomplete suggestions.</p>
! Allowed category: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Autocomplete suggestions will come from pages in this category.</p>
| <nowiki>{{{field|allows_value_from_category|property=Allows value from category|input type=combobox|values from namespace=Category|autocomplete=on}}}</nowiki>
|-
! Allowed namespace: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Autocomplete from pages in this namespace. Input values omit the namespace prefix; the template adds it automatically.</p>
| <nowiki>{{{field|allows_value_from_namespace|property=Allows value from namespace|input type=text|size=60}}}</nowiki>
| <nowiki>{{{field|allows_value_from_namespace|property=Allows value from namespace|input type=text|size=60}}}</nowiki>
|-
|-
! Display name: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Human-readable name shown instead of the internal name.</p>
! Render template: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Custom template for rendering this property&#039;s value in display tables (e.g. Template:Property/Email for mailto links). Set on a Property page for a default that applies wherever the property is used, or on a Property field/subobject in a category to override the default for that category.</p>
| <nowiki>{{{field|display_label|property=Display label|input type=text|size=60}}}</nowiki>
| <nowiki>{{{field|has_render_template|property=Has render template|input type=combobox|values from namespace=Template|autocomplete=on}}}</nowiki>
|-
|-
! Input type: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Override the auto-detected PageForms input type for this property.</p>
! Input type: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Override the auto-detected PageForms input type for this property.</p>
| <nowiki>{{{field|has_input_type|property=Has input type|input type=dropdown|values=checkbox,checkboxes,combobox,date,datepicker,datetime,datetimepicker,dropdown,googlemaps,leaflet,listbox,openlayers,radiobutton,rating,regexp,text,textarea,tokens,tree,year}}}</nowiki>
| <nowiki>{{{field|has_input_type|property=Has input type|input type=dropdown|values=checkbox,checkboxes,combobox,date,datepicker,datetime,datetimepicker,dropdown,googlemaps,leaflet,listbox,openlayers,radiobutton,rating,regexp,text,textarea,tokens,tree,year}}}</nowiki>
|-
|-
! Display template: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Custom template for rendering this property&#039;s value.</p>
! Inverse Property Label: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Label describing the inverse relationship. Used as the display name when a property appears in a category&#039;s backlinks section.</p>
| <nowiki>{{{field|has_template|property=Has template|input type=combobox}}}</nowiki>
| <nowiki>{{{field|inverse_property_label|property=Inverse property label|input type=text|size=60}}}</nowiki>
|-
! Subproperty Of: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Parent property that this property specializes.</p>
| <nowiki>{{{field|subproperty_of|property=Subproperty of|input type=combobox|values from namespace=Property|autocomplete=on}}}</nowiki>
|}
|}



Latest revision as of 07:24, 27 April 2026