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

Form:File submission/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 File submission -->
<!-- Composite form slot for File submission -->
</noinclude><includeonly>
</noinclude><includeonly>
<h2>File submission</h2>
{{#if:{{{subobject|}}}|<h3>File submission</h3>|<h2>File submission</h2>}}


<nowiki>{{{for template|File submission}}}</nowiki>
{{#if:{{{subobject|}}}
 
|{{#if:{{{required|}}}
'''Required fields:'''
|<nowiki>{{{for template|File submission/subobject|multiple|minimum instances=1}}}</nowiki>
 
|<nowiki>{{{for template|File submission/subobject|multiple}}}</nowiki>
{| class="formtable"
}}
|-
|<nowiki>{{{for template|File submission}}}</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>
|-
! 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>
| <nowiki>{{{field|has_description|property=Has description|input type=textarea|size=60|mandatory=true}}}</nowiki>
|-
! File Name<span style="color:red;"> *</span>:
| <nowiki>{{{field|has_file_name|property=Has file name|input type=combobox|mandatory=true}}}</nowiki>
|}
 
'''Optional fields:'''
 
{| class="formtable"
|-
! File Link:
| <nowiki>{{{field|has_file_link|property=Has file link|input type=combobox}}}</nowiki>
|-
! File Upload:
| <nowiki>{{{field|has_file_upload|property=Has file upload|input type=combobox}}}</nowiki>
|}


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


</includeonly>
</includeonly>

Latest revision as of 07:25, 27 April 2026