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

Form:Category: Difference between revisions

From Miniscope
SemanticSchemas: Auto-generated form
 
SemanticSchemas: Auto-generated form
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
{{{info|page name=Category:<page name>}}}
{{{info|page name=Category:<page name>}}}


{{{for template|Category}}}
{{Form:Category/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}}}
|}
 
'''Optional fields:'''
 
{| 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>
| {{{field|display_label|property=Display label|input type=text|size=60}}}
|-
! Display format: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">How to lay out the page (table, sidebox, or sections).</p>
| {{{field|display_format|property=Has display format|input type=dropdown|values=table,sidebox,sections}}}
|-
! Header fields: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Fields to display prominently in the page header.</p>
| {{{field|display_header_property|property=Has display header property|input type=tokens|multiple|values from namespace=Property|autocomplete=on}}}
|-
! Optional fields: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Fields that may optionally be filled in.</p>
| {{{field|optional_property|property=Has optional property|input type=tokens|multiple|values from namespace=Property|autocomplete=on}}}
|-
! Optional subobjects: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Subobject types that may optionally be present.</p>
| {{{field|optional_subobject|property=Has optional subobject|input type=tokens|multiple|values from namespace=Subobject|autocomplete=on}}}
|-
! Inherits from: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Parent categories whose properties and subobjects are inherited.</p>
| {{{field|parent_category|property=Has parent category|input type=tokens|multiple|values from namespace=Category|autocomplete=on}}}
|-
! Required fields: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Fields that must be filled in when creating pages of this type.</p>
| {{{field|required_property|property=Has required property|input type=tokens|multiple|values from namespace=Property|autocomplete=on}}}
|-
! Required subobjects: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Subobject types that must be present on pages of this category.</p>
| {{{field|required_subobject|property=Has required subobject|input type=tokens|multiple|values from namespace=Subobject|autocomplete=on}}}
|-
! Target namespace: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Where pages of this category are created (e.g., Main, User).</p>
| {{{field|target_namespace|property=Has target namespace|input type=text|size=60}}}
|}
 
{{{end template}}}
 
{{#semanticschemas_load_form_preview:}}
 
<!-- Auto-populated category membership field -->
{{{standard input|free text|hidden|rows=1|placeholder=Parent categories will be added automatically|id=ss-parent-categories}}}
 
'''Hierarchy Preview:'''
<div id="ss-form-hierarchy-preview" data-parent-field="parent_category"></div>
 
=== Display section ===
 
{{{for template|Subobject/Display section|multiple}}}
 
{| class="formtable"
|-
! Section name<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Name of a display section for grouping fields.</p>
| {{{field|display_section_name|property=Has display section name|input type=text|size=60|mandatory=true}}}
|-
! Section fields: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Fields included in this display section.</p>
| {{{field|display_section_property|property=Has display section property|input type=tokens|multiple|values from namespace=Property|autocomplete=on}}}
|}
 
{{{end template}}}


'''Free text:'''
'''Free text:'''

Latest revision as of 07:24, 27 April 2026

This is the form for editing Category:Category pages.