Form

Difference between revisions of "ReferenceBook"

From CNAC

m
m
Line 37: Line 37:
 
! Binding:  
 
! Binding:  
 
| {{{field|Binding|input type=checkboxes|mandatory}}}
 
| {{{field|Binding|input type=checkboxes|mandatory}}}
 +
|-
 +
! Links:
 +
| {{{field|Links|holds template}}}
 
|-
 
|-
 
! Other Images:  
 
! Other Images:  
Line 54: Line 57:
  
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 +
 +
<!-- Extended templates used on this page for multiples -->
  
 
{{{for template|Images|multiple|add button text=Add Image|embed in field=ReferenceBook[Other_Images]}}}
 
{{{for template|Images|multiple|add button text=Add Image|embed in field=ReferenceBook[Other_Images]}}}
 
<table>
 
<table>
 
<tr><th class="active">Gallery Image</th><td>{{{field|Image|size=55|input type=text with autocomplete|placeholder=Type in filename to search for a file already uploaded|uploadable|values from namespace=File|image preview}}}</td></tr>
 
<tr><th class="active">Gallery Image</th><td>{{{field|Image|size=55|input type=text with autocomplete|placeholder=Type in filename to search for a file already uploaded|uploadable|values from namespace=File|image preview}}}</td></tr>
<tr><th class="active">Title</th><td>{{{field|Title|rows=1}}}</td></tr>
+
<tr><th>Title</th><td>{{{field|Title}}}</td></tr>
<tr><th class="active">Description</th><td>{{{field|Description|rows=1}}}</td></tr>
+
<tr><th>Description</th><td>{{{field|Description}}</td></tr>
<tr><th class="active">Slideshow</th><td>{{{field|Slideshow|input type=checkbox|values=0,1|default=0}}}</td></tr>
+
<tr><th>Slideshow</th><td>{{{field|Slideshow|input type=checkbox|values=0,1|default=0}}}</td></tr>
 +
</table>
 +
{{{end template}}}
 +
 
 +
{{{for template|Links|multiple|add button text=Add Link|embed in field=ReferenceBook[Links]}}}
 +
<table>
 +
<tr><th>Link</th><td>{{{field|URL}}}</td></tr>
 +
<tr><th>Description</th><td>{{{field|Description|size=60}}}</td></tr>
 
</table>
 
</table>
 
{{{end template}}}
 
{{{end template}}}
 
</includeonly>
 
</includeonly>

Revision as of 14:45, 28 February 2020

This is the "ReferenceBook" form. To create 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.