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

Form:Test2/composite: Difference between revisions

From Miniscope
SemanticSchemas: Auto-generated form
 
SemanticSchemas: Auto-generated form
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<!-- Composite form slot for Test2 -->
<!-- Composite form slot for Test2 -->
</noinclude><includeonly>
</noinclude><includeonly>
<h2>Test2</h2>
{{#if:{{{subobject|}}}|<h3>Test2</h3>|<h2>Test2</h2>}}


<nowiki>{{{for template|Test2}}}</nowiki>
{{#if:{{{subobject|}}}
 
|{{#if:{{{required|}}}
'''Required fields:'''
|<nowiki>{{{for template|Test2/subobject|multiple|minimum instances=1}}}</nowiki>
 
|<nowiki>{{{for template|Test2/subobject|multiple}}}</nowiki>
{| class="formtable"
}}
|-
|<nowiki>{{{for template|Test2}}}</nowiki>
! Created By<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">The person who created the thing.</p>
}}
| <nowiki>{{{field|created_by|property=Created by|input type=combobox|values from category=Person|autocomplete=on|mandatory=true}}}</nowiki>
|-
! Display template<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Custom template for rendering this property&#039;s value.</p>
| <nowiki>{{{field|has_template|property=Has template|input type=combobox|mandatory=true}}}</nowiki>
|}
 
'''Optional fields:'''
 
{| class="formtable"
|-
! Section fields: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Fields included in this display section.</p>
| <nowiki>{{{field|has_display_section_property|property=Has display section property|input type=tokens|multiple|values from namespace=Property|autocomplete=on}}}</nowiki>
|-
! 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>
| <nowiki>{{{field|has_required_property|property=Has required property|input type=tokens|multiple|values from namespace=Property|autocomplete=on}}}</nowiki>
|}


<nowiki>{{{end template}}}</nowiki>
<nowiki>{{{end template}}}</nowiki>


</includeonly>
</includeonly>

Latest revision as of 07:25, 27 April 2026