Form:Category: Difference between revisions

From Dane
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:Category]] pages.
This is the form for editing [[:Category:Category]] pages.
{{#forminput:form=Category|autocomplete on category=Category}}
{{#forminput:form=Category|autocomplete on category=Category|namespace=Category}}
</noinclude><includeonly>
</noinclude><includeonly>
{{{info|page name=Category:<page name>}}}


{{{for template|Category}}}
{{{for template|Category}}}
'''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}}}
{{{end template}}}

Latest revision as of 23:07, 27 January 2026

This is the form for editing Category:Category pages.