Form:Images test: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Made fields uploadable)
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 4: Line 4:
if a page with that name already exists, you will be sent to a form to edit that page.
if a page with that name already exists, you will be sent to a form to edit that page.


{{#forminput:Images test}}
{{#forminput:form=Images test}}


</noinclude><includeonly>
</noinclude><includeonly>
You can try out file-uploading here; the "Main image" field holds only one file, while the "Other images" field can hold a list of file names, separated  by commas. Please do not save this page.
{{{for template|Images test}}}
{{{for template|Images test}}}
{| class="formtable"
{| class="formtable"
! Main image:
! Main image:
| {{{field|Main image|uploadable}}}
| {{{field|Main image|uploadable|image preview}}}
|-
! Second image:
| {{{field|Second image|input type=combobox|uploadable|values from namespace=File|image preview}}}
|-
|-
! Other images:
! Other images:
| {{{field|Other images|uploadable}}}
| {{{field|Other images|input type=tokens|uploadable|values from namespace=File|image preview}}}
|}
|}
{{{end template}}}
{{{end template}}}
Line 19: Line 24:
'''Free text:'''
'''Free text:'''


{{{field|free text}}}
{{{standard input|free text}}}
 


{{{standard input|summary}}}
{{{standard input|summary}}}

Latest revision as of 04:13, May 14, 2023

This is the 'Images test' form. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.